0s autopkgtest [15:56:14]: starting date and time: 2026-02-08 15:56:14+0000 0s autopkgtest [15:56:14]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [15:56:14]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.tgox37x2/out --timeout-copy=6000 --needs-internet=try --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:dpkg --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=dpkg/1.23.5ubuntu1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-arm64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-arm64-19.secgroup --name adt-resolute-arm64-glib2.0-20260208-155614-juju-7f2275-prod-proposed-migration-environment-2-39506472-2474-4f81-9d6f-a5c90893f86d --image adt/ubuntu-resolute-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-autopkgtest-workers-arm64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-arm64-glib2.0-20260208-155614-juju-7f2275-prod-proposed-migration-environment-2-39506472-2474-4f81-9d6f-a5c90893f86d from image adt/ubuntu-resolute-arm64-server-20260208.img (UUID 6a90f08b-9ae6-4f9a-8b8c-98ef3fa8fe0b)... 57s autopkgtest [15:57:11]: testbed dpkg architecture: arm64 57s autopkgtest [15:57:11]: testbed apt version: 3.1.15 58s autopkgtest [15:57:12]: @@@@@@@@@@@@@@@@@@@@ test bed setup 58s autopkgtest [15:57:12]: testbed release detected to be: None 59s autopkgtest [15:57:13]: updating testbed package index (apt update) 60s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 60s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 60s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 60s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 60s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [164 kB] 60s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.9 kB] 60s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1508 kB] 60s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [252 kB] 60s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [6608 B] 60s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [120 B] 60s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1445 kB] 60s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [30.6 kB] 60s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [21.5 kB] 61s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [672 B] 62s Fetched 3582 kB in 2s (2080 kB/s) 63s Reading package lists... 63s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 63s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 63s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 63s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 64s Reading package lists... 64s Reading package lists... 65s Building dependency tree... 65s Reading state information... 65s Calculating upgrade... 65s The following packages will be upgraded: 65s dpkg dpkg-dev ethtool libbsd0 libdpkg-perl libgdbm-compat4t64 libgdbm6t64 65s libidn2-0 libnetfilter-conntrack3 libusb-1.0-0 libwrap0 shared-mime-info 65s 12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 65s Need to get 3693 kB of archives. 65s After this operation, 2532 kB disk space will be freed. 65s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 dpkg arm64 1.23.5ubuntu1 [1266 kB] 65s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 libbsd0 arm64 0.12.2-2build2 [41.9 kB] 65s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 ethtool arm64 1:6.15-3build1 [300 kB] 65s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 libidn2-0 arm64 2.3.8-4build1 [68.3 kB] 65s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 shared-mime-info arm64 2.4-5build3 [471 kB] 65s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libgdbm6t64 arm64 1.26-1build1 [36.1 kB] 65s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libnetfilter-conntrack3 arm64 1.1.1-1 [47.3 kB] 65s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 libusb-1.0-0 arm64 2:1.0.29-2build1 [55.2 kB] 65s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 dpkg-dev all 1.23.5ubuntu1 [1062 kB] 65s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libdpkg-perl all 1.23.5ubuntu1 [289 kB] 65s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 libgdbm-compat4t64 arm64 1.26-1build1 [6650 B] 65s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libwrap0 arm64 7.6.q-36build2 [49.1 kB] 66s dpkg-preconfigure: unable to re-open stdin: No such file or directory 66s Fetched 3693 kB in 0s (13.5 MB/s) 66s (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 ... 136667 files and directories currently installed.) 66s Preparing to unpack .../dpkg_1.23.5ubuntu1_arm64.deb ... 66s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 66s Setting up dpkg (1.23.5ubuntu1) ... 67s (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 ... 136668 files and directories currently installed.) 67s Preparing to unpack .../00-libbsd0_0.12.2-2build2_arm64.deb ... 67s Unpacking libbsd0:arm64 (0.12.2-2build2) over (0.12.2-2build1) ... 67s Preparing to unpack .../01-ethtool_1%3a6.15-3build1_arm64.deb ... 67s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 67s Preparing to unpack .../02-libidn2-0_2.3.8-4build1_arm64.deb ... 67s Unpacking libidn2-0:arm64 (2.3.8-4build1) over (2.3.8-4) ... 67s Preparing to unpack .../03-shared-mime-info_2.4-5build3_arm64.deb ... 67s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 67s Preparing to unpack .../04-libgdbm6t64_1.26-1build1_arm64.deb ... 67s Unpacking libgdbm6t64:arm64 (1.26-1build1) over (1.26-1) ... 67s Preparing to unpack .../05-libnetfilter-conntrack3_1.1.1-1_arm64.deb ... 67s Unpacking libnetfilter-conntrack3:arm64 (1.1.1-1) over (1.1.0-1build1) ... 67s Preparing to unpack .../06-libusb-1.0-0_2%3a1.0.29-2build1_arm64.deb ... 67s Unpacking libusb-1.0-0:arm64 (2:1.0.29-2build1) over (2:1.0.29-2) ... 67s Preparing to unpack .../07-dpkg-dev_1.23.5ubuntu1_all.deb ... 67s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 67s Preparing to unpack .../08-libdpkg-perl_1.23.5ubuntu1_all.deb ... 67s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 68s Preparing to unpack .../09-libgdbm-compat4t64_1.26-1build1_arm64.deb ... 68s Unpacking libgdbm-compat4t64:arm64 (1.26-1build1) over (1.26-1) ... 68s Preparing to unpack .../10-libwrap0_7.6.q-36build2_arm64.deb ... 68s Unpacking libwrap0:arm64 (7.6.q-36build2) over (7.6.q-36build1) ... 68s Setting up libgdbm6t64:arm64 (1.26-1build1) ... 68s Setting up libgdbm-compat4t64:arm64 (1.26-1build1) ... 68s Setting up libidn2-0:arm64 (2.3.8-4build1) ... 68s Setting up libwrap0:arm64 (7.6.q-36build2) ... 68s Setting up shared-mime-info (2.4-5build3) ... 70s Setting up libdpkg-perl (1.23.5ubuntu1) ... 70s Setting up libnetfilter-conntrack3:arm64 (1.1.1-1) ... 70s Setting up libusb-1.0-0:arm64 (2:1.0.29-2build1) ... 70s Setting up libbsd0:arm64 (0.12.2-2build2) ... 70s Setting up ethtool (1:6.15-3build1) ... 70s Setting up dpkg-dev (1.23.5ubuntu1) ... 70s Processing triggers for man-db (2.13.1-1build1) ... 71s Processing triggers for libc-bin (2.42-2ubuntu4) ... 71s autopkgtest [15:57:25]: upgrading testbed (apt dist-upgrade and autopurge) 72s Reading package lists... 72s Building dependency tree... 72s Reading state information... 72s Calculating upgrade... 72s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 73s Reading package lists... 73s Building dependency tree... 73s Reading state information... 73s Solving dependencies... 73s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 74s autopkgtest [15:57:28]: rebooting testbed after setup commands that affected boot 112s autopkgtest [15:58:06]: testbed running kernel: Linux 6.19.0-3-generic #3-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 23 19:46:27 UTC 2026 114s autopkgtest [15:58:08]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 131s Get:1 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.87.2-2 (dsc) [4949 B] 131s Get:2 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.87.2-2 (tar) [667 kB] 131s Get:3 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.87.2-2 (tar) [5747 kB] 131s Get:4 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.87.2-2 (diff) [148 kB] 131s gpgv: Signature made Thu Jan 29 15:09:50 2026 UTC 131s gpgv: using RSA key 374D8CE4DB96E9CBD4C0972A606D084E4683C079 131s gpgv: Can't check signature: No public key 131s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.87.2-2.dsc: no acceptable signature found 132s autopkgtest [15:58:26]: testing package glib2.0 version 2.87.2-2 137s autopkgtest [15:58:31]: build not needed 157s autopkgtest [15:58:51]: test build: preparing testbed 157s Reading package lists... 158s Building dependency tree... 158s Reading state information... 158s Solving dependencies... 158s The following NEW packages will be installed: 158s build-essential cpp cpp-15 cpp-15-aarch64-linux-gnu cpp-aarch64-linux-gnu 158s g++ g++-15 g++-15-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-15 158s gcc-15-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libblkid-dev 158s libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-15-dev 158s libgio-2.0-dev libgomp1 libhwasan0 libisl23 libitm1 liblsan0 libmount-dev 158s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 158s libselinux-dev libsepol-dev libstdc++-15-dev libsysprof-capture-4-dev 158s libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin rpcsvc-proto uuid-dev 158s zlib1g-dev 158s 0 upgraded, 46 newly installed, 0 to remove and 0 not upgraded. 158s Need to get 73.4 MB of archives. 158s After this operation, 266 MB of additional disk space will be used. 158s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libc-dev-bin arm64 2.42-2ubuntu4 [22.5 kB] 158s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 linux-libc-dev arm64 6.19.0-3.3 [1819 kB] 158s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libcrypt-dev arm64 1:4.5.1-1 [123 kB] 158s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 rpcsvc-proto arm64 1.4.3-1build1 [65.6 kB] 158s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 libc6-dev arm64 2.42-2ubuntu4 [1765 kB] 159s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libisl23 arm64 0.27-1build1 [676 kB] 159s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libmpc3 arm64 1.3.1-2 [55.6 kB] 159s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15-aarch64-linux-gnu arm64 15.2.0-12ubuntu1 [11.7 MB] 161s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15 arm64 15.2.0-12ubuntu1 [1030 B] 161s Get:10 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [5736 B] 161s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp arm64 4:15.2.0-4ubuntu1 [22.4 kB] 161s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libcc1-0 arm64 15.2.0-12ubuntu1 [49.0 kB] 161s Get:13 http://ftpmaster.internal/ubuntu resolute/main arm64 libgomp1 arm64 15.2.0-12ubuntu1 [147 kB] 161s Get:14 http://ftpmaster.internal/ubuntu resolute/main arm64 libitm1 arm64 15.2.0-12ubuntu1 [27.8 kB] 161s Get:15 http://ftpmaster.internal/ubuntu resolute/main arm64 libasan8 arm64 15.2.0-12ubuntu1 [2920 kB] 161s Get:16 http://ftpmaster.internal/ubuntu resolute/main arm64 liblsan0 arm64 15.2.0-12ubuntu1 [1316 kB] 161s Get:17 http://ftpmaster.internal/ubuntu resolute/main arm64 libtsan2 arm64 15.2.0-12ubuntu1 [2688 kB] 162s Get:18 http://ftpmaster.internal/ubuntu resolute/main arm64 libubsan1 arm64 15.2.0-12ubuntu1 [1175 kB] 162s Get:19 http://ftpmaster.internal/ubuntu resolute/main arm64 libhwasan0 arm64 15.2.0-12ubuntu1 [1638 kB] 162s Get:20 http://ftpmaster.internal/ubuntu resolute/main arm64 libgcc-15-dev arm64 15.2.0-12ubuntu1 [2600 kB] 163s Get:21 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15-aarch64-linux-gnu arm64 15.2.0-12ubuntu1 [23.1 MB] 165s Get:22 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15 arm64 15.2.0-12ubuntu1 [519 kB] 165s Get:23 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [1206 B] 165s Get:24 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc arm64 4:15.2.0-4ubuntu1 [5016 B] 165s Get:25 http://ftpmaster.internal/ubuntu resolute/main arm64 libstdc++-15-dev arm64 15.2.0-12ubuntu1 [2549 kB] 166s Get:26 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15-aarch64-linux-gnu arm64 15.2.0-12ubuntu1 [13.2 MB] 168s Get:27 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15 arm64 15.2.0-12ubuntu1 [25.3 kB] 168s Get:28 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [956 B] 168s Get:29 http://ftpmaster.internal/ubuntu resolute/main arm64 g++ arm64 4:15.2.0-4ubuntu1 [1080 B] 168s Get:30 http://ftpmaster.internal/ubuntu resolute/main arm64 build-essential arm64 12.12ubuntu2 [5254 B] 168s Get:31 http://ftpmaster.internal/ubuntu resolute/main arm64 libffi-dev arm64 3.5.2-3 [63.0 kB] 168s Get:32 http://ftpmaster.internal/ubuntu resolute/main arm64 uuid-dev arm64 2.41.2-4ubuntu2 [57.4 kB] 168s Get:33 http://ftpmaster.internal/ubuntu resolute/main arm64 libblkid-dev arm64 2.41.2-4ubuntu2 [246 kB] 168s Get:34 http://ftpmaster.internal/ubuntu resolute/main arm64 libsepol-dev arm64 3.9-2 [413 kB] 168s Get:35 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-16-0 arm64 10.46-1 [225 kB] 168s Get:36 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-32-0 arm64 10.46-1 [213 kB] 168s Get:37 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-posix3 arm64 10.46-1 [7300 B] 168s Get:38 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-dev arm64 10.46-1 [772 kB] 168s Get:39 http://ftpmaster.internal/ubuntu resolute/main arm64 libselinux-dev arm64 3.9-4 [184 kB] 168s Get:40 http://ftpmaster.internal/ubuntu resolute/main arm64 libmount-dev arm64 2.41.2-4ubuntu2 [37.6 kB] 168s Get:41 http://ftpmaster.internal/ubuntu resolute/main arm64 libsysprof-capture-4-dev arm64 49.0-5 [54.4 kB] 168s Get:42 http://ftpmaster.internal/ubuntu resolute/main arm64 libpkgconf3 arm64 1.8.1-4build1 [33.7 kB] 168s Get:43 http://ftpmaster.internal/ubuntu resolute/main arm64 pkgconf-bin arm64 1.8.1-4build1 [21.7 kB] 168s Get:44 http://ftpmaster.internal/ubuntu resolute/main arm64 pkgconf arm64 1.8.1-4build1 [16.8 kB] 168s Get:45 http://ftpmaster.internal/ubuntu resolute/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu2 [899 kB] 169s Get:46 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev arm64 2.87.2-2 [1912 kB] 170s Fetched 73.4 MB in 12s (6126 kB/s) 170s Selecting previously unselected package libc-dev-bin. 171s (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 ... 136578 files and directories currently installed.) 171s Preparing to unpack .../00-libc-dev-bin_2.42-2ubuntu4_arm64.deb ... 171s Unpacking libc-dev-bin (2.42-2ubuntu4) ... 171s Selecting previously unselected package linux-libc-dev:arm64. 171s Preparing to unpack .../01-linux-libc-dev_6.19.0-3.3_arm64.deb ... 171s Unpacking linux-libc-dev:arm64 (6.19.0-3.3) ... 171s Selecting previously unselected package libcrypt-dev:arm64. 171s Preparing to unpack .../02-libcrypt-dev_1%3a4.5.1-1_arm64.deb ... 171s Unpacking libcrypt-dev:arm64 (1:4.5.1-1) ... 171s Selecting previously unselected package rpcsvc-proto. 171s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1build1_arm64.deb ... 171s Unpacking rpcsvc-proto (1.4.3-1build1) ... 171s Selecting previously unselected package libc6-dev:arm64. 171s Preparing to unpack .../04-libc6-dev_2.42-2ubuntu4_arm64.deb ... 171s Unpacking libc6-dev:arm64 (2.42-2ubuntu4) ... 171s Selecting previously unselected package libisl23:arm64. 171s Preparing to unpack .../05-libisl23_0.27-1build1_arm64.deb ... 171s Unpacking libisl23:arm64 (0.27-1build1) ... 171s Selecting previously unselected package libmpc3:arm64. 171s Preparing to unpack .../06-libmpc3_1.3.1-2_arm64.deb ... 171s Unpacking libmpc3:arm64 (1.3.1-2) ... 171s Selecting previously unselected package cpp-15-aarch64-linux-gnu. 171s Preparing to unpack .../07-cpp-15-aarch64-linux-gnu_15.2.0-12ubuntu1_arm64.deb ... 171s Unpacking cpp-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 171s Selecting previously unselected package cpp-15. 171s Preparing to unpack .../08-cpp-15_15.2.0-12ubuntu1_arm64.deb ... 171s Unpacking cpp-15 (15.2.0-12ubuntu1) ... 171s Selecting previously unselected package cpp-aarch64-linux-gnu. 171s Preparing to unpack .../09-cpp-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 171s Unpacking cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 171s Selecting previously unselected package cpp. 171s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_arm64.deb ... 171s Unpacking cpp (4:15.2.0-4ubuntu1) ... 171s Selecting previously unselected package libcc1-0:arm64. 171s Preparing to unpack .../11-libcc1-0_15.2.0-12ubuntu1_arm64.deb ... 171s Unpacking libcc1-0:arm64 (15.2.0-12ubuntu1) ... 172s Selecting previously unselected package libgomp1:arm64. 172s Preparing to unpack .../12-libgomp1_15.2.0-12ubuntu1_arm64.deb ... 172s Unpacking libgomp1:arm64 (15.2.0-12ubuntu1) ... 172s Selecting previously unselected package libitm1:arm64. 172s Preparing to unpack .../13-libitm1_15.2.0-12ubuntu1_arm64.deb ... 172s Unpacking libitm1:arm64 (15.2.0-12ubuntu1) ... 172s Selecting previously unselected package libasan8:arm64. 172s Preparing to unpack .../14-libasan8_15.2.0-12ubuntu1_arm64.deb ... 172s Unpacking libasan8:arm64 (15.2.0-12ubuntu1) ... 172s Selecting previously unselected package liblsan0:arm64. 172s Preparing to unpack .../15-liblsan0_15.2.0-12ubuntu1_arm64.deb ... 172s Unpacking liblsan0:arm64 (15.2.0-12ubuntu1) ... 172s Selecting previously unselected package libtsan2:arm64. 172s Preparing to unpack .../16-libtsan2_15.2.0-12ubuntu1_arm64.deb ... 172s Unpacking libtsan2:arm64 (15.2.0-12ubuntu1) ... 172s Selecting previously unselected package libubsan1:arm64. 172s Preparing to unpack .../17-libubsan1_15.2.0-12ubuntu1_arm64.deb ... 172s Unpacking libubsan1:arm64 (15.2.0-12ubuntu1) ... 172s Selecting previously unselected package libhwasan0:arm64. 172s Preparing to unpack .../18-libhwasan0_15.2.0-12ubuntu1_arm64.deb ... 172s Unpacking libhwasan0:arm64 (15.2.0-12ubuntu1) ... 172s Selecting previously unselected package libgcc-15-dev:arm64. 172s Preparing to unpack .../19-libgcc-15-dev_15.2.0-12ubuntu1_arm64.deb ... 172s Unpacking libgcc-15-dev:arm64 (15.2.0-12ubuntu1) ... 172s Selecting previously unselected package gcc-15-aarch64-linux-gnu. 172s Preparing to unpack .../20-gcc-15-aarch64-linux-gnu_15.2.0-12ubuntu1_arm64.deb ... 172s Unpacking gcc-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 172s Selecting previously unselected package gcc-15. 172s Preparing to unpack .../21-gcc-15_15.2.0-12ubuntu1_arm64.deb ... 172s Unpacking gcc-15 (15.2.0-12ubuntu1) ... 172s Selecting previously unselected package gcc-aarch64-linux-gnu. 173s Preparing to unpack .../22-gcc-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 173s Unpacking gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 173s Selecting previously unselected package gcc. 173s Preparing to unpack .../23-gcc_4%3a15.2.0-4ubuntu1_arm64.deb ... 173s Unpacking gcc (4:15.2.0-4ubuntu1) ... 173s Selecting previously unselected package libstdc++-15-dev:arm64. 173s Preparing to unpack .../24-libstdc++-15-dev_15.2.0-12ubuntu1_arm64.deb ... 173s Unpacking libstdc++-15-dev:arm64 (15.2.0-12ubuntu1) ... 173s Selecting previously unselected package g++-15-aarch64-linux-gnu. 173s Preparing to unpack .../25-g++-15-aarch64-linux-gnu_15.2.0-12ubuntu1_arm64.deb ... 173s Unpacking g++-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 173s Selecting previously unselected package g++-15. 173s Preparing to unpack .../26-g++-15_15.2.0-12ubuntu1_arm64.deb ... 173s Unpacking g++-15 (15.2.0-12ubuntu1) ... 173s Selecting previously unselected package g++-aarch64-linux-gnu. 173s Preparing to unpack .../27-g++-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 173s Unpacking g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 173s Selecting previously unselected package g++. 173s Preparing to unpack .../28-g++_4%3a15.2.0-4ubuntu1_arm64.deb ... 173s Unpacking g++ (4:15.2.0-4ubuntu1) ... 173s Selecting previously unselected package build-essential. 173s Preparing to unpack .../29-build-essential_12.12ubuntu2_arm64.deb ... 173s Unpacking build-essential (12.12ubuntu2) ... 173s Selecting previously unselected package libffi-dev:arm64. 173s Preparing to unpack .../30-libffi-dev_3.5.2-3_arm64.deb ... 173s Unpacking libffi-dev:arm64 (3.5.2-3) ... 173s Selecting previously unselected package uuid-dev:arm64. 173s Preparing to unpack .../31-uuid-dev_2.41.2-4ubuntu2_arm64.deb ... 173s Unpacking uuid-dev:arm64 (2.41.2-4ubuntu2) ... 173s Selecting previously unselected package libblkid-dev:arm64. 173s Preparing to unpack .../32-libblkid-dev_2.41.2-4ubuntu2_arm64.deb ... 173s Unpacking libblkid-dev:arm64 (2.41.2-4ubuntu2) ... 173s Selecting previously unselected package libsepol-dev:arm64. 173s Preparing to unpack .../33-libsepol-dev_3.9-2_arm64.deb ... 173s Unpacking libsepol-dev:arm64 (3.9-2) ... 173s Selecting previously unselected package libpcre2-16-0:arm64. 173s Preparing to unpack .../34-libpcre2-16-0_10.46-1_arm64.deb ... 173s Unpacking libpcre2-16-0:arm64 (10.46-1) ... 173s Selecting previously unselected package libpcre2-32-0:arm64. 173s Preparing to unpack .../35-libpcre2-32-0_10.46-1_arm64.deb ... 173s Unpacking libpcre2-32-0:arm64 (10.46-1) ... 173s Selecting previously unselected package libpcre2-posix3:arm64. 173s Preparing to unpack .../36-libpcre2-posix3_10.46-1_arm64.deb ... 173s Unpacking libpcre2-posix3:arm64 (10.46-1) ... 173s Selecting previously unselected package libpcre2-dev:arm64. 173s Preparing to unpack .../37-libpcre2-dev_10.46-1_arm64.deb ... 173s Unpacking libpcre2-dev:arm64 (10.46-1) ... 173s Selecting previously unselected package libselinux-dev:arm64. 173s Preparing to unpack .../38-libselinux-dev_3.9-4_arm64.deb ... 173s Unpacking libselinux-dev:arm64 (3.9-4) ... 173s Selecting previously unselected package libmount-dev:arm64. 173s Preparing to unpack .../39-libmount-dev_2.41.2-4ubuntu2_arm64.deb ... 173s Unpacking libmount-dev:arm64 (2.41.2-4ubuntu2) ... 174s Selecting previously unselected package libsysprof-capture-4-dev:arm64. 174s Preparing to unpack .../40-libsysprof-capture-4-dev_49.0-5_arm64.deb ... 174s Unpacking libsysprof-capture-4-dev:arm64 (49.0-5) ... 174s Selecting previously unselected package libpkgconf3:arm64. 174s Preparing to unpack .../41-libpkgconf3_1.8.1-4build1_arm64.deb ... 174s Unpacking libpkgconf3:arm64 (1.8.1-4build1) ... 174s Selecting previously unselected package pkgconf-bin. 174s Preparing to unpack .../42-pkgconf-bin_1.8.1-4build1_arm64.deb ... 174s Unpacking pkgconf-bin (1.8.1-4build1) ... 174s Selecting previously unselected package pkgconf:arm64. 174s Preparing to unpack .../43-pkgconf_1.8.1-4build1_arm64.deb ... 174s Unpacking pkgconf:arm64 (1.8.1-4build1) ... 174s Selecting previously unselected package zlib1g-dev:arm64. 174s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_arm64.deb ... 174s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 174s Selecting previously unselected package libgio-2.0-dev:arm64. 174s Preparing to unpack .../45-libgio-2.0-dev_2.87.2-2_arm64.deb ... 174s Unpacking libgio-2.0-dev:arm64 (2.87.2-2) ... 174s Setting up linux-libc-dev:arm64 (6.19.0-3.3) ... 174s Setting up libgomp1:arm64 (15.2.0-12ubuntu1) ... 174s Setting up libffi-dev:arm64 (3.5.2-3) ... 174s Setting up libpcre2-16-0:arm64 (10.46-1) ... 174s Setting up libsysprof-capture-4-dev:arm64 (49.0-5) ... 174s Setting up libpcre2-32-0:arm64 (10.46-1) ... 174s Setting up libpkgconf3:arm64 (1.8.1-4build1) ... 174s Setting up rpcsvc-proto (1.4.3-1build1) ... 174s Setting up libmpc3:arm64 (1.3.1-2) ... 174s Setting up libsepol-dev:arm64 (3.9-2) ... 174s Setting up pkgconf-bin (1.8.1-4build1) ... 174s Setting up libubsan1:arm64 (15.2.0-12ubuntu1) ... 174s Setting up libpcre2-posix3:arm64 (10.46-1) ... 174s Setting up libhwasan0:arm64 (15.2.0-12ubuntu1) ... 174s Setting up libcrypt-dev:arm64 (1:4.5.1-1) ... 174s Setting up libasan8:arm64 (15.2.0-12ubuntu1) ... 174s Setting up libtsan2:arm64 (15.2.0-12ubuntu1) ... 174s Setting up libisl23:arm64 (0.27-1build1) ... 174s Setting up libc-dev-bin (2.42-2ubuntu4) ... 174s Setting up libcc1-0:arm64 (15.2.0-12ubuntu1) ... 174s Setting up liblsan0:arm64 (15.2.0-12ubuntu1) ... 174s Setting up libitm1:arm64 (15.2.0-12ubuntu1) ... 174s Setting up cpp-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 174s Setting up libgcc-15-dev:arm64 (15.2.0-12ubuntu1) ... 174s Setting up pkgconf:arm64 (1.8.1-4build1) ... 174s Setting up cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 174s Setting up cpp-15 (15.2.0-12ubuntu1) ... 174s Setting up cpp (4:15.2.0-4ubuntu1) ... 174s Setting up libc6-dev:arm64 (2.42-2ubuntu4) ... 174s Setting up gcc-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 174s Setting up libpcre2-dev:arm64 (10.46-1) ... 174s Setting up gcc-15 (15.2.0-12ubuntu1) ... 174s Setting up libstdc++-15-dev:arm64 (15.2.0-12ubuntu1) ... 174s Setting up g++-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 174s Setting up uuid-dev:arm64 (2.41.2-4ubuntu2) ... 174s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 174s Setting up libselinux-dev:arm64 (3.9-4) ... 174s Setting up g++-15 (15.2.0-12ubuntu1) ... 174s Setting up gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 174s Setting up libblkid-dev:arm64 (2.41.2-4ubuntu2) ... 174s Setting up gcc (4:15.2.0-4ubuntu1) ... 174s Setting up g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 174s Setting up libmount-dev:arm64 (2.41.2-4ubuntu2) ... 174s Setting up libgio-2.0-dev:arm64 (2.87.2-2) ... 174s Setting up g++ (4:15.2.0-4ubuntu1) ... 174s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 174s Setting up build-essential (12.12ubuntu2) ... 174s Processing triggers for libc-bin (2.42-2ubuntu4) ... 174s Processing triggers for man-db (2.13.1-1build1) ... 175s Processing triggers for libglib2.0-0t64:arm64 (2.87.2-2) ... 175s No schema files found: doing nothing. 175s Processing triggers for install-info (7.2-5) ... 176s autopkgtest [15:59:10]: test build: [----------------------- 177s + mode=dynamic 177s + getopt -o --long static -n debian/tests/build -- 177s + getopt_temp= -- 177s + eval set -- -- 177s + set -- -- 177s + true 177s + shift 177s + break 177s + mktemp -d 177s + WORKDIR=/tmp/tmp.reoXbSgNxW 177s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 177s + cd /tmp/tmp.reoXbSgNxW 177s + [ -n ] 177s + CROSS_COMPILE= 177s + cat 177s + cat 177s + cat 177s + cat 177s + cat 177s + cat 177s + cflags= 177s + pcflags= 177s + packages=glib-2.0 177s + pkg-config --cflags --libs glib-2.0 177s + 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 177s + echo build (glib, dynamic): OK 177s + [ -x glib-dynamic ] 177s + foo=bar ./glib-dynamic 177s + echo run (glib, dynamic): OK 177s + cflags= 177s + pcflags= 177s + packages=gobject-2.0 177s + pkg-config --cflags --libs gobject-2.0 177s + 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 177s build (glib, dynamic): OK 177s run (glib, dynamic): OK 177s + echo build (gobject, dynamic): OK 177s + [ -x gobject-dynamic ] 177s + foo=bar ./gobject-dynamic 177s build (gobject, dynamic): OK 177s + echo run (gobject, dynamic): OK 177s + cflags= 177s + pcflags= 177s + packages=gio-2.0 177s + run (gobject, dynamic): OK 177s pkg-config --cflags --libs gio-2.0 177s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 177s build (gio, dynamic): OK 177s run (gio, dynamic): OK 177s + echo build (gio, dynamic): OK 177s + [ -x gio-dynamic ] 177s + foo=bar ./gio-dynamic 177s + echo run (gio, dynamic): OK 177s + cflags= 177s + pcflags= 177s + packages=gio-unix-2.0 177s + pkg-config --cflags --libs gio-unix-2.0 177s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 177s + echo build (gio-unix, dynamic): OK 177s + [ -x gio-unix-dynamic ] 177s + foo=bar ./gio-unix-dynamic 177s build (gio-unix, dynamic): OK 177s + echo run (gio-unix, dynamic): OK 177s + cflags= 177s + pcflags= 177s + packages=gmodule-2.0 177s + pkg-config --cflags --libs gmodule-2.0 177s run (gio-unix, dynamic): OK 177s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 177s + echo build (gmodule, dynamic): OK 177s + [ -x gmodule-dynamic ] 177s + foo=bar ./gmodule-dynamic 177s build (gmodule, dynamic): OK 177s + echo run (gmodule, dynamic): OK 177s + cflags= 177s + pcflags= 177s + packages=gthread-2.0 177s + pkg-config --cflags --libs gthread-2.0 177s run (gmodule, dynamic): OK 177s + 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 177s + echo build (gthread, dynamic): OK 177s + [ -x gthread-dynamic ] 177s + foo=bar ./gthread-dynamic 177s build (gthread, dynamic): OK 177s + echo run (gthread, dynamic): OK 177s + rm -rf /tmp/tmp.reoXbSgNxW 177s run (gthread, dynamic): OK 178s autopkgtest [15:59:12]: test build: -----------------------] 178s autopkgtest [15:59:12]: test build: - - - - - - - - - - results - - - - - - - - - - 178s build PASS (superficial) 179s autopkgtest [15:59:13]: test build-static: preparing testbed 179s Reading package lists... 179s Building dependency tree... 179s Reading state information... 179s Solving dependencies... 180s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 181s autopkgtest [15:59:15]: test build-static: [----------------------- 181s + mode=dynamic 181s + getopt -o --long static -n debian/tests/build -- --static 181s + getopt_temp= --static -- 181s + eval set -- --static -- 181s + set -- --static -- 181s + true 181s + mode=static 181s + shift 181s + continue 181s + true 181s + shift 181s + break 181s + mktemp -d 181s + WORKDIR=/tmp/tmp.idPYCHU0QS 181s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 181s + cd /tmp/tmp.idPYCHU0QS 181s + [ -n ] 181s + CROSS_COMPILE= 181s + cat 181s + cat 181s + cat 181s + cat 181s + cat 181s + cat 181s + cflags= 181s + pcflags= 181s + packages=glib-2.0 181s + cflags=-static 181s + pcflags=--static 181s + pkg-config --static --cflags --libs glib-2.0 181s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 181s /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': 181s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 181s /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 181s /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 181s + echo build (glib, static): OK 181s + [ -x glib-static ] 181s + foo=bar ./glib-static 181s build (glib, static): OK 181s + echo run (glib, static): OK 181s + cflags= 181s + pcflags= 181s + packages=gobject-2.0 181s + cflags=-static 181s + pcflags=--static 181s + pkg-config --static --cflags --libs gobject-2.0 181s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 181s run (glib, static): OK 182s /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': 182s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 182s /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 182s /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 182s build (gobject, static): OK 182s + echo build (gobject, static): OK 182s + [ -x gobject-static ] 182s + foo=bar ./gobject-static 182s + echo run (gobject, static): OK 182s + cflags= 182s + pcflags= 182s + packages=gio-2.0 182s + cflags=-static 182s + pcflags=--static 182s + continue 182s + cflags= 182s + pcflags= 182s + packages=gio-unix-2.0 182s + cflags=-static 182s + pcflags=--static 182s + continue 182s + cflags= 182s + pcflags= 182s + packages=gmodule-2.0 182s + cflags=-static 182s + pcflags=--static 182s + pkg-config --static --cflags --libs gmodule-2.0 182s run (gobject, static): OK 182s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 182s /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': 182s (.text+0x5c8): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 182s /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': 182s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 182s /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 182s /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 182s build (gmodule, static): OK 182s + echo build (gmodule, static): OK 182s + [ -x gmodule-static ] 182s + foo=bar ./gmodule-static 182s run (gmodule, static): OK 182s + echo run (gmodule, static): OK 182s + cflags= 182s + pcflags= 182s + packages=gthread-2.0 182s + cflags=-static 182s + pcflags=--static 182s + pkg-config --static --cflags --libs gthread-2.0 182s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 182s /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': 182s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 182s /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 182s /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 182s + echo build (gthread, static): OK 182s + [ -x gthread-static ] 182s + foo=bar ./gthread-static 182s build (gthread, static): OK 182s + echo run (gthread, static): OK 182s + rm -rf /tmp/tmp.idPYCHU0QS 182s run (gthread, static): OK 182s autopkgtest [15:59:16]: test build-static: -----------------------] 183s autopkgtest [15:59:17]: test build-static: - - - - - - - - - - results - - - - - - - - - - 183s build-static PASS (superficial) 184s autopkgtest [15:59:18]: test girepository-tools: preparing testbed 207s Creating nova instance adt-resolute-arm64-glib2.0-20260208-155614-juju-7f2275-prod-proposed-migration-environment-2-39506472-2474-4f81-9d6f-a5c90893f86d from image adt/ubuntu-resolute-arm64-server-20260208.img (UUID 6a90f08b-9ae6-4f9a-8b8c-98ef3fa8fe0b)... 317s autopkgtest [16:01:31]: testbed dpkg architecture: arm64 317s autopkgtest [16:01:31]: testbed apt version: 3.1.15 317s autopkgtest [16:01:31]: @@@@@@@@@@@@@@@@@@@@ test bed setup 317s autopkgtest [16:01:31]: testbed release detected to be: resolute 318s autopkgtest [16:01:32]: updating testbed package index (apt update) 318s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 318s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 318s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 318s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 318s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1508 kB] 321s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.9 kB] 321s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [164 kB] 321s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [252 kB] 321s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [6608 B] 321s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [120 B] 321s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1445 kB] 323s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [30.6 kB] 323s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [21.5 kB] 323s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [672 B] 324s Fetched 3582 kB in 5s (760 kB/s) 325s Reading package lists... 326s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 326s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 326s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 326s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 327s Reading package lists... 327s Reading package lists... 327s Building dependency tree... 327s Reading state information... 327s Calculating upgrade... 327s The following packages will be upgraded: 327s dpkg dpkg-dev ethtool libbsd0 libdpkg-perl libgdbm-compat4t64 libgdbm6t64 327s libidn2-0 libnetfilter-conntrack3 libusb-1.0-0 libwrap0 shared-mime-info 328s 12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 328s Need to get 3693 kB of archives. 328s After this operation, 2532 kB disk space will be freed. 328s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 dpkg arm64 1.23.5ubuntu1 [1266 kB] 329s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 libbsd0 arm64 0.12.2-2build2 [41.9 kB] 329s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 ethtool arm64 1:6.15-3build1 [300 kB] 329s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 libidn2-0 arm64 2.3.8-4build1 [68.3 kB] 329s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 shared-mime-info arm64 2.4-5build3 [471 kB] 329s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libgdbm6t64 arm64 1.26-1build1 [36.1 kB] 329s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libnetfilter-conntrack3 arm64 1.1.1-1 [47.3 kB] 329s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 libusb-1.0-0 arm64 2:1.0.29-2build1 [55.2 kB] 329s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 dpkg-dev all 1.23.5ubuntu1 [1062 kB] 330s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libdpkg-perl all 1.23.5ubuntu1 [289 kB] 330s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 libgdbm-compat4t64 arm64 1.26-1build1 [6650 B] 330s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libwrap0 arm64 7.6.q-36build2 [49.1 kB] 330s dpkg-preconfigure: unable to re-open stdin: No such file or directory 330s Fetched 3693 kB in 3s (1380 kB/s) 331s (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 ... 136667 files and directories currently installed.) 331s Preparing to unpack .../dpkg_1.23.5ubuntu1_arm64.deb ... 331s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 331s Setting up dpkg (1.23.5ubuntu1) ... 331s (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 ... 136668 files and directories currently installed.) 331s Preparing to unpack .../00-libbsd0_0.12.2-2build2_arm64.deb ... 331s Unpacking libbsd0:arm64 (0.12.2-2build2) over (0.12.2-2build1) ... 332s Preparing to unpack .../01-ethtool_1%3a6.15-3build1_arm64.deb ... 332s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 332s Preparing to unpack .../02-libidn2-0_2.3.8-4build1_arm64.deb ... 332s Unpacking libidn2-0:arm64 (2.3.8-4build1) over (2.3.8-4) ... 332s Preparing to unpack .../03-shared-mime-info_2.4-5build3_arm64.deb ... 332s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 332s Preparing to unpack .../04-libgdbm6t64_1.26-1build1_arm64.deb ... 332s Unpacking libgdbm6t64:arm64 (1.26-1build1) over (1.26-1) ... 332s Preparing to unpack .../05-libnetfilter-conntrack3_1.1.1-1_arm64.deb ... 332s Unpacking libnetfilter-conntrack3:arm64 (1.1.1-1) over (1.1.0-1build1) ... 332s Preparing to unpack .../06-libusb-1.0-0_2%3a1.0.29-2build1_arm64.deb ... 332s Unpacking libusb-1.0-0:arm64 (2:1.0.29-2build1) over (2:1.0.29-2) ... 332s Preparing to unpack .../07-dpkg-dev_1.23.5ubuntu1_all.deb ... 332s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 332s Preparing to unpack .../08-libdpkg-perl_1.23.5ubuntu1_all.deb ... 332s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 332s Preparing to unpack .../09-libgdbm-compat4t64_1.26-1build1_arm64.deb ... 332s Unpacking libgdbm-compat4t64:arm64 (1.26-1build1) over (1.26-1) ... 332s Preparing to unpack .../10-libwrap0_7.6.q-36build2_arm64.deb ... 332s Unpacking libwrap0:arm64 (7.6.q-36build2) over (7.6.q-36build1) ... 333s Setting up libgdbm6t64:arm64 (1.26-1build1) ... 333s Setting up libgdbm-compat4t64:arm64 (1.26-1build1) ... 333s Setting up libidn2-0:arm64 (2.3.8-4build1) ... 333s Setting up libwrap0:arm64 (7.6.q-36build2) ... 333s Setting up shared-mime-info (2.4-5build3) ... 336s Setting up libdpkg-perl (1.23.5ubuntu1) ... 336s Setting up libnetfilter-conntrack3:arm64 (1.1.1-1) ... 336s Setting up libusb-1.0-0:arm64 (2:1.0.29-2build1) ... 336s Setting up libbsd0:arm64 (0.12.2-2build2) ... 336s Setting up ethtool (1:6.15-3build1) ... 336s Setting up dpkg-dev (1.23.5ubuntu1) ... 336s Processing triggers for man-db (2.13.1-1build1) ... 337s Processing triggers for libc-bin (2.42-2ubuntu4) ... 338s autopkgtest [16:01:52]: upgrading testbed (apt dist-upgrade and autopurge) 338s Reading package lists... 338s Building dependency tree... 338s Reading state information... 338s Calculating upgrade... 339s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 339s Reading package lists... 339s Building dependency tree... 339s Reading state information... 339s Solving dependencies... 340s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 340s autopkgtest [16:01:54]: rebooting testbed after setup commands that affected boot 380s Reading package lists... 381s Building dependency tree... 381s Reading state information... 381s Solving dependencies... 381s The following NEW packages will be installed: 381s gir1.2-glib-2.0-dev girepository-tools native-architecture 381s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 381s Need to get 973 kB of archives. 381s After this operation, 12.4 MB of additional disk space will be used. 381s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 gir1.2-glib-2.0-dev arm64 2.87.2-2 [866 kB] 382s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 native-architecture all 0.2.6build1 [2256 B] 382s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 girepository-tools arm64 2.87.2-2 [104 kB] 383s Fetched 973 kB in 1s (807 kB/s) 383s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 383s (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 ... 136578 files and directories currently installed.) 383s Preparing to unpack .../gir1.2-glib-2.0-dev_2.87.2-2_arm64.deb ... 383s Unpacking gir1.2-glib-2.0-dev:arm64 (2.87.2-2) ... 383s Selecting previously unselected package native-architecture. 383s Preparing to unpack .../native-architecture_0.2.6build1_all.deb ... 383s Unpacking native-architecture (0.2.6build1) ... 383s Selecting previously unselected package girepository-tools:arm64. 383s Preparing to unpack .../girepository-tools_2.87.2-2_arm64.deb ... 383s Unpacking girepository-tools:arm64 (2.87.2-2) ... 383s Setting up native-architecture (0.2.6build1) ... 383s Setting up gir1.2-glib-2.0-dev:arm64 (2.87.2-2) ... 383s Setting up girepository-tools:arm64 (2.87.2-2) ... 383s Processing triggers for man-db (2.13.1-1build1) ... 401s autopkgtest [16:02:55]: test girepository-tools: [----------------------- 401s + cd /tmp/autopkgtest.qtYyEL/autopkgtest_tmp 401s + dpkg-architecture -qDEB_HOST_GNU_TYPE 401s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 401s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu 401s + dpkg-architecture -qDEB_HOST_MULTIARCH 401s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 401s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 401s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 401s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 401s typelib: GLib-2.0 401s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 401s autopkgtest [16:02:55]: test girepository-tools: -----------------------] 402s girepository-tools PASS (superficial) 402s autopkgtest [16:02:56]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 402s autopkgtest [16:02:56]: test libgio-2.0-dev-bin: preparing testbed 421s Creating nova instance adt-resolute-arm64-glib2.0-20260208-155614-juju-7f2275-prod-proposed-migration-environment-2-39506472-2474-4f81-9d6f-a5c90893f86d from image adt/ubuntu-resolute-arm64-server-20260208.img (UUID 6a90f08b-9ae6-4f9a-8b8c-98ef3fa8fe0b)... 514s autopkgtest [16:04:48]: testbed dpkg architecture: arm64 514s autopkgtest [16:04:48]: testbed apt version: 3.1.15 515s autopkgtest [16:04:49]: @@@@@@@@@@@@@@@@@@@@ test bed setup 515s autopkgtest [16:04:49]: testbed release detected to be: resolute 516s autopkgtest [16:04:50]: updating testbed package index (apt update) 516s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 516s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 516s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 516s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 516s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1508 kB] 519s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.9 kB] 519s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [164 kB] 519s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [252 kB] 519s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [6608 B] 519s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [120 B] 519s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1445 kB] 521s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [30.6 kB] 521s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [21.5 kB] 521s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [672 B] 522s Fetched 3582 kB in 5s (715 kB/s) 523s Reading package lists... 524s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 524s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 524s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 524s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 524s Reading package lists... 525s Reading package lists... 525s Building dependency tree... 525s Reading state information... 525s Calculating upgrade... 525s The following packages will be upgraded: 525s dpkg dpkg-dev ethtool libbsd0 libdpkg-perl libgdbm-compat4t64 libgdbm6t64 525s libidn2-0 libnetfilter-conntrack3 libusb-1.0-0 libwrap0 shared-mime-info 526s 12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 526s Need to get 3693 kB of archives. 526s After this operation, 2532 kB disk space will be freed. 526s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 dpkg arm64 1.23.5ubuntu1 [1266 kB] 527s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 libbsd0 arm64 0.12.2-2build2 [41.9 kB] 527s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 ethtool arm64 1:6.15-3build1 [300 kB] 527s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 libidn2-0 arm64 2.3.8-4build1 [68.3 kB] 527s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 shared-mime-info arm64 2.4-5build3 [471 kB] 527s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libgdbm6t64 arm64 1.26-1build1 [36.1 kB] 527s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libnetfilter-conntrack3 arm64 1.1.1-1 [47.3 kB] 527s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 libusb-1.0-0 arm64 2:1.0.29-2build1 [55.2 kB] 527s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 dpkg-dev all 1.23.5ubuntu1 [1062 kB] 529s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libdpkg-perl all 1.23.5ubuntu1 [289 kB] 529s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 libgdbm-compat4t64 arm64 1.26-1build1 [6650 B] 529s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libwrap0 arm64 7.6.q-36build2 [49.1 kB] 529s dpkg-preconfigure: unable to re-open stdin: No such file or directory 529s Fetched 3693 kB in 3s (1082 kB/s) 529s (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 ... 136667 files and directories currently installed.) 529s Preparing to unpack .../dpkg_1.23.5ubuntu1_arm64.deb ... 529s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 529s Setting up dpkg (1.23.5ubuntu1) ... 530s (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 ... 136668 files and directories currently installed.) 530s Preparing to unpack .../00-libbsd0_0.12.2-2build2_arm64.deb ... 530s Unpacking libbsd0:arm64 (0.12.2-2build2) over (0.12.2-2build1) ... 530s Preparing to unpack .../01-ethtool_1%3a6.15-3build1_arm64.deb ... 530s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 530s Preparing to unpack .../02-libidn2-0_2.3.8-4build1_arm64.deb ... 530s Unpacking libidn2-0:arm64 (2.3.8-4build1) over (2.3.8-4) ... 530s Preparing to unpack .../03-shared-mime-info_2.4-5build3_arm64.deb ... 530s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 530s Preparing to unpack .../04-libgdbm6t64_1.26-1build1_arm64.deb ... 530s Unpacking libgdbm6t64:arm64 (1.26-1build1) over (1.26-1) ... 530s Preparing to unpack .../05-libnetfilter-conntrack3_1.1.1-1_arm64.deb ... 530s Unpacking libnetfilter-conntrack3:arm64 (1.1.1-1) over (1.1.0-1build1) ... 530s Preparing to unpack .../06-libusb-1.0-0_2%3a1.0.29-2build1_arm64.deb ... 530s Unpacking libusb-1.0-0:arm64 (2:1.0.29-2build1) over (2:1.0.29-2) ... 531s Preparing to unpack .../07-dpkg-dev_1.23.5ubuntu1_all.deb ... 531s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 531s Preparing to unpack .../08-libdpkg-perl_1.23.5ubuntu1_all.deb ... 531s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 531s Preparing to unpack .../09-libgdbm-compat4t64_1.26-1build1_arm64.deb ... 531s Unpacking libgdbm-compat4t64:arm64 (1.26-1build1) over (1.26-1) ... 531s Preparing to unpack .../10-libwrap0_7.6.q-36build2_arm64.deb ... 531s Unpacking libwrap0:arm64 (7.6.q-36build2) over (7.6.q-36build1) ... 531s Setting up libgdbm6t64:arm64 (1.26-1build1) ... 531s Setting up libgdbm-compat4t64:arm64 (1.26-1build1) ... 531s Setting up libidn2-0:arm64 (2.3.8-4build1) ... 531s Setting up libwrap0:arm64 (7.6.q-36build2) ... 531s Setting up shared-mime-info (2.4-5build3) ... 533s Setting up libdpkg-perl (1.23.5ubuntu1) ... 533s Setting up libnetfilter-conntrack3:arm64 (1.1.1-1) ... 533s Setting up libusb-1.0-0:arm64 (2:1.0.29-2build1) ... 533s Setting up libbsd0:arm64 (0.12.2-2build2) ... 533s Setting up ethtool (1:6.15-3build1) ... 533s Setting up dpkg-dev (1.23.5ubuntu1) ... 533s Processing triggers for man-db (2.13.1-1build1) ... 534s Processing triggers for libc-bin (2.42-2ubuntu4) ... 535s autopkgtest [16:05:09]: upgrading testbed (apt dist-upgrade and autopurge) 535s Reading package lists... 535s Building dependency tree... 535s Reading state information... 535s Calculating upgrade... 536s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 536s Reading package lists... 536s Building dependency tree... 536s Reading state information... 536s Solving dependencies... 537s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 537s autopkgtest [16:05:11]: rebooting testbed after setup commands that affected boot 577s Reading package lists... 577s Building dependency tree... 577s Reading state information... 577s Solving dependencies... 578s The following NEW packages will be installed: 578s libgio-2.0-dev-bin 578s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 578s Need to get 130 kB of archives. 578s After this operation, 827 kB of additional disk space will be used. 578s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev-bin arm64 2.87.2-2 [130 kB] 578s Fetched 130 kB in 0s (4008 kB/s) 578s Selecting previously unselected package libgio-2.0-dev-bin. 578s (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 ... 136578 files and directories currently installed.) 578s Preparing to unpack .../libgio-2.0-dev-bin_2.87.2-2_arm64.deb ... 578s Unpacking libgio-2.0-dev-bin (2.87.2-2) ... 578s Setting up libgio-2.0-dev-bin (2.87.2-2) ... 578s Processing triggers for man-db (2.13.1-1build1) ... 583s autopkgtest [16:05:57]: test libgio-2.0-dev-bin: [----------------------- 583s + gdbus-codegen --help 583s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 583s [--c-namespace NAMESPACE] [--c-generate-object-manager] 583s [--c-generate-autocleanup {none,objects,all}] 583s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 583s [--generate-rst OUTFILES] [--pragma-once] 583s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 583s [--glib-min-required VERSION] 583s [--glib-max-allowed VERSION] 583s [--symbol-decorator SYMBOL_DECORATOR] 583s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 583s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 583s [--extension-path EXTENSION_PATH] 583s [--generate-c-code OUTFILES | --header | --body | 583s --interface-info-header | --interface-info-body] 583s [--output FILE | --output-directory OUTDIR] 583s FILE [FILE ...] 583s 583s D-Bus code and documentation generator 583s 583s positional arguments: 583s FILE D-Bus introspection XML file 583s 583s options: 583s -h, --help show this help message and exit 583s --interface-prefix PREFIX 583s String to strip from D-Bus interface names for code 583s and docs 583s --c-namespace NAMESPACE 583s The namespace to use for generated C code 583s --c-generate-object-manager 583s Generate a GDBusObjectManagerClient subclass when 583s generating C code 583s --c-generate-autocleanup {none,objects,all} 583s Generate autocleanup support 583s --generate-docbook OUTFILES 583s Generate Docbook in OUTFILES-org.Project.IFace.xml 583s --generate-md OUTFILES 583s Generate Markdown in OUTFILES-org.Project.IFace.md 583s --generate-rst OUTFILES 583s Generate reStructuredText in OUTFILES- 583s org.Project.IFace.rst 583s --pragma-once Use "pragma once" as the inclusion guard 583s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 583s Add annotation (may be used several times) 583s --glib-min-required VERSION 583s Minimum version of GLib to be supported by the 583s outputted code (default: 2.30) 583s --glib-max-allowed VERSION 583s Maximum version of GLib to be used by the outputted 583s code (default: current GLib version) 583s --symbol-decorator SYMBOL_DECORATOR 583s Macro used to decorate a symbol in the outputted 583s header, possibly to export symbols 583s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 583s Additional header required for decorator specified by 583s --symbol-decorator 583s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 583s Additional define required for decorator specified by 583s --symbol-decorator 583s --extension-path EXTENSION_PATH 583s Path to a gdbus-codegen Python extension file 583s (unstable API) 583s --generate-c-code OUTFILES 583s Generate C code in OUTFILES.[ch] 583s --header Generate C headers 583s --body Generate C code 583s --interface-info-header 583s Generate GDBusInterfaceInfo C header 583s --interface-info-body 583s Generate GDBusInterfaceInfo C code 583s --output FILE Write output into the specified file 583s --output-directory OUTDIR 583s Location to output generated files 583s + glib-compile-resources --version 583s 2.87.2 583s + glib-genmarshal --version 583s glib-genmarshal version 2.87.2 583s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 583s You may redistribute copies of glib-genmarshal under the terms of 583s the GNU General Public License which can be found in the 583s GLib source package. Sources, examples and contact 583s information are available at http://www.gtk.org 583s + glib-gettextize --version 583s + glib-mkenums --version 583s /usr/bin/glib-gettextize (GNU glib) 2.87.2 583s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 583s This is free software; see the source for copying conditions. There is NO 583s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 583s Written by Ulrich Drepper 584s glib-mkenums version 2.87.2 584s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 584s You may redistribute copies of glib-mkenums under the terms of 584s the GNU General Public License which can be found in the 584s GLib source package. Sources, examples and contact 584s information are available at http://www.gtk.org 584s + gobject-query tree 584s GObject 584s + gtester --version 584s + gtester-report --version 584s gtester version 2.87.2 584s gtester-report (GLib utils) version 2.87.2. 584s autopkgtest [16:05:58]: test libgio-2.0-dev-bin: -----------------------] 584s libgio-2.0-dev-bin PASS (superficial) 584s autopkgtest [16:05:58]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 585s autopkgtest [16:05:59]: test libglib2.0-dev: preparing testbed 604s Creating nova instance adt-resolute-arm64-glib2.0-20260208-155614-juju-7f2275-prod-proposed-migration-environment-2-39506472-2474-4f81-9d6f-a5c90893f86d from image adt/ubuntu-resolute-arm64-server-20260208.img (UUID 6a90f08b-9ae6-4f9a-8b8c-98ef3fa8fe0b)... 685s autopkgtest [16:07:39]: testbed dpkg architecture: arm64 685s autopkgtest [16:07:39]: testbed apt version: 3.1.15 686s autopkgtest [16:07:40]: @@@@@@@@@@@@@@@@@@@@ test bed setup 686s autopkgtest [16:07:40]: testbed release detected to be: resolute 687s autopkgtest [16:07:41]: updating testbed package index (apt update) 687s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 687s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 687s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 687s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 687s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [164 kB] 687s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.9 kB] 687s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1508 kB] 689s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [252 kB] 689s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [6608 B] 689s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [120 B] 689s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1445 kB] 690s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [30.6 kB] 690s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [21.5 kB] 690s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [672 B] 692s Fetched 3582 kB in 3s (1030 kB/s) 692s Reading package lists... 693s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 693s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 693s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 693s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 694s Reading package lists... 694s Reading package lists... 694s Building dependency tree... 694s Reading state information... 695s Calculating upgrade... 695s The following packages will be upgraded: 695s dpkg dpkg-dev ethtool libbsd0 libdpkg-perl libgdbm-compat4t64 libgdbm6t64 695s libidn2-0 libnetfilter-conntrack3 libusb-1.0-0 libwrap0 shared-mime-info 695s 12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 695s Need to get 3693 kB of archives. 695s After this operation, 2532 kB disk space will be freed. 695s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 dpkg arm64 1.23.5ubuntu1 [1266 kB] 696s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 libbsd0 arm64 0.12.2-2build2 [41.9 kB] 696s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 ethtool arm64 1:6.15-3build1 [300 kB] 696s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 libidn2-0 arm64 2.3.8-4build1 [68.3 kB] 696s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 shared-mime-info arm64 2.4-5build3 [471 kB] 696s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libgdbm6t64 arm64 1.26-1build1 [36.1 kB] 696s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libnetfilter-conntrack3 arm64 1.1.1-1 [47.3 kB] 696s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 libusb-1.0-0 arm64 2:1.0.29-2build1 [55.2 kB] 696s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 dpkg-dev all 1.23.5ubuntu1 [1062 kB] 696s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libdpkg-perl all 1.23.5ubuntu1 [289 kB] 696s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 libgdbm-compat4t64 arm64 1.26-1build1 [6650 B] 696s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libwrap0 arm64 7.6.q-36build2 [49.1 kB] 696s dpkg-preconfigure: unable to re-open stdin: No such file or directory 696s Fetched 3693 kB in 1s (3605 kB/s) 697s (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 ... 136667 files and directories currently installed.) 697s Preparing to unpack .../dpkg_1.23.5ubuntu1_arm64.deb ... 697s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 697s Setting up dpkg (1.23.5ubuntu1) ... 697s (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 ... 136668 files and directories currently installed.) 697s Preparing to unpack .../00-libbsd0_0.12.2-2build2_arm64.deb ... 697s Unpacking libbsd0:arm64 (0.12.2-2build2) over (0.12.2-2build1) ... 697s Preparing to unpack .../01-ethtool_1%3a6.15-3build1_arm64.deb ... 697s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 697s Preparing to unpack .../02-libidn2-0_2.3.8-4build1_arm64.deb ... 697s Unpacking libidn2-0:arm64 (2.3.8-4build1) over (2.3.8-4) ... 697s Preparing to unpack .../03-shared-mime-info_2.4-5build3_arm64.deb ... 697s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 697s Preparing to unpack .../04-libgdbm6t64_1.26-1build1_arm64.deb ... 697s Unpacking libgdbm6t64:arm64 (1.26-1build1) over (1.26-1) ... 698s Preparing to unpack .../05-libnetfilter-conntrack3_1.1.1-1_arm64.deb ... 698s Unpacking libnetfilter-conntrack3:arm64 (1.1.1-1) over (1.1.0-1build1) ... 698s Preparing to unpack .../06-libusb-1.0-0_2%3a1.0.29-2build1_arm64.deb ... 698s Unpacking libusb-1.0-0:arm64 (2:1.0.29-2build1) over (2:1.0.29-2) ... 698s Preparing to unpack .../07-dpkg-dev_1.23.5ubuntu1_all.deb ... 698s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 698s Preparing to unpack .../08-libdpkg-perl_1.23.5ubuntu1_all.deb ... 698s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 698s Preparing to unpack .../09-libgdbm-compat4t64_1.26-1build1_arm64.deb ... 698s Unpacking libgdbm-compat4t64:arm64 (1.26-1build1) over (1.26-1) ... 698s Preparing to unpack .../10-libwrap0_7.6.q-36build2_arm64.deb ... 698s Unpacking libwrap0:arm64 (7.6.q-36build2) over (7.6.q-36build1) ... 698s Setting up libgdbm6t64:arm64 (1.26-1build1) ... 698s Setting up libgdbm-compat4t64:arm64 (1.26-1build1) ... 698s Setting up libidn2-0:arm64 (2.3.8-4build1) ... 698s Setting up libwrap0:arm64 (7.6.q-36build2) ... 698s Setting up shared-mime-info (2.4-5build3) ... 700s Setting up libdpkg-perl (1.23.5ubuntu1) ... 700s Setting up libnetfilter-conntrack3:arm64 (1.1.1-1) ... 700s Setting up libusb-1.0-0:arm64 (2:1.0.29-2build1) ... 700s Setting up libbsd0:arm64 (0.12.2-2build2) ... 700s Setting up ethtool (1:6.15-3build1) ... 701s Setting up dpkg-dev (1.23.5ubuntu1) ... 701s Processing triggers for man-db (2.13.1-1build1) ... 702s Processing triggers for libc-bin (2.42-2ubuntu4) ... 702s autopkgtest [16:07:56]: upgrading testbed (apt dist-upgrade and autopurge) 702s Reading package lists... 702s Building dependency tree... 702s Reading state information... 703s Calculating upgrade... 703s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 703s Reading package lists... 703s Building dependency tree... 703s Reading state information... 703s Solving dependencies... 704s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 704s autopkgtest [16:07:58]: rebooting testbed after setup commands that affected boot 742s Reading package lists... 743s Building dependency tree... 743s Reading state information... 743s Solving dependencies... 743s The following NEW packages will be installed: 743s build-essential cpp cpp-15 cpp-15-aarch64-linux-gnu cpp-aarch64-linux-gnu 743s g++ g++-15 g++-15-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-15 743s gcc-15-aarch64-linux-gnu gcc-aarch64-linux-gnu gir1.2-glib-2.0-dev 743s girepository-tools libasan8 libblkid-dev libc-dev-bin libc6-dev libcc1-0 743s libcrypt-dev libffi-dev libgcc-15-dev libgio-2.0-dev libgio-2.0-dev-bin 743s libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin libgomp1 libhwasan0 743s libisl23 libitm1 liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 743s libpcre2-dev libpcre2-posix3 libpkgconf3 libselinux-dev libsepol-dev 743s libstdc++-15-dev libsysprof-capture-4-dev libtsan2 libubsan1 linux-libc-dev 743s native-architecture pkgconf pkgconf-bin rpcsvc-proto uuid-dev zlib1g-dev 743s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 743s Need to get 74.7 MB of archives. 743s After this operation, 280 MB of additional disk space will be used. 743s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libc-dev-bin arm64 2.42-2ubuntu4 [22.5 kB] 743s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 linux-libc-dev arm64 6.19.0-3.3 [1819 kB] 744s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libcrypt-dev arm64 1:4.5.1-1 [123 kB] 744s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 rpcsvc-proto arm64 1.4.3-1build1 [65.6 kB] 744s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 libc6-dev arm64 2.42-2ubuntu4 [1765 kB] 746s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libisl23 arm64 0.27-1build1 [676 kB] 746s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libmpc3 arm64 1.3.1-2 [55.6 kB] 746s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15-aarch64-linux-gnu arm64 15.2.0-12ubuntu1 [11.7 MB] 757s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15 arm64 15.2.0-12ubuntu1 [1030 B] 757s Get:10 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [5736 B] 757s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp arm64 4:15.2.0-4ubuntu1 [22.4 kB] 757s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libcc1-0 arm64 15.2.0-12ubuntu1 [49.0 kB] 757s Get:13 http://ftpmaster.internal/ubuntu resolute/main arm64 libgomp1 arm64 15.2.0-12ubuntu1 [147 kB] 757s Get:14 http://ftpmaster.internal/ubuntu resolute/main arm64 libitm1 arm64 15.2.0-12ubuntu1 [27.8 kB] 757s Get:15 http://ftpmaster.internal/ubuntu resolute/main arm64 libasan8 arm64 15.2.0-12ubuntu1 [2920 kB] 760s Get:16 http://ftpmaster.internal/ubuntu resolute/main arm64 liblsan0 arm64 15.2.0-12ubuntu1 [1316 kB] 761s Get:17 http://ftpmaster.internal/ubuntu resolute/main arm64 libtsan2 arm64 15.2.0-12ubuntu1 [2688 kB] 763s Get:18 http://ftpmaster.internal/ubuntu resolute/main arm64 libubsan1 arm64 15.2.0-12ubuntu1 [1175 kB] 763s Get:19 http://ftpmaster.internal/ubuntu resolute/main arm64 libhwasan0 arm64 15.2.0-12ubuntu1 [1638 kB] 764s Get:20 http://ftpmaster.internal/ubuntu resolute/main arm64 libgcc-15-dev arm64 15.2.0-12ubuntu1 [2600 kB] 766s Get:21 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15-aarch64-linux-gnu arm64 15.2.0-12ubuntu1 [23.1 MB] 779s Get:22 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15 arm64 15.2.0-12ubuntu1 [519 kB] 779s Get:23 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [1206 B] 779s Get:24 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc arm64 4:15.2.0-4ubuntu1 [5016 B] 780s Get:25 http://ftpmaster.internal/ubuntu resolute/main arm64 libstdc++-15-dev arm64 15.2.0-12ubuntu1 [2549 kB] 781s Get:26 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15-aarch64-linux-gnu arm64 15.2.0-12ubuntu1 [13.2 MB] 790s Get:27 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15 arm64 15.2.0-12ubuntu1 [25.3 kB] 790s Get:28 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [956 B] 790s Get:29 http://ftpmaster.internal/ubuntu resolute/main arm64 g++ arm64 4:15.2.0-4ubuntu1 [1080 B] 790s Get:30 http://ftpmaster.internal/ubuntu resolute/main arm64 build-essential arm64 12.12ubuntu2 [5254 B] 790s Get:31 http://ftpmaster.internal/ubuntu resolute/main arm64 gir1.2-glib-2.0-dev arm64 2.87.2-2 [866 kB] 790s Get:32 http://ftpmaster.internal/ubuntu resolute/main arm64 native-architecture all 0.2.6build1 [2256 B] 790s Get:33 http://ftpmaster.internal/ubuntu resolute/main arm64 girepository-tools arm64 2.87.2-2 [104 kB] 790s Get:34 http://ftpmaster.internal/ubuntu resolute/main arm64 libffi-dev arm64 3.5.2-3 [63.0 kB] 790s Get:35 http://ftpmaster.internal/ubuntu resolute/main arm64 uuid-dev arm64 2.41.2-4ubuntu2 [57.4 kB] 790s Get:36 http://ftpmaster.internal/ubuntu resolute/main arm64 libblkid-dev arm64 2.41.2-4ubuntu2 [246 kB] 790s Get:37 http://ftpmaster.internal/ubuntu resolute/main arm64 libsepol-dev arm64 3.9-2 [413 kB] 790s Get:38 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-16-0 arm64 10.46-1 [225 kB] 790s Get:39 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-32-0 arm64 10.46-1 [213 kB] 790s Get:40 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-posix3 arm64 10.46-1 [7300 B] 790s Get:41 http://ftpmaster.internal/ubuntu resolute/main arm64 libpcre2-dev arm64 10.46-1 [772 kB] 791s Get:42 http://ftpmaster.internal/ubuntu resolute/main arm64 libselinux-dev arm64 3.9-4 [184 kB] 791s Get:43 http://ftpmaster.internal/ubuntu resolute/main arm64 libmount-dev arm64 2.41.2-4ubuntu2 [37.6 kB] 791s Get:44 http://ftpmaster.internal/ubuntu resolute/main arm64 libsysprof-capture-4-dev arm64 49.0-5 [54.4 kB] 791s Get:45 http://ftpmaster.internal/ubuntu resolute/main arm64 libpkgconf3 arm64 1.8.1-4build1 [33.7 kB] 791s Get:46 http://ftpmaster.internal/ubuntu resolute/main arm64 pkgconf-bin arm64 1.8.1-4build1 [21.7 kB] 791s Get:47 http://ftpmaster.internal/ubuntu resolute/main arm64 pkgconf arm64 1.8.1-4build1 [16.8 kB] 791s Get:48 http://ftpmaster.internal/ubuntu resolute/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu2 [899 kB] 791s Get:49 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev arm64 2.87.2-2 [1912 kB] 793s Get:50 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev-bin arm64 2.87.2-2 [130 kB] 793s Get:51 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-bin arm64 2.87.2-2 [98.1 kB] 793s Get:52 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-dev-bin arm64 2.87.2-2 [18.1 kB] 793s Get:53 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-dev arm64 2.87.2-2 [18.8 kB] 793s Fetched 74.7 MB in 49s (1511 kB/s) 793s Selecting previously unselected package libc-dev-bin. 793s (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 ... 136578 files and directories currently installed.) 793s Preparing to unpack .../00-libc-dev-bin_2.42-2ubuntu4_arm64.deb ... 793s Unpacking libc-dev-bin (2.42-2ubuntu4) ... 793s Selecting previously unselected package linux-libc-dev:arm64. 793s Preparing to unpack .../01-linux-libc-dev_6.19.0-3.3_arm64.deb ... 793s Unpacking linux-libc-dev:arm64 (6.19.0-3.3) ... 793s Selecting previously unselected package libcrypt-dev:arm64. 793s Preparing to unpack .../02-libcrypt-dev_1%3a4.5.1-1_arm64.deb ... 793s Unpacking libcrypt-dev:arm64 (1:4.5.1-1) ... 793s Selecting previously unselected package rpcsvc-proto. 793s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1build1_arm64.deb ... 793s Unpacking rpcsvc-proto (1.4.3-1build1) ... 793s Selecting previously unselected package libc6-dev:arm64. 793s Preparing to unpack .../04-libc6-dev_2.42-2ubuntu4_arm64.deb ... 793s Unpacking libc6-dev:arm64 (2.42-2ubuntu4) ... 793s Selecting previously unselected package libisl23:arm64. 793s Preparing to unpack .../05-libisl23_0.27-1build1_arm64.deb ... 793s Unpacking libisl23:arm64 (0.27-1build1) ... 793s Selecting previously unselected package libmpc3:arm64. 794s Preparing to unpack .../06-libmpc3_1.3.1-2_arm64.deb ... 794s Unpacking libmpc3:arm64 (1.3.1-2) ... 794s Selecting previously unselected package cpp-15-aarch64-linux-gnu. 794s Preparing to unpack .../07-cpp-15-aarch64-linux-gnu_15.2.0-12ubuntu1_arm64.deb ... 794s Unpacking cpp-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 794s Selecting previously unselected package cpp-15. 794s Preparing to unpack .../08-cpp-15_15.2.0-12ubuntu1_arm64.deb ... 794s Unpacking cpp-15 (15.2.0-12ubuntu1) ... 794s Selecting previously unselected package cpp-aarch64-linux-gnu. 794s Preparing to unpack .../09-cpp-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 794s Unpacking cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 794s Selecting previously unselected package cpp. 794s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_arm64.deb ... 794s Unpacking cpp (4:15.2.0-4ubuntu1) ... 794s Selecting previously unselected package libcc1-0:arm64. 794s Preparing to unpack .../11-libcc1-0_15.2.0-12ubuntu1_arm64.deb ... 794s Unpacking libcc1-0:arm64 (15.2.0-12ubuntu1) ... 794s Selecting previously unselected package libgomp1:arm64. 794s Preparing to unpack .../12-libgomp1_15.2.0-12ubuntu1_arm64.deb ... 794s Unpacking libgomp1:arm64 (15.2.0-12ubuntu1) ... 794s Selecting previously unselected package libitm1:arm64. 794s Preparing to unpack .../13-libitm1_15.2.0-12ubuntu1_arm64.deb ... 794s Unpacking libitm1:arm64 (15.2.0-12ubuntu1) ... 794s Selecting previously unselected package libasan8:arm64. 794s Preparing to unpack .../14-libasan8_15.2.0-12ubuntu1_arm64.deb ... 794s Unpacking libasan8:arm64 (15.2.0-12ubuntu1) ... 794s Selecting previously unselected package liblsan0:arm64. 794s Preparing to unpack .../15-liblsan0_15.2.0-12ubuntu1_arm64.deb ... 794s Unpacking liblsan0:arm64 (15.2.0-12ubuntu1) ... 794s Selecting previously unselected package libtsan2:arm64. 794s Preparing to unpack .../16-libtsan2_15.2.0-12ubuntu1_arm64.deb ... 794s Unpacking libtsan2:arm64 (15.2.0-12ubuntu1) ... 794s Selecting previously unselected package libubsan1:arm64. 794s Preparing to unpack .../17-libubsan1_15.2.0-12ubuntu1_arm64.deb ... 794s Unpacking libubsan1:arm64 (15.2.0-12ubuntu1) ... 794s Selecting previously unselected package libhwasan0:arm64. 794s Preparing to unpack .../18-libhwasan0_15.2.0-12ubuntu1_arm64.deb ... 794s Unpacking libhwasan0:arm64 (15.2.0-12ubuntu1) ... 794s Selecting previously unselected package libgcc-15-dev:arm64. 794s Preparing to unpack .../19-libgcc-15-dev_15.2.0-12ubuntu1_arm64.deb ... 794s Unpacking libgcc-15-dev:arm64 (15.2.0-12ubuntu1) ... 794s Selecting previously unselected package gcc-15-aarch64-linux-gnu. 794s Preparing to unpack .../20-gcc-15-aarch64-linux-gnu_15.2.0-12ubuntu1_arm64.deb ... 794s Unpacking gcc-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 795s Selecting previously unselected package gcc-15. 795s Preparing to unpack .../21-gcc-15_15.2.0-12ubuntu1_arm64.deb ... 795s Unpacking gcc-15 (15.2.0-12ubuntu1) ... 795s Selecting previously unselected package gcc-aarch64-linux-gnu. 795s Preparing to unpack .../22-gcc-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 795s Unpacking gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 795s Selecting previously unselected package gcc. 795s Preparing to unpack .../23-gcc_4%3a15.2.0-4ubuntu1_arm64.deb ... 795s Unpacking gcc (4:15.2.0-4ubuntu1) ... 795s Selecting previously unselected package libstdc++-15-dev:arm64. 795s Preparing to unpack .../24-libstdc++-15-dev_15.2.0-12ubuntu1_arm64.deb ... 795s Unpacking libstdc++-15-dev:arm64 (15.2.0-12ubuntu1) ... 795s Selecting previously unselected package g++-15-aarch64-linux-gnu. 795s Preparing to unpack .../25-g++-15-aarch64-linux-gnu_15.2.0-12ubuntu1_arm64.deb ... 795s Unpacking g++-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 795s Selecting previously unselected package g++-15. 795s Preparing to unpack .../26-g++-15_15.2.0-12ubuntu1_arm64.deb ... 795s Unpacking g++-15 (15.2.0-12ubuntu1) ... 795s Selecting previously unselected package g++-aarch64-linux-gnu. 795s Preparing to unpack .../27-g++-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 795s Unpacking g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 795s Selecting previously unselected package g++. 795s Preparing to unpack .../28-g++_4%3a15.2.0-4ubuntu1_arm64.deb ... 795s Unpacking g++ (4:15.2.0-4ubuntu1) ... 795s Selecting previously unselected package build-essential. 795s Preparing to unpack .../29-build-essential_12.12ubuntu2_arm64.deb ... 795s Unpacking build-essential (12.12ubuntu2) ... 795s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 796s Preparing to unpack .../30-gir1.2-glib-2.0-dev_2.87.2-2_arm64.deb ... 796s Unpacking gir1.2-glib-2.0-dev:arm64 (2.87.2-2) ... 796s Selecting previously unselected package native-architecture. 796s Preparing to unpack .../31-native-architecture_0.2.6build1_all.deb ... 796s Unpacking native-architecture (0.2.6build1) ... 796s Selecting previously unselected package girepository-tools:arm64. 796s Preparing to unpack .../32-girepository-tools_2.87.2-2_arm64.deb ... 796s Unpacking girepository-tools:arm64 (2.87.2-2) ... 796s Selecting previously unselected package libffi-dev:arm64. 796s Preparing to unpack .../33-libffi-dev_3.5.2-3_arm64.deb ... 796s Unpacking libffi-dev:arm64 (3.5.2-3) ... 796s Selecting previously unselected package uuid-dev:arm64. 796s Preparing to unpack .../34-uuid-dev_2.41.2-4ubuntu2_arm64.deb ... 796s Unpacking uuid-dev:arm64 (2.41.2-4ubuntu2) ... 796s Selecting previously unselected package libblkid-dev:arm64. 796s Preparing to unpack .../35-libblkid-dev_2.41.2-4ubuntu2_arm64.deb ... 796s Unpacking libblkid-dev:arm64 (2.41.2-4ubuntu2) ... 796s Selecting previously unselected package libsepol-dev:arm64. 796s Preparing to unpack .../36-libsepol-dev_3.9-2_arm64.deb ... 796s Unpacking libsepol-dev:arm64 (3.9-2) ... 796s Selecting previously unselected package libpcre2-16-0:arm64. 796s Preparing to unpack .../37-libpcre2-16-0_10.46-1_arm64.deb ... 796s Unpacking libpcre2-16-0:arm64 (10.46-1) ... 796s Selecting previously unselected package libpcre2-32-0:arm64. 796s Preparing to unpack .../38-libpcre2-32-0_10.46-1_arm64.deb ... 796s Unpacking libpcre2-32-0:arm64 (10.46-1) ... 796s Selecting previously unselected package libpcre2-posix3:arm64. 796s Preparing to unpack .../39-libpcre2-posix3_10.46-1_arm64.deb ... 796s Unpacking libpcre2-posix3:arm64 (10.46-1) ... 796s Selecting previously unselected package libpcre2-dev:arm64. 796s Preparing to unpack .../40-libpcre2-dev_10.46-1_arm64.deb ... 796s Unpacking libpcre2-dev:arm64 (10.46-1) ... 796s Selecting previously unselected package libselinux-dev:arm64. 796s Preparing to unpack .../41-libselinux-dev_3.9-4_arm64.deb ... 796s Unpacking libselinux-dev:arm64 (3.9-4) ... 796s Selecting previously unselected package libmount-dev:arm64. 796s Preparing to unpack .../42-libmount-dev_2.41.2-4ubuntu2_arm64.deb ... 796s Unpacking libmount-dev:arm64 (2.41.2-4ubuntu2) ... 796s Selecting previously unselected package libsysprof-capture-4-dev:arm64. 796s Preparing to unpack .../43-libsysprof-capture-4-dev_49.0-5_arm64.deb ... 796s Unpacking libsysprof-capture-4-dev:arm64 (49.0-5) ... 796s Selecting previously unselected package libpkgconf3:arm64. 796s Preparing to unpack .../44-libpkgconf3_1.8.1-4build1_arm64.deb ... 796s Unpacking libpkgconf3:arm64 (1.8.1-4build1) ... 796s Selecting previously unselected package pkgconf-bin. 796s Preparing to unpack .../45-pkgconf-bin_1.8.1-4build1_arm64.deb ... 796s Unpacking pkgconf-bin (1.8.1-4build1) ... 796s Selecting previously unselected package pkgconf:arm64. 796s Preparing to unpack .../46-pkgconf_1.8.1-4build1_arm64.deb ... 796s Unpacking pkgconf:arm64 (1.8.1-4build1) ... 796s Selecting previously unselected package zlib1g-dev:arm64. 796s Preparing to unpack .../47-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_arm64.deb ... 796s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 796s Selecting previously unselected package libgio-2.0-dev:arm64. 796s Preparing to unpack .../48-libgio-2.0-dev_2.87.2-2_arm64.deb ... 796s Unpacking libgio-2.0-dev:arm64 (2.87.2-2) ... 796s Selecting previously unselected package libgio-2.0-dev-bin. 796s Preparing to unpack .../49-libgio-2.0-dev-bin_2.87.2-2_arm64.deb ... 796s Unpacking libgio-2.0-dev-bin (2.87.2-2) ... 796s Selecting previously unselected package libglib2.0-bin. 796s Preparing to unpack .../50-libglib2.0-bin_2.87.2-2_arm64.deb ... 796s Unpacking libglib2.0-bin (2.87.2-2) ... 796s Selecting previously unselected package libglib2.0-dev-bin. 797s Preparing to unpack .../51-libglib2.0-dev-bin_2.87.2-2_arm64.deb ... 797s Unpacking libglib2.0-dev-bin (2.87.2-2) ... 797s Selecting previously unselected package libglib2.0-dev:arm64. 797s Preparing to unpack .../52-libglib2.0-dev_2.87.2-2_arm64.deb ... 797s Unpacking libglib2.0-dev:arm64 (2.87.2-2) ... 797s Setting up libgio-2.0-dev-bin (2.87.2-2) ... 797s Setting up native-architecture (0.2.6build1) ... 797s Setting up linux-libc-dev:arm64 (6.19.0-3.3) ... 797s Setting up libglib2.0-bin (2.87.2-2) ... 797s Setting up libgomp1:arm64 (15.2.0-12ubuntu1) ... 797s Setting up libffi-dev:arm64 (3.5.2-3) ... 797s Setting up libpcre2-16-0:arm64 (10.46-1) ... 797s Setting up libsysprof-capture-4-dev:arm64 (49.0-5) ... 797s Setting up libpcre2-32-0:arm64 (10.46-1) ... 797s Setting up libpkgconf3:arm64 (1.8.1-4build1) ... 797s Setting up rpcsvc-proto (1.4.3-1build1) ... 797s Setting up libmpc3:arm64 (1.3.1-2) ... 797s Setting up libsepol-dev:arm64 (3.9-2) ... 797s Setting up pkgconf-bin (1.8.1-4build1) ... 797s Setting up libubsan1:arm64 (15.2.0-12ubuntu1) ... 797s Setting up libpcre2-posix3:arm64 (10.46-1) ... 797s Setting up gir1.2-glib-2.0-dev:arm64 (2.87.2-2) ... 797s Setting up libhwasan0:arm64 (15.2.0-12ubuntu1) ... 797s Setting up libcrypt-dev:arm64 (1:4.5.1-1) ... 797s Setting up libasan8:arm64 (15.2.0-12ubuntu1) ... 797s Setting up libtsan2:arm64 (15.2.0-12ubuntu1) ... 797s Setting up libisl23:arm64 (0.27-1build1) ... 797s Setting up libc-dev-bin (2.42-2ubuntu4) ... 797s Setting up libcc1-0:arm64 (15.2.0-12ubuntu1) ... 797s Setting up liblsan0:arm64 (15.2.0-12ubuntu1) ... 797s Setting up libitm1:arm64 (15.2.0-12ubuntu1) ... 797s Setting up cpp-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 797s Setting up girepository-tools:arm64 (2.87.2-2) ... 797s Setting up libgcc-15-dev:arm64 (15.2.0-12ubuntu1) ... 797s Setting up pkgconf:arm64 (1.8.1-4build1) ... 797s Setting up cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 797s Setting up cpp-15 (15.2.0-12ubuntu1) ... 797s Setting up cpp (4:15.2.0-4ubuntu1) ... 797s Setting up libc6-dev:arm64 (2.42-2ubuntu4) ... 797s Setting up libglib2.0-dev-bin (2.87.2-2) ... 797s Setting up gcc-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 797s Setting up libpcre2-dev:arm64 (10.46-1) ... 797s Setting up gcc-15 (15.2.0-12ubuntu1) ... 797s Setting up libstdc++-15-dev:arm64 (15.2.0-12ubuntu1) ... 797s Setting up g++-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ... 797s Setting up uuid-dev:arm64 (2.41.2-4ubuntu2) ... 797s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 797s Setting up libselinux-dev:arm64 (3.9-4) ... 797s Setting up g++-15 (15.2.0-12ubuntu1) ... 797s Setting up gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 797s Setting up libblkid-dev:arm64 (2.41.2-4ubuntu2) ... 797s Setting up gcc (4:15.2.0-4ubuntu1) ... 797s Setting up g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 797s Setting up libmount-dev:arm64 (2.41.2-4ubuntu2) ... 797s Setting up libgio-2.0-dev:arm64 (2.87.2-2) ... 797s Setting up g++ (4:15.2.0-4ubuntu1) ... 797s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 797s Setting up build-essential (12.12ubuntu2) ... 797s Processing triggers for install-info (7.2-5) ... 797s Processing triggers for libc-bin (2.42-2ubuntu4) ... 797s Processing triggers for man-db (2.13.1-1build1) ... 798s Processing triggers for libglib2.0-0t64:arm64 (2.87.2-2) ... 798s No schema files found: doing nothing. 798s Setting up libglib2.0-dev:arm64 (2.87.2-2) ... 804s autopkgtest [16:09:38]: test libglib2.0-dev: [----------------------- 804s + debian/tests/build 804s + mode=dynamic 804s + getopt -o --long static -n debian/tests/build -- 804s + getopt_temp= -- 804s + eval set -- -- 804s + set -- -- 804s + true 804s + shift 804s + break 804s + mktemp -d 804s + WORKDIR=/tmp/tmp.LWWBLcAeQ5 804s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 804s + cd /tmp/tmp.LWWBLcAeQ5 804s + [ -n ] 804s + CROSS_COMPILE= 804s + cat 804s + cat 804s + cat 804s + cat 804s + cat 804s + cat 804s + cflags= 804s + pcflags= 804s + packages=glib-2.0 804s + pkg-config --cflags --libs glib-2.0 804s + 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 805s build (glib, dynamic): OK 805s run (glib, dynamic): OK 805s + echo build (glib, dynamic): OK 805s + [ -x glib-dynamic ] 805s + foo=bar ./glib-dynamic 805s + echo run (glib, dynamic): OK 805s + cflags= 805s + pcflags= 805s + packages=gobject-2.0 805s + pkg-config --cflags --libs gobject-2.0 805s + 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 805s build (gobject, dynamic): OK 805s + echo build (gobject, dynamic): OK 805s + [ -x gobject-dynamic ] 805s + foo=bar ./gobject-dynamic 805s run (gobject, dynamic): OK 805s + echo run (gobject, dynamic): OK 805s + cflags= 805s + pcflags= 805s + packages=gio-2.0 805s + pkg-config --cflags --libs gio-2.0 805s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 805s build (gio, dynamic): OK 805s + echo build (gio, dynamic): OK 805s + [ -x gio-dynamic ] 805s + foo=bar ./gio-dynamic 805s run (gio, dynamic): OK 805s + echo run (gio, dynamic): OK 805s + cflags= 805s + pcflags= 805s + packages=gio-unix-2.0 805s + pkg-config --cflags --libs gio-unix-2.0 805s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 805s build (gio-unix, dynamic): OK 805s + echo build (gio-unix, dynamic): OK 805s + [ -x gio-unix-dynamic ] 805s + foo=bar ./gio-unix-dynamic 805s + echo run (gio-unix, dynamic): OK 805s + cflags= 805s + pcflags= 805s + packages=gmodule-2.0 805s run (gio-unix, dynamic): OK 805s + pkg-config --cflags --libs gmodule-2.0 805s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 805s + echobuild (gmodule, dynamic): OK 805s build (gmodule, dynamic): OK 805s + [ -x gmodule-dynamic ] 805s + foo=bar ./gmodule-dynamic 805s run (gmodule, dynamic): OK 805s + echo run (gmodule, dynamic): OK 805s + cflags= 805s + pcflags= 805s + packages=gthread-2.0 805s + pkg-config --cflags --libs gthread-2.0 805s + 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 805s build (gthread, dynamic): OK 805s run (gthread, dynamic): OK 805s + echo build (gthread, dynamic): OK 805s + [ -x gthread-dynamic ] 805s + foo=bar ./gthread-dynamic 805s + echo run (gthread, dynamic): OK 805s + rm -rf /tmp/tmp.LWWBLcAeQ5 805s + debian/tests/build-static 805s + mode=dynamic 805s + getopt -o --long static -n debian/tests/build -- --static 805s + getopt_temp= --static -- 805s + eval set -- --static -- 805s + set -- --static -- 805s + true 805s + mode=static 805s + shift 805s + continue 805s + true 805s + shift 805s + break 805s + mktemp -d 805s + WORKDIR=/tmp/tmp.e5AXrgG3zm 805s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 805s + cd /tmp/tmp.e5AXrgG3zm 805s + [ -n ] 805s + CROSS_COMPILE= 805s + cat 805s + cat 805s + cat 805s + cat 805s + cat 805s + cat 805s + cflags= 805s + pcflags= 805s + packages=glib-2.0 805s + cflags=-static 805s + pcflags=--static 805s + pkg-config --static --cflags --libs glib-2.0 805s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 805s /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': 805s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 805s /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 805s /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 805s build (glib, static): OK 805s + echo build (glib, static): OK 805s + [ -x glib-static ] 805s + foo=bar ./glib-static 805s run (glib, static): OK 805s + echo run (glib, static): OK 805s + cflags= 805s + pcflags= 805s + packages=gobject-2.0 805s + cflags=-static 805s + pcflags=--static 805s + pkg-config --static --cflags --libs gobject-2.0 805s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 805s /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': 805s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 805s /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 805s /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 806s build (gobject, static): OK 806s + echo build (gobject, static): OK 806s + [ -x gobject-static ] 806s + foo=bar ./gobject-static 806s run (gobject, static): OK 806s + echo run (gobject, static): OK 806s + cflags= 806s + pcflags= 806s + packages=gio-2.0 806s + cflags=-static 806s + pcflags=--static 806s + continue 806s + cflags= 806s + pcflags= 806s + packages=gio-unix-2.0 806s + cflags=-static 806s + pcflags=--static 806s + continue 806s + cflags= 806s + pcflags= 806s + packages=gmodule-2.0 806s + cflags=-static 806s + pcflags=--static 806s + pkg-config --static --cflags --libs gmodule-2.0 806s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 806s /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': 806s (.text+0x5c8): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 806s /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': 806s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 806s /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 806s /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 806s build (gmodule, static): OK 806s + echo build (gmodule, static): OK 806s + [ -x gmodule-static ] 806s + foo=bar ./gmodule-static 806s + echo run (gmodule, static): OK 806s + cflags= 806s + pcflags= 806s + packages=gthread-2.0 806s + cflags=-static 806s + pcflags=--static 806s run (gmodule, static): OK 806s + pkg-config --static --cflags --libs gthread-2.0 806s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 806s /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': 806s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 806s /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 806s /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 806s build (gthread, static): OK 806s + echo build (gthread, static): OK 806s + [ -x gthread-static ] 806s + foo=bar ./gthread-static 806s + echo run (gthread, static): OK 806s + rm -rf /tmp/tmp.e5AXrgG3zm 806s run (gthread, static): OK 806s + debian/tests/girepository-tools 806s + cd /tmp/autopkgtest.qtYyEL/autopkgtest_tmp 806s + dpkg-architecture -qDEB_HOST_GNU_TYPE 806s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu 806s + dpkg-architecture -qDEB_HOST_MULTIARCH 806s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 806s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 806s typelib: GLib-2.0 806s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 806s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 806s + debian/tests/libgio-2.0-dev-bin 806s + gdbus-codegen --help 806s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 806s [--c-namespace NAMESPACE] [--c-generate-object-manager] 806s [--c-generate-autocleanup {none,objects,all}] 806s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 806s [--generate-rst OUTFILES] [--pragma-once] 806s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 806s [--glib-min-required VERSION] 806s [--glib-max-allowed VERSION] 806s [--symbol-decorator SYMBOL_DECORATOR] 806s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 806s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 806s [--extension-path EXTENSION_PATH] 806s [--generate-c-code OUTFILES | --header | --body | 806s --interface-info-header | --interface-info-body] 806s [--output FILE | --output-directory OUTDIR] 806s FILE [FILE ...] 806s 806s D-Bus code and documentation generator 806s 806s positional arguments: 806s FILE D-Bus introspection XML file 806s 806s options: 806s -h, --help show this help message and exit 806s --interface-prefix PREFIX 806s String to strip from D-Bus interface names for code 806s and docs 806s --c-namespace NAMESPACE 806s The namespace to use for generated C code 806s --c-generate-object-manager 806s Generate a GDBusObjectManagerClient subclass when 806s generating C code 806s --c-generate-autocleanup {none,objects,all} 806s Generate autocleanup support 806s --generate-docbook OUTFILES 806s Generate Docbook in OUTFILES-org.Project.IFace.xml 806s --generate-md OUTFILES 806s Generate Markdown in OUTFILES-org.Project.IFace.md 806s --generate-rst OUTFILES 806s Generate reStructuredText in OUTFILES- 806s org.Project.IFace.rst 806s --pragma-once Use "pragma once" as the inclusion guard 806s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 806s Add annotation (may be used several times) 806s --glib-min-required VERSION 806s Minimum version of GLib to be supported by the 806s outputted code (default: 2.30) 806s --glib-max-allowed VERSION 806s Maximum version of GLib to be used by the outputted 806s code (default: current GLib version) 806s --symbol-decorator SYMBOL_DECORATOR 806s Macro used to decorate a symbol in the outputted 806s header, possibly to export symbols 806s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 806s Additional header required for decorator specified by 806s --symbol-decorator 806s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 806s Additional define required for decorator specified by 806s --symbol-decorator 806s --extension-path EXTENSION_PATH 806s Path to a gdbus-codegen Python extension file 806s (unstable API) 806s --generate-c-code OUTFILES 806s Generate C code in OUTFILES.[ch] 806s --header Generate C headers 806s --body Generate C code 806s --interface-info-header 806s Generate GDBusInterfaceInfo C header 806s --interface-info-body 806s Generate GDBusInterfaceInfo C code 806s --output FILE Write output into the specified file 806s --output-directory OUTDIR 806s Location to output generated files 806s + glib-compile-resources --version 806s 2.87.2 806s + glib-genmarshal --version 806s glib-genmarshal version 2.87.2 806s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 806s You may redistribute copies of glib-genmarshal under the terms of 806s the GNU General Public License which can be found in the 806s GLib source package. Sources, examples and contact 806s information are available at http://www.gtk.org 806s + glib-gettextize --version 806s /usr/bin/glib-gettextize (GNU glib) 2.87.2 806s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 806s This is free software; see the source for copying conditions. There is NO 806s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 806s Written by Ulrich Drepper 806s + glib-mkenums --version 806s glib-mkenums version 2.87.2 806s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 806s You may redistribute copies of glib-mkenums under the terms of 806s the GNU General Public License which can be found in the 806s GLib source package. Sources, examples and contact 806s information are available at http://www.gtk.org 806s + gobject-query tree 806s GObject 806s + gtester --version 806s gtester version 2.87.2 806s + gtester-report --version 806s gtester-report (GLib utils) version 2.87.2. 806s + cd /tmp/autopkgtest.qtYyEL/autopkgtest_tmp 806s + dpkg-architecture -qDEB_HOST_MULTIARCH 806s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 806s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 806s typelib: GLib-2.0 806s + gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 807s + gi-decompile-typelib -o GLib.gir GLib.typelib 807s autopkgtest [16:09:41]: test libglib2.0-dev: -----------------------] 807s libglib2.0-dev PASS (superficial) 807s autopkgtest [16:09:41]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 808s autopkgtest [16:09:42]: test installed-tests: preparing testbed 826s Creating nova instance adt-resolute-arm64-glib2.0-20260208-155614-juju-7f2275-prod-proposed-migration-environment-2-39506472-2474-4f81-9d6f-a5c90893f86d from image adt/ubuntu-resolute-arm64-server-20260208.img (UUID 6a90f08b-9ae6-4f9a-8b8c-98ef3fa8fe0b)... 920s autopkgtest [16:11:34]: testbed dpkg architecture: arm64 920s autopkgtest [16:11:34]: testbed apt version: 3.1.15 921s autopkgtest [16:11:35]: @@@@@@@@@@@@@@@@@@@@ test bed setup 921s autopkgtest [16:11:35]: testbed release detected to be: resolute 922s autopkgtest [16:11:36]: updating testbed package index (apt update) 923s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 923s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 923s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 923s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 923s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [164 kB] 923s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1508 kB] 925s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.9 kB] 925s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [252 kB] 925s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [6608 B] 925s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [120 B] 925s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1445 kB] 928s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [30.6 kB] 928s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [21.5 kB] 928s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [672 B] 929s Fetched 3582 kB in 6s (575 kB/s) 930s Reading package lists... 931s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 931s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 931s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 931s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 932s Reading package lists... 932s Reading package lists... 932s Building dependency tree... 932s Reading state information... 932s Calculating upgrade... 933s The following packages will be upgraded: 933s dpkg dpkg-dev ethtool libbsd0 libdpkg-perl libgdbm-compat4t64 libgdbm6t64 933s libidn2-0 libnetfilter-conntrack3 libusb-1.0-0 libwrap0 shared-mime-info 933s 12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 933s Need to get 3693 kB of archives. 933s After this operation, 2532 kB disk space will be freed. 933s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 dpkg arm64 1.23.5ubuntu1 [1266 kB] 934s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 libbsd0 arm64 0.12.2-2build2 [41.9 kB] 934s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 ethtool arm64 1:6.15-3build1 [300 kB] 934s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 libidn2-0 arm64 2.3.8-4build1 [68.3 kB] 934s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 shared-mime-info arm64 2.4-5build3 [471 kB] 934s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libgdbm6t64 arm64 1.26-1build1 [36.1 kB] 934s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libnetfilter-conntrack3 arm64 1.1.1-1 [47.3 kB] 934s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 libusb-1.0-0 arm64 2:1.0.29-2build1 [55.2 kB] 934s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 dpkg-dev all 1.23.5ubuntu1 [1062 kB] 936s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libdpkg-perl all 1.23.5ubuntu1 [289 kB] 936s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 libgdbm-compat4t64 arm64 1.26-1build1 [6650 B] 936s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libwrap0 arm64 7.6.q-36build2 [49.1 kB] 936s dpkg-preconfigure: unable to re-open stdin: No such file or directory 936s Fetched 3693 kB in 3s (1294 kB/s) 936s (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 ... 136667 files and directories currently installed.) 936s Preparing to unpack .../dpkg_1.23.5ubuntu1_arm64.deb ... 936s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 936s Setting up dpkg (1.23.5ubuntu1) ... 937s (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 ... 136668 files and directories currently installed.) 937s Preparing to unpack .../00-libbsd0_0.12.2-2build2_arm64.deb ... 937s Unpacking libbsd0:arm64 (0.12.2-2build2) over (0.12.2-2build1) ... 937s Preparing to unpack .../01-ethtool_1%3a6.15-3build1_arm64.deb ... 937s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 937s Preparing to unpack .../02-libidn2-0_2.3.8-4build1_arm64.deb ... 937s Unpacking libidn2-0:arm64 (2.3.8-4build1) over (2.3.8-4) ... 937s Preparing to unpack .../03-shared-mime-info_2.4-5build3_arm64.deb ... 937s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 937s Preparing to unpack .../04-libgdbm6t64_1.26-1build1_arm64.deb ... 937s Unpacking libgdbm6t64:arm64 (1.26-1build1) over (1.26-1) ... 937s Preparing to unpack .../05-libnetfilter-conntrack3_1.1.1-1_arm64.deb ... 937s Unpacking libnetfilter-conntrack3:arm64 (1.1.1-1) over (1.1.0-1build1) ... 937s Preparing to unpack .../06-libusb-1.0-0_2%3a1.0.29-2build1_arm64.deb ... 937s Unpacking libusb-1.0-0:arm64 (2:1.0.29-2build1) over (2:1.0.29-2) ... 938s Preparing to unpack .../07-dpkg-dev_1.23.5ubuntu1_all.deb ... 938s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 938s Preparing to unpack .../08-libdpkg-perl_1.23.5ubuntu1_all.deb ... 938s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 938s Preparing to unpack .../09-libgdbm-compat4t64_1.26-1build1_arm64.deb ... 938s Unpacking libgdbm-compat4t64:arm64 (1.26-1build1) over (1.26-1) ... 938s Preparing to unpack .../10-libwrap0_7.6.q-36build2_arm64.deb ... 938s Unpacking libwrap0:arm64 (7.6.q-36build2) over (7.6.q-36build1) ... 938s Setting up libgdbm6t64:arm64 (1.26-1build1) ... 938s Setting up libgdbm-compat4t64:arm64 (1.26-1build1) ... 938s Setting up libidn2-0:arm64 (2.3.8-4build1) ... 938s Setting up libwrap0:arm64 (7.6.q-36build2) ... 938s Setting up shared-mime-info (2.4-5build3) ... 941s Setting up libdpkg-perl (1.23.5ubuntu1) ... 942s Setting up libnetfilter-conntrack3:arm64 (1.1.1-1) ... 942s Setting up libusb-1.0-0:arm64 (2:1.0.29-2build1) ... 942s Setting up libbsd0:arm64 (0.12.2-2build2) ... 942s Setting up ethtool (1:6.15-3build1) ... 942s Setting up dpkg-dev (1.23.5ubuntu1) ... 942s Processing triggers for man-db (2.13.1-1build1) ... 942s Processing triggers for libc-bin (2.42-2ubuntu4) ... 942s autopkgtest [16:11:56]: upgrading testbed (apt dist-upgrade and autopurge) 943s Reading package lists... 943s Building dependency tree... 943s Reading state information... 943s Calculating upgrade... 943s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 944s Reading package lists... 944s Building dependency tree... 944s Reading state information... 944s Solving dependencies... 944s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 945s autopkgtest [16:11:59]: rebooting testbed after setup commands that affected boot 985s Reading package lists... 985s Building dependency tree... 985s Reading state information... 985s Solving dependencies... 986s The following NEW packages will be installed: 986s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 986s gnome-desktop-testing libfontenc1 libgbm1 libgio-2.0-dev-bin libgl1 986s libgl1-mesa-dri libglib2.0-bin libglib2.0-dev-bin libglib2.0-tests libglvnd0 986s libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 libunwind8 libvulkan1 986s libx11-xcb1 libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 986s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 986s libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 986s mesa-libgallium native-architecture python3-dbusmock python3.14 986s python3.14-minimal tzdata-legacy x11-common x11-xkb-utils xserver-common 986s xvfb 986s 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. 986s Need to get 22.0 MB of archives. 986s After this operation, 117 MB of additional disk space will be used. 986s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 python3.14-minimal arm64 3.14.2-1 [2548 kB] 990s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 dbus-x11 arm64 1.16.2-2ubuntu2 [23.1 kB] 990s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 desktop-file-utils arm64 0.28-1build1 [53.5 kB] 990s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 gir1.2-glib-2.0-dev arm64 2.87.2-2 [866 kB] 991s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 native-architecture all 0.2.6build1 [2256 B] 991s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 girepository-tools arm64 2.87.2-2 [104 kB] 991s Get:7 http://ftpmaster.internal/ubuntu resolute/universe arm64 gnome-desktop-testing arm64 2021.1-5 [16.2 kB] 991s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 libfontenc1 arm64 1:1.1.8-1build2 [13.9 kB] 991s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 libx11-xcb1 arm64 2:1.8.12-1build1 [8216 B] 991s Get:10 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-dri3-0 arm64 1.17.0-2ubuntu1 [7624 B] 991s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-present0 arm64 1.17.0-2ubuntu1 [6198 B] 991s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-randr0 arm64 1.17.0-2ubuntu1 [18.1 kB] 991s Get:13 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-sync1 arm64 1.17.0-2ubuntu1 [9620 B] 991s Get:14 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-xfixes0 arm64 1.17.0-2ubuntu1 [10.4 kB] 991s Get:15 http://ftpmaster.internal/ubuntu resolute/main arm64 libxshmfence1 arm64 1.3.3-1build1 [5482 B] 991s Get:16 http://ftpmaster.internal/ubuntu resolute/main arm64 mesa-libgallium arm64 25.3.3-1ubuntu1 [12.1 MB] 1005s Get:17 http://ftpmaster.internal/ubuntu resolute/main arm64 libgbm1 arm64 25.3.3-1ubuntu1 [34.4 kB] 1005s Get:18 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev-bin arm64 2.87.2-2 [130 kB] 1005s Get:19 http://ftpmaster.internal/ubuntu resolute/main arm64 libvulkan1 arm64 1.4.335.0-1 [171 kB] 1005s Get:20 http://ftpmaster.internal/ubuntu resolute/main arm64 libgl1-mesa-dri arm64 25.3.3-1ubuntu1 [36.4 kB] 1005s Get:21 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-bin arm64 2.87.2-2 [98.1 kB] 1005s Get:22 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-dev-bin arm64 2.87.2-2 [18.1 kB] 1005s Get:23 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-dbusmock all 0.38.1-1 [92.0 kB] 1005s Get:24 http://ftpmaster.internal/ubuntu resolute/main arm64 tzdata-legacy all 2025c-3ubuntu3 [99.3 kB] 1005s Get:25 http://ftpmaster.internal/ubuntu resolute/main arm64 python3.14 arm64 3.14.2-1 [816 kB] 1007s Get:26 http://ftpmaster.internal/ubuntu resolute/universe arm64 libglib2.0-tests arm64 2.87.2-2 [2297 kB] 1010s Get:27 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-glx0 arm64 1.17.0-2ubuntu1 [25.1 kB] 1010s Get:28 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-shm0 arm64 1.17.0-2ubuntu1 [5938 B] 1010s Get:29 http://ftpmaster.internal/ubuntu resolute/main arm64 libxxf86vm1 arm64 1:1.1.4-2 [10.2 kB] 1010s Get:30 http://ftpmaster.internal/ubuntu resolute/main arm64 libglx-mesa0 arm64 25.3.3-1ubuntu1 [110 kB] 1010s Get:31 http://ftpmaster.internal/ubuntu resolute/main arm64 x11-common all 1:7.7+24ubuntu1 [22.4 kB] 1010s Get:32 http://ftpmaster.internal/ubuntu resolute/main arm64 libice6 arm64 2:1.1.1-1build1 [43.0 kB] 1010s Get:33 http://ftpmaster.internal/ubuntu resolute/main arm64 libpixman-1-0 arm64 0.46.4-1 [204 kB] 1010s Get:34 http://ftpmaster.internal/ubuntu resolute/main arm64 libsm6 arm64 2:1.2.6-1build1 [16.8 kB] 1010s Get:35 http://ftpmaster.internal/ubuntu resolute/main arm64 libunwind8 arm64 1.8.3-0ubuntu1 [60.8 kB] 1010s Get:36 http://ftpmaster.internal/ubuntu resolute/main arm64 libxt6t64 arm64 1:1.2.1-1.3 [168 kB] 1010s Get:37 http://ftpmaster.internal/ubuntu resolute/main arm64 libxmu6 arm64 2:1.1.3-4 [47.6 kB] 1010s Get:38 http://ftpmaster.internal/ubuntu resolute/main arm64 libxpm4 arm64 1:3.5.17-1build3 [35.5 kB] 1010s Get:39 http://ftpmaster.internal/ubuntu resolute/main arm64 libxaw7 arm64 2:1.0.16-1build1 [183 kB] 1010s Get:40 http://ftpmaster.internal/ubuntu resolute/main arm64 libxfont2 arm64 1:2.0.6-2 [90.8 kB] 1010s Get:41 http://ftpmaster.internal/ubuntu resolute/main arm64 libxkbfile1 arm64 1:1.1.0-1build5 [69.0 kB] 1010s Get:42 http://ftpmaster.internal/ubuntu resolute/main arm64 libxrender1 arm64 1:0.9.12-1 [19.5 kB] 1010s Get:43 http://ftpmaster.internal/ubuntu resolute/main arm64 libxrandr2 arm64 2:1.5.4-1build1 [19.1 kB] 1010s Get:44 http://ftpmaster.internal/ubuntu resolute/main arm64 x11-xkb-utils arm64 7.7+9build1 [165 kB] 1010s Get:45 http://ftpmaster.internal/ubuntu resolute/main arm64 xserver-common all 2:21.1.21-1ubuntu1 [34.8 kB] 1010s Get:46 http://ftpmaster.internal/ubuntu resolute/main arm64 libglvnd0 arm64 1.7.0-3 [57.9 kB] 1010s Get:47 http://ftpmaster.internal/ubuntu resolute/main arm64 libglx0 arm64 1.7.0-3 [33.0 kB] 1010s Get:48 http://ftpmaster.internal/ubuntu resolute/main arm64 libgl1 arm64 1.7.0-3 [102 kB] 1010s Get:49 http://ftpmaster.internal/ubuntu resolute/universe arm64 xvfb arm64 2:21.1.21-1ubuntu1 [872 kB] 1011s Fetched 22.0 MB in 25s (885 kB/s) 1011s Selecting previously unselected package python3.14-minimal. 1011s (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 ... 136578 files and directories currently installed.) 1011s Preparing to unpack .../00-python3.14-minimal_3.14.2-1_arm64.deb ... 1011s Unpacking python3.14-minimal (3.14.2-1) ... 1011s Selecting previously unselected package dbus-x11. 1012s Preparing to unpack .../01-dbus-x11_1.16.2-2ubuntu2_arm64.deb ... 1012s Unpacking dbus-x11 (1.16.2-2ubuntu2) ... 1012s Selecting previously unselected package desktop-file-utils. 1012s Preparing to unpack .../02-desktop-file-utils_0.28-1build1_arm64.deb ... 1012s Unpacking desktop-file-utils (0.28-1build1) ... 1012s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 1012s Preparing to unpack .../03-gir1.2-glib-2.0-dev_2.87.2-2_arm64.deb ... 1012s Unpacking gir1.2-glib-2.0-dev:arm64 (2.87.2-2) ... 1012s Selecting previously unselected package native-architecture. 1012s Preparing to unpack .../04-native-architecture_0.2.6build1_all.deb ... 1012s Unpacking native-architecture (0.2.6build1) ... 1012s Selecting previously unselected package girepository-tools:arm64. 1012s Preparing to unpack .../05-girepository-tools_2.87.2-2_arm64.deb ... 1012s Unpacking girepository-tools:arm64 (2.87.2-2) ... 1012s Selecting previously unselected package gnome-desktop-testing. 1012s Preparing to unpack .../06-gnome-desktop-testing_2021.1-5_arm64.deb ... 1012s Unpacking gnome-desktop-testing (2021.1-5) ... 1012s Selecting previously unselected package libfontenc1:arm64. 1012s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build2_arm64.deb ... 1012s Unpacking libfontenc1:arm64 (1:1.1.8-1build2) ... 1012s Selecting previously unselected package libx11-xcb1:arm64. 1012s Preparing to unpack .../08-libx11-xcb1_2%3a1.8.12-1build1_arm64.deb ... 1012s Unpacking libx11-xcb1:arm64 (2:1.8.12-1build1) ... 1012s Selecting previously unselected package libxcb-dri3-0:arm64. 1012s Preparing to unpack .../09-libxcb-dri3-0_1.17.0-2ubuntu1_arm64.deb ... 1012s Unpacking libxcb-dri3-0:arm64 (1.17.0-2ubuntu1) ... 1012s Selecting previously unselected package libxcb-present0:arm64. 1012s Preparing to unpack .../10-libxcb-present0_1.17.0-2ubuntu1_arm64.deb ... 1012s Unpacking libxcb-present0:arm64 (1.17.0-2ubuntu1) ... 1012s Selecting previously unselected package libxcb-randr0:arm64. 1012s Preparing to unpack .../11-libxcb-randr0_1.17.0-2ubuntu1_arm64.deb ... 1012s Unpacking libxcb-randr0:arm64 (1.17.0-2ubuntu1) ... 1012s Selecting previously unselected package libxcb-sync1:arm64. 1012s Preparing to unpack .../12-libxcb-sync1_1.17.0-2ubuntu1_arm64.deb ... 1012s Unpacking libxcb-sync1:arm64 (1.17.0-2ubuntu1) ... 1012s Selecting previously unselected package libxcb-xfixes0:arm64. 1012s Preparing to unpack .../13-libxcb-xfixes0_1.17.0-2ubuntu1_arm64.deb ... 1012s Unpacking libxcb-xfixes0:arm64 (1.17.0-2ubuntu1) ... 1012s Selecting previously unselected package libxshmfence1:arm64. 1012s Preparing to unpack .../14-libxshmfence1_1.3.3-1build1_arm64.deb ... 1012s Unpacking libxshmfence1:arm64 (1.3.3-1build1) ... 1012s Selecting previously unselected package mesa-libgallium:arm64. 1012s Preparing to unpack .../15-mesa-libgallium_25.3.3-1ubuntu1_arm64.deb ... 1012s Unpacking mesa-libgallium:arm64 (25.3.3-1ubuntu1) ... 1012s Selecting previously unselected package libgbm1:arm64. 1012s Preparing to unpack .../16-libgbm1_25.3.3-1ubuntu1_arm64.deb ... 1012s Unpacking libgbm1:arm64 (25.3.3-1ubuntu1) ... 1012s Selecting previously unselected package libgio-2.0-dev-bin. 1012s Preparing to unpack .../17-libgio-2.0-dev-bin_2.87.2-2_arm64.deb ... 1012s Unpacking libgio-2.0-dev-bin (2.87.2-2) ... 1012s Selecting previously unselected package libvulkan1:arm64. 1012s Preparing to unpack .../18-libvulkan1_1.4.335.0-1_arm64.deb ... 1012s Unpacking libvulkan1:arm64 (1.4.335.0-1) ... 1012s Selecting previously unselected package libgl1-mesa-dri:arm64. 1012s Preparing to unpack .../19-libgl1-mesa-dri_25.3.3-1ubuntu1_arm64.deb ... 1012s Unpacking libgl1-mesa-dri:arm64 (25.3.3-1ubuntu1) ... 1012s Selecting previously unselected package libglib2.0-bin. 1012s Preparing to unpack .../20-libglib2.0-bin_2.87.2-2_arm64.deb ... 1012s Unpacking libglib2.0-bin (2.87.2-2) ... 1013s Selecting previously unselected package libglib2.0-dev-bin. 1013s Preparing to unpack .../21-libglib2.0-dev-bin_2.87.2-2_arm64.deb ... 1013s Unpacking libglib2.0-dev-bin (2.87.2-2) ... 1013s Selecting previously unselected package python3-dbusmock. 1013s Preparing to unpack .../22-python3-dbusmock_0.38.1-1_all.deb ... 1013s Unpacking python3-dbusmock (0.38.1-1) ... 1013s Selecting previously unselected package tzdata-legacy. 1013s Preparing to unpack .../23-tzdata-legacy_2025c-3ubuntu3_all.deb ... 1013s Unpacking tzdata-legacy (2025c-3ubuntu3) ... 1013s Selecting previously unselected package python3.14. 1013s Preparing to unpack .../24-python3.14_3.14.2-1_arm64.deb ... 1013s Unpacking python3.14 (3.14.2-1) ... 1013s Selecting previously unselected package libglib2.0-tests. 1013s Preparing to unpack .../25-libglib2.0-tests_2.87.2-2_arm64.deb ... 1013s Unpacking libglib2.0-tests (2.87.2-2) ... 1013s Selecting previously unselected package libxcb-glx0:arm64. 1013s Preparing to unpack .../26-libxcb-glx0_1.17.0-2ubuntu1_arm64.deb ... 1013s Unpacking libxcb-glx0:arm64 (1.17.0-2ubuntu1) ... 1013s Selecting previously unselected package libxcb-shm0:arm64. 1013s Preparing to unpack .../27-libxcb-shm0_1.17.0-2ubuntu1_arm64.deb ... 1013s Unpacking libxcb-shm0:arm64 (1.17.0-2ubuntu1) ... 1013s Selecting previously unselected package libxxf86vm1:arm64. 1013s Preparing to unpack .../28-libxxf86vm1_1%3a1.1.4-2_arm64.deb ... 1013s Unpacking libxxf86vm1:arm64 (1:1.1.4-2) ... 1013s Selecting previously unselected package libglx-mesa0:arm64. 1013s Preparing to unpack .../29-libglx-mesa0_25.3.3-1ubuntu1_arm64.deb ... 1013s Unpacking libglx-mesa0:arm64 (25.3.3-1ubuntu1) ... 1013s Selecting previously unselected package x11-common. 1013s Preparing to unpack .../30-x11-common_1%3a7.7+24ubuntu1_all.deb ... 1013s Unpacking x11-common (1:7.7+24ubuntu1) ... 1013s Selecting previously unselected package libice6:arm64. 1013s Preparing to unpack .../31-libice6_2%3a1.1.1-1build1_arm64.deb ... 1013s Unpacking libice6:arm64 (2:1.1.1-1build1) ... 1013s Selecting previously unselected package libpixman-1-0:arm64. 1013s Preparing to unpack .../32-libpixman-1-0_0.46.4-1_arm64.deb ... 1013s Unpacking libpixman-1-0:arm64 (0.46.4-1) ... 1013s Selecting previously unselected package libsm6:arm64. 1013s Preparing to unpack .../33-libsm6_2%3a1.2.6-1build1_arm64.deb ... 1013s Unpacking libsm6:arm64 (2:1.2.6-1build1) ... 1013s Selecting previously unselected package libunwind8:arm64. 1013s Preparing to unpack .../34-libunwind8_1.8.3-0ubuntu1_arm64.deb ... 1013s Unpacking libunwind8:arm64 (1.8.3-0ubuntu1) ... 1013s Selecting previously unselected package libxt6t64:arm64. 1013s Preparing to unpack .../35-libxt6t64_1%3a1.2.1-1.3_arm64.deb ... 1013s Unpacking libxt6t64:arm64 (1:1.2.1-1.3) ... 1013s Selecting previously unselected package libxmu6:arm64. 1013s Preparing to unpack .../36-libxmu6_2%3a1.1.3-4_arm64.deb ... 1013s Unpacking libxmu6:arm64 (2:1.1.3-4) ... 1013s Selecting previously unselected package libxpm4:arm64. 1013s Preparing to unpack .../37-libxpm4_1%3a3.5.17-1build3_arm64.deb ... 1013s Unpacking libxpm4:arm64 (1:3.5.17-1build3) ... 1013s Selecting previously unselected package libxaw7:arm64. 1013s Preparing to unpack .../38-libxaw7_2%3a1.0.16-1build1_arm64.deb ... 1013s Unpacking libxaw7:arm64 (2:1.0.16-1build1) ... 1013s Selecting previously unselected package libxfont2:arm64. 1013s Preparing to unpack .../39-libxfont2_1%3a2.0.6-2_arm64.deb ... 1013s Unpacking libxfont2:arm64 (1:2.0.6-2) ... 1013s Selecting previously unselected package libxkbfile1:arm64. 1013s Preparing to unpack .../40-libxkbfile1_1%3a1.1.0-1build5_arm64.deb ... 1013s Unpacking libxkbfile1:arm64 (1:1.1.0-1build5) ... 1013s Selecting previously unselected package libxrender1:arm64. 1014s Preparing to unpack .../41-libxrender1_1%3a0.9.12-1_arm64.deb ... 1014s Unpacking libxrender1:arm64 (1:0.9.12-1) ... 1014s Selecting previously unselected package libxrandr2:arm64. 1014s Preparing to unpack .../42-libxrandr2_2%3a1.5.4-1build1_arm64.deb ... 1014s Unpacking libxrandr2:arm64 (2:1.5.4-1build1) ... 1014s Selecting previously unselected package x11-xkb-utils. 1014s Preparing to unpack .../43-x11-xkb-utils_7.7+9build1_arm64.deb ... 1014s Unpacking x11-xkb-utils (7.7+9build1) ... 1014s Selecting previously unselected package xserver-common. 1014s Preparing to unpack .../44-xserver-common_2%3a21.1.21-1ubuntu1_all.deb ... 1014s Unpacking xserver-common (2:21.1.21-1ubuntu1) ... 1014s Selecting previously unselected package libglvnd0:arm64. 1014s Preparing to unpack .../45-libglvnd0_1.7.0-3_arm64.deb ... 1014s Unpacking libglvnd0:arm64 (1.7.0-3) ... 1014s Selecting previously unselected package libglx0:arm64. 1014s Preparing to unpack .../46-libglx0_1.7.0-3_arm64.deb ... 1014s Unpacking libglx0:arm64 (1.7.0-3) ... 1014s Selecting previously unselected package libgl1:arm64. 1014s Preparing to unpack .../47-libgl1_1.7.0-3_arm64.deb ... 1014s Unpacking libgl1:arm64 (1.7.0-3) ... 1014s Selecting previously unselected package xvfb. 1014s Preparing to unpack .../48-xvfb_2%3a21.1.21-1ubuntu1_arm64.deb ... 1014s Unpacking xvfb (2:21.1.21-1ubuntu1) ... 1014s Setting up gnome-desktop-testing (2021.1-5) ... 1014s Setting up libxcb-dri3-0:arm64 (1.17.0-2ubuntu1) ... 1014s Setting up libpixman-1-0:arm64 (0.46.4-1) ... 1014s Setting up libx11-xcb1:arm64 (2:1.8.12-1build1) ... 1014s Setting up libgio-2.0-dev-bin (2.87.2-2) ... 1014s Setting up native-architecture (0.2.6build1) ... 1014s Setting up libxcb-xfixes0:arm64 (1.17.0-2ubuntu1) ... 1014s Setting up desktop-file-utils (0.28-1build1) ... 1014s Setting up libxpm4:arm64 (1:3.5.17-1build3) ... 1014s Setting up libxrender1:arm64 (1:0.9.12-1) ... 1014s Setting up libglvnd0:arm64 (1.7.0-3) ... 1014s Setting up libxcb-glx0:arm64 (1.17.0-2ubuntu1) ... 1014s Setting up x11-common (1:7.7+24ubuntu1) ... 1014s Setting up libglib2.0-bin (2.87.2-2) ... 1014s Setting up libxcb-shm0:arm64 (1.17.0-2ubuntu1) ... 1014s Setting up python3-dbusmock (0.38.1-1) ... 1015s Setting up libunwind8:arm64 (1.8.3-0ubuntu1) ... 1015s Setting up tzdata-legacy (2025c-3ubuntu3) ... 1015s Setting up libxxf86vm1:arm64 (1:1.1.4-2) ... 1015s Setting up libxcb-present0:arm64 (1.17.0-2ubuntu1) ... 1015s Setting up libfontenc1:arm64 (1:1.1.8-1build2) ... 1015s Setting up libxcb-sync1:arm64 (1.17.0-2ubuntu1) ... 1015s Setting up libxrandr2:arm64 (2:1.5.4-1build1) ... 1015s Setting up libvulkan1:arm64 (1.4.335.0-1) ... 1015s Setting up gir1.2-glib-2.0-dev:arm64 (2.87.2-2) ... 1015s Setting up libxshmfence1:arm64 (1.3.3-1build1) ... 1015s Setting up dbus-x11 (1.16.2-2ubuntu2) ... 1015s Setting up libxcb-randr0:arm64 (1.17.0-2ubuntu1) ... 1015s Setting up libxkbfile1:arm64 (1:1.1.0-1build5) ... 1015s Setting up libxfont2:arm64 (1:2.0.6-2) ... 1015s Setting up python3.14-minimal (3.14.2-1) ... 1016s Setting up libice6:arm64 (2:1.1.1-1build1) ... 1016s Setting up mesa-libgallium:arm64 (25.3.3-1ubuntu1) ... 1016s Setting up girepository-tools:arm64 (2.87.2-2) ... 1016s Setting up libgbm1:arm64 (25.3.3-1ubuntu1) ... 1016s Setting up libgl1-mesa-dri:arm64 (25.3.3-1ubuntu1) ... 1016s Setting up python3.14 (3.14.2-1) ... 1017s Setting up libsm6:arm64 (2:1.2.6-1build1) ... 1017s Setting up libglib2.0-dev-bin (2.87.2-2) ... 1017s Setting up libglx-mesa0:arm64 (25.3.3-1ubuntu1) ... 1017s Setting up libglx0:arm64 (1.7.0-3) ... 1017s Setting up libgl1:arm64 (1.7.0-3) ... 1017s Setting up libxt6t64:arm64 (1:1.2.1-1.3) ... 1017s Setting up libglib2.0-tests (2.87.2-2) ... 1017s Setting up libxmu6:arm64 (2:1.1.3-4) ... 1017s Setting up libxaw7:arm64 (2:1.0.16-1build1) ... 1017s Setting up x11-xkb-utils (7.7+9build1) ... 1017s Setting up xserver-common (2:21.1.21-1ubuntu1) ... 1017s Setting up xvfb (2:21.1.21-1ubuntu1) ... 1017s Processing triggers for systemd (259-1ubuntu3) ... 1017s Processing triggers for man-db (2.13.1-1build1) ... 1018s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1024s autopkgtest [16:13:18]: test installed-tests: [----------------------- 1024s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 1024s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 1024s group entry: ubuntu:x:1000: 1024s Environment: 1024s ADTTMP=/tmp/autopkgtest.qtYyEL/autopkgtest_tmp 1024s ADT_ARTIFACTS=/tmp/autopkgtest.qtYyEL/installed-tests-artifacts 1024s ADT_TEST_TRIGGERS=dpkg/1.23.5ubuntu1 1024s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.qtYyEL/installed-tests-artifacts 1024s AUTOPKGTEST_TESTBED_ARCH=arm64 1024s AUTOPKGTEST_TEST_ARCH=arm64 1024s AUTOPKGTEST_TMP=/tmp/autopkgtest.qtYyEL/autopkgtest_tmp 1024s DEBIAN_FRONTEND=noninteractive 1024s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 1024s DEB_BUILD_OPTIONS=parallel=2 1024s GIO_USE_VFS=local 1024s GIO_USE_VOLUME_MONITOR=unix 1024s HOME=/home/ubuntu 1024s LANG=C.UTF-8 1024s LOGNAME=ubuntu 1024s MAIL=/var/mail/ubuntu 1024s OLDPWD=/home/ubuntu 1024s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 1024s PWD=/tmp/autopkgtest.qtYyEL/build.NtZ/src 1024s SHELL=/bin/bash 1024s SHLVL=1 1024s SUDO_COMMAND=/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.qtYyEL/wrapper.sh --artifacts=/tmp/autopkgtest.qtYyEL/installed-tests-artifacts --chdir=/tmp/autopkgtest.qtYyEL/build.NtZ/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.qtYyEL/installed-tests-stderr --stdout=/tmp/autopkgtest.qtYyEL/installed-tests-stdout --tmp=/tmp/autopkgtest.qtYyEL/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=dpkg/1.23.5ubuntu1 --make-executable=/tmp/autopkgtest.qtYyEL/build.NtZ/src/debian/tests/installed-tests -- /tmp/autopkgtest.qtYyEL/build.NtZ/src/debian/tests/installed-tests 1024s SUDO_GID=1000 1024s SUDO_HOME=/home/ubuntu 1024s SUDO_UID=1000 1024s SUDO_USER=ubuntu 1024s TERM=linux 1024s USER=ubuntu 1024s XDG_RUNTIME_DIR=/tmp/autopkgtest.qtYyEL/autopkgtest_tmp 1024s http_proxy=http://egress.ps7.internal:3128/ 1024s https_proxy=http://egress.ps7.internal:3128/ 1024s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain 1024s run-with-locales: de_DE=ISO-8859-1... 1024s Character set: ISO-8859-1 1024s Source file: de_DE 1024s Output: /tmp/tmp.JLd4XLUII6/de_DE 1025s run-with-locales: de_DE.utf8... 1025s Character set: UTF-8 1025s Source file: de_DE 1025s Output: /tmp/tmp.JLd4XLUII6/de_DE.utf8 1027s run-with-locales: de_DE@euro.utf8... 1027s Character set: UTF-8 1027s Source file: de_DE@euro 1027s Output: /tmp/tmp.JLd4XLUII6/de_DE@euro.utf8 1029s run-with-locales: el_GR.utf8... 1029s Character set: UTF-8 1029s Source file: el_GR 1029s Output: /tmp/tmp.JLd4XLUII6/el_GR.utf8 1030s run-with-locales: en_GB=ISO-8859-1... 1030s Character set: ISO-8859-1 1030s Source file: en_GB 1030s Output: /tmp/tmp.JLd4XLUII6/en_GB 1031s run-with-locales: en_GB.utf8... 1031s Character set: UTF-8 1031s Source file: en_GB 1031s Output: /tmp/tmp.JLd4XLUII6/en_GB.utf8 1033s run-with-locales: en_US=ISO-8859-1... 1033s Character set: ISO-8859-1 1033s Source file: en_US 1033s Output: /tmp/tmp.JLd4XLUII6/en_US 1033s run-with-locales: en_US.utf8... 1033s Character set: UTF-8 1033s Source file: en_US 1033s Output: /tmp/tmp.JLd4XLUII6/en_US.utf8 1035s run-with-locales: es_ES.utf8... 1035s Character set: UTF-8 1035s Source file: es_ES 1035s Output: /tmp/tmp.JLd4XLUII6/es_ES.utf8 1037s run-with-locales: fa_IR=UTF-8... 1037s Character set: UTF-8 1037s Source file: fa_IR 1037s Output: /tmp/tmp.JLd4XLUII6/fa_IR 1038s run-with-locales: fa_IR.utf8... 1038s Character set: UTF-8 1038s Source file: fa_IR 1038s Output: /tmp/tmp.JLd4XLUII6/fa_IR.utf8 1040s run-with-locales: fr_FR.utf8... 1040s Character set: UTF-8 1040s Source file: fr_FR 1040s Output: /tmp/tmp.JLd4XLUII6/fr_FR.utf8 1042s run-with-locales: hr_HR.utf8... 1042s Character set: UTF-8 1042s Source file: hr_HR 1042s Output: /tmp/tmp.JLd4XLUII6/hr_HR.utf8 1044s run-with-locales: ja_JP.utf8... 1044s Character set: UTF-8 1044s Source file: ja_JP 1044s Output: /tmp/tmp.JLd4XLUII6/ja_JP.utf8 1045s run-with-locales: ja_JP.EUC-JP... 1045s Character set: EUC-JP 1045s Source file: ja_JP 1045s Output: /tmp/tmp.JLd4XLUII6/ja_JP.eucjp 1045s run-with-locales: lt_LT.utf8... 1045s Character set: UTF-8 1045s Source file: lt_LT 1045s Output: /tmp/tmp.JLd4XLUII6/lt_LT.utf8 1047s run-with-locales: pl_PL=ISO-8859-2... 1047s Character set: ISO-8859-2 1047s Source file: pl_PL 1047s Output: /tmp/tmp.JLd4XLUII6/pl_PL 1048s run-with-locales: pl_PL.ISO-8859-2... 1048s Character set: ISO-8859-2 1048s Source file: pl_PL 1048s Output: /tmp/tmp.JLd4XLUII6/pl_PL.iso88592 1048s run-with-locales: pl_PL.utf8... 1048s Character set: UTF-8 1048s Source file: pl_PL 1048s Output: /tmp/tmp.JLd4XLUII6/pl_PL.utf8 1050s run-with-locales: ru_RU=ISO-8859-5... 1050s Character set: ISO-8859-5 1050s Source file: ru_RU 1050s Output: /tmp/tmp.JLd4XLUII6/ru_RU 1050s run-with-locales: ru_RU.utf8... 1050s Character set: UTF-8 1050s Source file: ru_RU 1050s Output: /tmp/tmp.JLd4XLUII6/ru_RU.utf8 1053s run-with-locales: sr_RS=UTF-8... 1053s Character set: UTF-8 1053s Source file: sr_RS 1053s Output: /tmp/tmp.JLd4XLUII6/sr_RS 1054s run-with-locales: sr_RS@latin=UTF-8... 1054s Character set: UTF-8 1054s Source file: sr_RS@latin 1054s Output: /tmp/tmp.JLd4XLUII6/sr_RS@latin 1056s run-with-locales: sv_SE=ISO-8859-1... 1056s Character set: ISO-8859-1 1056s Source file: sv_SE 1056s Output: /tmp/tmp.JLd4XLUII6/sv_SE 1056s run-with-locales: sv_SE.utf8... 1056s Character set: UTF-8 1056s Source file: sv_SE 1056s Output: /tmp/tmp.JLd4XLUII6/sv_SE.utf8 1058s run-with-locales: tr_TR=ISO-8859-9... 1058s Character set: ISO-8859-9 1058s Source file: tr_TR 1058s Output: /tmp/tmp.JLd4XLUII6/tr_TR 1058s run-with-locales: tr_TR.utf8... 1058s Character set: UTF-8 1058s Source file: tr_TR 1058s Output: /tmp/tmp.JLd4XLUII6/tr_TR.utf8 1060s run-with-locales: tt_RU=UTF-8... 1060s Character set: UTF-8 1060s Source file: tt_RU 1060s Output: /tmp/tmp.JLd4XLUII6/tt_RU 1062s run-with-locales: tt_RU.utf8... 1062s Character set: UTF-8 1062s Source file: tt_RU 1062s Output: /tmp/tmp.JLd4XLUII6/tt_RU.utf8 1064s run-with-locales: tt_RU@iqtelif=UTF-8... 1064s Character set: UTF-8 1064s Source file: tt_RU@iqtelif 1064s Output: /tmp/tmp.JLd4XLUII6/tt_RU@iqtelif 1066s /tmp/tmp.JLd4XLUII6 1066s /tmp/tmp.JLd4XLUII6/sr_RS 1066s /tmp/tmp.JLd4XLUII6/sr_RS/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/sr_RS/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/sr_RS/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/sr_RS/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/sr_RS/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/sr_RS/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/sr_RS/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/sr_RS/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/sr_RS/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/sr_RS/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/sr_RS/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/sr_RS/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/de_DE.utf8 1066s /tmp/tmp.JLd4XLUII6/de_DE.utf8/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/de_DE.utf8/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/de_DE.utf8/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/de_DE.utf8/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/de_DE.utf8/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/de_DE.utf8/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/de_DE.utf8/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/de_DE.utf8/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/de_DE.utf8/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/de_DE.utf8/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/de_DE.utf8/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/de_DE.utf8/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/pl_PL.iso88592 1066s /tmp/tmp.JLd4XLUII6/pl_PL.iso88592/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/pl_PL.iso88592/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/pl_PL.iso88592/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/pl_PL.iso88592/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/pl_PL.iso88592/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/pl_PL.iso88592/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/pl_PL.iso88592/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/pl_PL.iso88592/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/pl_PL.iso88592/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/pl_PL.iso88592/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/pl_PL.iso88592/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/pl_PL.iso88592/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/tt_RU.utf8 1066s /tmp/tmp.JLd4XLUII6/tt_RU.utf8/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/tt_RU.utf8/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/tt_RU.utf8/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/tt_RU.utf8/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/tt_RU.utf8/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/tt_RU.utf8/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/tt_RU.utf8/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/tt_RU.utf8/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/tt_RU.utf8/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/tt_RU.utf8/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/tt_RU.utf8/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/tt_RU.utf8/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/de_DE@euro.utf8 1066s /tmp/tmp.JLd4XLUII6/de_DE@euro.utf8/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/de_DE@euro.utf8/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/de_DE@euro.utf8/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/de_DE@euro.utf8/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/de_DE@euro.utf8/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/de_DE@euro.utf8/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/de_DE@euro.utf8/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/de_DE@euro.utf8/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/de_DE@euro.utf8/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/de_DE@euro.utf8/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/de_DE@euro.utf8/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/de_DE@euro.utf8/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/pl_PL.utf8 1066s /tmp/tmp.JLd4XLUII6/pl_PL.utf8/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/pl_PL.utf8/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/pl_PL.utf8/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/pl_PL.utf8/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/pl_PL.utf8/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/pl_PL.utf8/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/pl_PL.utf8/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/pl_PL.utf8/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/pl_PL.utf8/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/pl_PL.utf8/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/pl_PL.utf8/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/pl_PL.utf8/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/sv_SE 1066s /tmp/tmp.JLd4XLUII6/sv_SE/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/sv_SE/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/sv_SE/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/sv_SE/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/sv_SE/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/sv_SE/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/sv_SE/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/sv_SE/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/sv_SE/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/sv_SE/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/sv_SE/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/sv_SE/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/es_ES.utf8 1066s /tmp/tmp.JLd4XLUII6/es_ES.utf8/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/es_ES.utf8/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/es_ES.utf8/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/es_ES.utf8/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/es_ES.utf8/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/es_ES.utf8/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/es_ES.utf8/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/es_ES.utf8/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/es_ES.utf8/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/es_ES.utf8/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/es_ES.utf8/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/es_ES.utf8/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/pl_PL 1066s /tmp/tmp.JLd4XLUII6/pl_PL/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/pl_PL/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/pl_PL/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/pl_PL/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/pl_PL/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/pl_PL/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/pl_PL/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/pl_PL/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/pl_PL/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/pl_PL/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/pl_PL/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/pl_PL/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/tr_TR.utf8 1066s /tmp/tmp.JLd4XLUII6/tr_TR.utf8/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/tr_TR.utf8/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/tr_TR.utf8/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/tr_TR.utf8/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/tr_TR.utf8/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/tr_TR.utf8/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/tr_TR.utf8/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/tr_TR.utf8/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/tr_TR.utf8/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/tr_TR.utf8/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/tr_TR.utf8/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/tr_TR.utf8/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/tr_TR 1066s /tmp/tmp.JLd4XLUII6/tr_TR/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/tr_TR/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/tr_TR/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/tr_TR/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/tr_TR/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/tr_TR/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/tr_TR/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/tr_TR/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/tr_TR/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/tr_TR/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/tr_TR/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/tr_TR/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/en_GB.utf8 1066s /tmp/tmp.JLd4XLUII6/en_GB.utf8/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/en_GB.utf8/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/en_GB.utf8/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/en_GB.utf8/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/en_GB.utf8/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/en_GB.utf8/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/en_GB.utf8/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/en_GB.utf8/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/en_GB.utf8/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/en_GB.utf8/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/en_GB.utf8/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/en_GB.utf8/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/en_US.utf8 1066s /tmp/tmp.JLd4XLUII6/en_US.utf8/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/en_US.utf8/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/en_US.utf8/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/en_US.utf8/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/en_US.utf8/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/en_US.utf8/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/en_US.utf8/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/en_US.utf8/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/en_US.utf8/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/en_US.utf8/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/en_US.utf8/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/en_US.utf8/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/sv_SE.utf8 1066s /tmp/tmp.JLd4XLUII6/sv_SE.utf8/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/sv_SE.utf8/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/sv_SE.utf8/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/sv_SE.utf8/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/sv_SE.utf8/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/sv_SE.utf8/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/sv_SE.utf8/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/sv_SE.utf8/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/sv_SE.utf8/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/sv_SE.utf8/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/sv_SE.utf8/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/sv_SE.utf8/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/lt_LT.utf8 1066s /tmp/tmp.JLd4XLUII6/lt_LT.utf8/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/lt_LT.utf8/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/lt_LT.utf8/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/lt_LT.utf8/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/lt_LT.utf8/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/lt_LT.utf8/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/lt_LT.utf8/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/lt_LT.utf8/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/lt_LT.utf8/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/lt_LT.utf8/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/lt_LT.utf8/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/lt_LT.utf8/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/sr_RS@latin 1066s /tmp/tmp.JLd4XLUII6/sr_RS@latin/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/sr_RS@latin/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/sr_RS@latin/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/sr_RS@latin/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/sr_RS@latin/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/sr_RS@latin/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/sr_RS@latin/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/sr_RS@latin/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/sr_RS@latin/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/sr_RS@latin/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/sr_RS@latin/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/sr_RS@latin/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/ru_RU 1066s /tmp/tmp.JLd4XLUII6/ru_RU/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/ru_RU/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/ru_RU/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/ru_RU/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/ru_RU/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/ru_RU/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/ru_RU/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/ru_RU/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/ru_RU/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/ru_RU/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/ru_RU/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/ru_RU/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/hr_HR.utf8 1066s /tmp/tmp.JLd4XLUII6/hr_HR.utf8/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/hr_HR.utf8/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/hr_HR.utf8/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/hr_HR.utf8/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/hr_HR.utf8/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/hr_HR.utf8/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/hr_HR.utf8/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/hr_HR.utf8/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/hr_HR.utf8/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/hr_HR.utf8/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/hr_HR.utf8/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/hr_HR.utf8/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/fa_IR.utf8 1066s /tmp/tmp.JLd4XLUII6/fa_IR.utf8/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/fa_IR.utf8/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/fa_IR.utf8/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/fa_IR.utf8/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/fa_IR.utf8/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/fa_IR.utf8/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/fa_IR.utf8/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/fa_IR.utf8/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/fa_IR.utf8/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/fa_IR.utf8/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/fa_IR.utf8/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/fa_IR.utf8/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/en_US 1066s /tmp/tmp.JLd4XLUII6/en_US/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/en_US/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/en_US/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/en_US/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/en_US/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/en_US/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/en_US/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/en_US/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/en_US/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/en_US/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/en_US/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/en_US/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/ja_JP.eucjp 1066s /tmp/tmp.JLd4XLUII6/ja_JP.eucjp/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/ja_JP.eucjp/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/ja_JP.eucjp/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/ja_JP.eucjp/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/ja_JP.eucjp/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/ja_JP.eucjp/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/ja_JP.eucjp/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/ja_JP.eucjp/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/ja_JP.eucjp/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/ja_JP.eucjp/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/ja_JP.eucjp/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/ja_JP.eucjp/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/fr_FR.utf8 1066s /tmp/tmp.JLd4XLUII6/fr_FR.utf8/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/fr_FR.utf8/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/fr_FR.utf8/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/fr_FR.utf8/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/fr_FR.utf8/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/fr_FR.utf8/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/fr_FR.utf8/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/fr_FR.utf8/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/fr_FR.utf8/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/fr_FR.utf8/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/fr_FR.utf8/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/fr_FR.utf8/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/de_DE 1066s /tmp/tmp.JLd4XLUII6/de_DE/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/de_DE/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/de_DE/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/de_DE/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/de_DE/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/de_DE/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/de_DE/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/de_DE/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/de_DE/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/de_DE/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/de_DE/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/de_DE/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/ja_JP.utf8 1066s /tmp/tmp.JLd4XLUII6/ja_JP.utf8/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/ja_JP.utf8/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/ja_JP.utf8/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/ja_JP.utf8/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/ja_JP.utf8/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/ja_JP.utf8/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/ja_JP.utf8/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/ja_JP.utf8/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/ja_JP.utf8/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/ja_JP.utf8/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/ja_JP.utf8/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/ja_JP.utf8/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/ru_RU.utf8 1066s /tmp/tmp.JLd4XLUII6/ru_RU.utf8/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/ru_RU.utf8/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/ru_RU.utf8/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/ru_RU.utf8/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/ru_RU.utf8/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/ru_RU.utf8/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/ru_RU.utf8/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/ru_RU.utf8/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/ru_RU.utf8/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/ru_RU.utf8/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/ru_RU.utf8/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/ru_RU.utf8/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/tt_RU 1066s /tmp/tmp.JLd4XLUII6/tt_RU/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/tt_RU/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/tt_RU/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/tt_RU/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/tt_RU/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/tt_RU/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/tt_RU/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/tt_RU/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/tt_RU/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/tt_RU/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/tt_RU/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/tt_RU/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/en_GB 1066s /tmp/tmp.JLd4XLUII6/en_GB/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/en_GB/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/en_GB/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/en_GB/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/en_GB/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/en_GB/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/en_GB/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/en_GB/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/en_GB/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/en_GB/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/en_GB/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/en_GB/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/el_GR.utf8 1066s /tmp/tmp.JLd4XLUII6/el_GR.utf8/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/el_GR.utf8/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/el_GR.utf8/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/el_GR.utf8/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/el_GR.utf8/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/el_GR.utf8/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/el_GR.utf8/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/el_GR.utf8/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/el_GR.utf8/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/el_GR.utf8/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/el_GR.utf8/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/el_GR.utf8/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/fa_IR 1066s /tmp/tmp.JLd4XLUII6/fa_IR/LC_NAME 1066s /tmp/tmp1..337 1066s # Running test: glib/tls-certificate.test 1066s ok - glib/tls-certificate.test 1066s # Running test: glib/gdbus-proxy-threads.test 1066s .JLd4XLUII6/fa_IR/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/fa_IR/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/fa_IR/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/fa_IR/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/fa_IR/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/fa_IR/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/fa_IR/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/fa_IR/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/fa_IR/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/fa_IR/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/fa_IR/LC_IDENTIFICATION 1066s /tmp/tmp.JLd4XLUII6/tt_RU@iqtelif 1066s /tmp/tmp.JLd4XLUII6/tt_RU@iqtelif/LC_NAME 1066s /tmp/tmp.JLd4XLUII6/tt_RU@iqtelif/LC_CTYPE 1066s /tmp/tmp.JLd4XLUII6/tt_RU@iqtelif/LC_COLLATE 1066s /tmp/tmp.JLd4XLUII6/tt_RU@iqtelif/LC_NUMERIC 1066s /tmp/tmp.JLd4XLUII6/tt_RU@iqtelif/LC_TELEPHONE 1066s /tmp/tmp.JLd4XLUII6/tt_RU@iqtelif/LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1066s /tmp/tmp.JLd4XLUII6/tt_RU@iqtelif/LC_ADDRESS 1066s /tmp/tmp.JLd4XLUII6/tt_RU@iqtelif/LC_PAPER 1066s /tmp/tmp.JLd4XLUII6/tt_RU@iqtelif/LC_MONETARY 1066s /tmp/tmp.JLd4XLUII6/tt_RU@iqtelif/LC_MEASUREMENT 1066s /tmp/tmp.JLd4XLUII6/tt_RU@iqtelif/LC_TIME 1066s /tmp/tmp.JLd4XLUII6/tt_RU@iqtelif/LC_IDENTIFICATION 1066s TAP version 14 1066s # random seed: R02Sa9842d27b8c9ae9fc977ccb943d06dd2 1066s 1..19 1066s # Start of tls-certificate tests 1066s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1066s ok 1 /tls-certificate/pem-parser 1066s ok 2 /tls-certificate/pem-parser-handles-chain 1066s ok 3 /tls-certificate/from_file 1066s ok 4 /tls-certificate/from_files 1066s ok 5 /tls-certificate/from_files_crlf 1066s ok 6 /tls-certificate/from_files_pkcs8 1066s ok 7 /tls-certificate/from_files_pkcs8enc 1066s ok 8 /tls-certificate/list_from_file 1066s ok 9 /tls-certificate/pkcs11-uri 1066s ok 10 /tls-certificate/pkcs11-uri-unsupported 1066s ok 11 /tls-certificate/from_pkcs12 1066s ok 12 /tls-certificate/from_pkcs12_file 1066s ok 13 /tls-certificate/not-valid-before 1066s ok 14 /tls-certificate/not-valid-after 1066s ok 15 /tls-certificate/subject-name 1066s ok 16 /tls-certificate/issuer-name 1066s ok 17 /tls-certificate/dns-names 1066s ok 18 /tls-certificate/ip-addresses 1066s ok 19 /tls-certificate/pem-parser-no-sentinel 1066s # End of tls-certificate tests 1066s TAP version 14 1066s # random seed: R02S4875481cbc9f33d776219e220a5c6603 1066s 1..1 1066s # Start of gdbus tests 1066s # Start of proxy tests 1066s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_GFBFK3/gdbus/proxy/vs-threads/.dirs/home 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_GFBFK3/gdbus/proxy/vs-threads/.dirs/cache 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_GFBFK3/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_GFBFK3/gdbus/proxy/vs-threads/.dirs/system-config2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_GFBFK3/gdbus/proxy/vs-threads/.dirs/config 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_GFBFK3/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_GFBFK3/gdbus/proxy/vs-threads/.dirs/system-data2 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_GFBFK3/gdbus/proxy/vs-threads/.dirs/data 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_GFBFK3/gdbus/proxy/vs-threads/.dirs/state 1066s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_GFBFK3/gdbus/proxy/vs-threads/.dirs/runtime 1067s ok 1 /gdbus/proxy/vs-threads 1067s # End of proxy tests 1067s # End of gdbus tests 1067s ok - glib/gdbus-proxy-threads.test 1067s cleaning up pid 2138 1067s # Running test: glib/memory-output-stream.test 1067s TAP version 14 1067s # random seed: R02S0fb6f90880dcb8b99c3be8ab7d642667 1067s 1..10 1067s # Start of memory-output-stream tests 1067s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1067s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1067s ok 1 /memory-output-stream/truncate 1067s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1067s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1067s ok 2 /memory-output-stream/get-data-size 1067s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1067s ok 3 /memory-output-stream/properties 1067s ok 4 /memory-output-stream/write-bytes 1067s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1067s ok 5 /memory-output-stream/write-null 1067s ok 6 /memory-output-stream/writev 1067s ok 7 /memory-output-stream/writev_nonblocking 1067s ok 8 /memory-output-stream/steal_as_bytes 1067s # Start of seek tests 1067s ok 9 /memory-output-stream/seek/fixed 1067s ok 10 /memory-output-stream/seek/resizable 1067s # End of seek tests 1067s # End of memory-output-stream tests 1067s ok - glib/memory-output-stream.test 1067s # Running test: glib/buffered-output-stream.test 1067s TAP version 14 1067s # random seed: R02Sf2ffb35692fc3f9160197e144215f43e 1067s 1..5 1067s # Start of buffered-output-stream tests 1067s ok 1 /buffered-output-stream/write 1067s ok 2 /buffered-output-stream/grow 1067s ok 3 /buffered-output-stream/seek 1067s ok 4 /buffered-output-stream/truncate 1067s # End of buffered-output-stream tests 1067s # Start of filter-output-stream tests 1067s ok 5 /filter-output-stream/close 1067s # End of filter-output-stream tests 1067s ok - glib/buffered-output-stream.test 1067s TAP version 14 1067s # random seed: R02S0bd0223f89273ec768f4ba736d9fb418 1067s 1..5 1067s # Start of gio tests 1067s # Start of contexts tests 1067s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1067s ok 1 /gio/contexts/thread-independence 1067s ok 2 /gio/contexts/context-independence 1067s # Start of context-specific tests 1067s ok 3 /gio/contexts/context-specific/identity 1067s # Running test: glib/contexts.test 1067s ok - glib/contexts.test 1067s ok 4 /gio/contexts/context-specific/emit 1067s ok 5 /gio/contexts/context-specific/emit-and-unref 1067s # End of context-specific tests 1067s # End of contexts tests 1067s # End of gio tests 1067s # Running test: glib/string.test 1067s TAP version 14 1067s # random seed: R02S9920be81737df6899f1515317e552b98 1067s 1..25 1067s # Start of string tests 1067s ok 1 /string/chunks 1067s ok 2 /string/chunk-insert 1067s ok 3 /string/new 1067s ok 4 /string/printf 1067s ok 5 /string/assign 1067s ok 6 /string/append-c 1067s ok 7 /string/append 1067s ok 8 /string/append-vprintf 1067s ok 9 /string/prepend-c 1067s ok 10 /string/prepend 1067s ok 11 /string/insert 1067s ok 12 /string/insert-unichar 1067s ok 13 /string/equal 1067s ok 14 /string/truncate 1067s ok 15 /string/overwrite 1067s ok 16 /string/nul-handling 1067s ok 17 /string/up-down 1067s ok 18 /string/set-size 1067s ok 19 /string/to-bytes 1067s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1067s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1067s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1067s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1067s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1067s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1067s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1067s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1067s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1067s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1067s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1067s # -> 4 replacements, "fd fr fals" 1067s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1067s # -> 3 replacements, "aaaaaaaaa" 1067s # 7: Replacing "a" with "" (limit 0) in "aaa" 1067s # -> 3 replacements, "" 1067s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1067s # -> 1 replacements, "bba" 1067s # 9: Replacing "" with "bar" (limit 0) in "foo" 1067s # -> 4 replacements, "barfbarobarobar" 1067s # 10: Replacing "" with "bar" (limit 1) in "foo" 1067s # -> 1 replacements, "barfoo" 1067s # 11: Replacing "" with "bar" (limit 2) in "foo" 1067s # -> 2 replacements, "barfbaroo" 1067s # 12: Replacing "" with "bar" (limit 3) in "foo" 1067s # -> 3 replacements, "barfbarobaro" 1067s # 13: Replacing "" with "bar" (limit 4) in "foo" 1067s # -> 4 replacements, "barfbarobarobar" 1067s # 14: Replacing "" with "bar" (limit 5) in "foo" 1067s # -> 4 replacements, "barfbarobarobar" 1067s # 15: Replacing "" with "x" (limit 0) in "" 1067s # -> 1 replacements, "x" 1067s # 16: Replacing "" with "" (limit 0) in "" 1067s # -> 1 replacements, "" 1067s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 1067s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 1067s ok 20 /string/replace 1067s ok 21 /string/steal 1067s ok 22 /string/new-take 1067s ok 23 /string/copy 1067s ok 24 /string/sized-new 1067s # Start of new-take tests 1067s ok 25 /string/new-take/null 1067s # End of new-take tests 1067s # End of string tests 1067s ok - glib/string.test 1067s # Running test: glib/gapplication.test 1067s TAP version 14 1067s # random seed: R02S626673cec2a2f34c311b23bf3a1fc304 1067s 1..25 1067s # Start of gapplication tests 1067s ok 1 /gapplication/no-dbus 1067s ok 2 /gapplication/no-appid 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok 3 /gapplication/properties 1067s ok 4 /gapplication/app-id 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok 5 /gapplication/quit 1067s ok 6 /gapplication/registered 1067s ok 7 /gapplication/local-actions 1067s ok 8 /gapplication/local-command-line 1067s ok 9 /gapplication/resource-path 1067s ok 10 /gapplication/test-help 1067s ok 11 /gapplication/command-line-done 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok 12 /gapplication/test-busy 1067s ok 13 /gapplication/test-handle-local-options1 1067s ok 14 /gapplication/test-handle-local-options2 1067s ok 15 /gapplication/test-handle-local-options3 1067s ok 16 /gapplication/api 1067s ok 17 /gapplication/version 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1067s # launching subprocess 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok 18 /gapplication/replace 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1067s # launching subprocess 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok 19 /gapplication/no-replace 1067s # slow test /gapplication/no-replace executed in 0.51 secs 1067s # Start of command-line tests 1067s # /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 1067s ok 20 /gapplication/command-line/arguments 1067s # End of command-line tests 1067s # Start of dbus tests 1067s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1067s # Message 0 1067s # Message 1 1067s # Message 2 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok 21 /gapplication/dbus/activate 1067s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1067s # Message 0 1067s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1067s # Message 1 1067s # Message 2 1067s # Message 3 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok 22 /gapplication/dbus/open 1067s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1067s # Message 0 1067s # Message 1 1067s # Message 2 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok 23 /gapplication/dbus/command-line 1067s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok 24 /gapplication/dbus/command-line-done 1067s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1067s # Message 0 1067s # Activating action 'undo' with no parameter 1067s # Message 1 1067s # Activating action 'lang' with parameter: 'spanish' 1067s # Message 2 1067s # Message 3 1067s # Message 4 1067s # Message 5 1067s # Message 6 1067s # Activating action 'multi' with parameter: ('first', 'second') 1067s # Message 7 1067s # Message 8 1067s # Activating action 'multi' with parameter: ('first', 'second') 1067s # Message 9 1067s # Message 10 1067s # Activating action 'single' with parameter: ('first',) 1067s # Message 11 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok 25 /gapplication/dbus/activate-action 1067s # End of dbus tests 1067s # End of gapplication tests 1067s ok - glib/gapplication.test 1067s # Running test: glib/tree.test 1067s TAP version 14 1067s # random seed: R02S9f01171007263fa7079fb61fc0ed3884 1067s 1..7 1067s # Start of tree tests 1067s ok 1 /tree/search 1067s ok 2 /tree/remove 1067s ok - glib/tree.test 1067s ok 3 /tree/destroy 1067s ok 4 /tree/traverse 1067s ok 5 /tree/insert 1067s ok 6 /tree/bounds 1067s ok 7 /tree/remove-all 1067s # End of tree tests 1067s # Running test: glib/file-enumerator.test 1067s ok - glib/file-enumerator.test 1067s TAP version 14 1067s # random seed: R02S15f4c3ad70b33a67fca73ac74c31498a 1067s 1..1 1067s # Start of file-enumerator tests 1067s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1067s ok 1 /file-enumerator/close-on-dispose 1067s # End of file-enumerator tests 1067s # Running test: glib/cxx-23.test 1067s TAP version 14 1067s # random seed: R02Sde94ab2f315345b3f4bb84cb4766471d 1067s 1..2 1067s # Start of gtask tests 1067s # 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. 1067s ok 1 /gtask/name 1067s # Start of name tests 1067s # 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. 1067s ok 2 /gtask/name/macro-wrapper 1067s # End of name tests 1067s # End of gtask tests 1067s ok - glib/cxx-23.test 1067s # Running test: glib/mem-overflow.test 1067s TAP version 14 1067s # random seed: R02S4be7b0ffad2941a3c8b1f6d22598da65 1067s 1..2 1067s # Start of mem tests 1067s ok 1 /mem/overflow 1067s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1067s ok 2 /mem/empty-alloc 1067s # Start of overflow tests 1067s # Start of subprocess tests 1067s # End of subprocess tests 1067s # End of overflow tests 1067s # Start of empty-alloc tests 1067s # End of empty-alloc tests 1067s # End of mem tests 1067s ok - glib/mem-overflow.test 1067s # Running test: glib/memory-monitor-poll.test 1067s TAP version 14 1067s # random seed: R02S79a5974041754562515a40ee74029404 1067s 1..4 1067s # Start of memory-monitor-poll tests 1067s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation poll (GMemoryMonitorPoll) for ‘gio-memory-monitor’ 1067s ok 1 /memory-monitor-poll/dup-default 1067s # GLib-GIO-DEBUG: memory free ratio 0.190000 1067s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 1067s ok 2 /memory-monitor-poll/critical-event 1068s # GLib-GIO-DEBUG: memory free ratio 0.290000 1068s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 1068s ok 3 /memory-monitor-poll/medium-event 1068s # GLib-GIO-DEBUG: memory free ratio 0.390000 1068s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 1068s ok 4 /memory-monitor-poll/low-event 1068s # End of memory-monitor-poll tests 1068s ok - glib/memory-monitor-poll.test 1068s # Running test: glib/pathbuf.test 1068s ok - glib/pathbuf.test 1068s # Running test: glib/rwlock.test 1068s TAP version 14 1068s # random seed: R02S6476f1350b32623883759809bcd389c7 1068s 1..3 1068s # Start of pathbuf tests 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_TTOPK3/pathbuf/init/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_TTOPK3/pathbuf/init/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_TTOPK3/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_TTOPK3/pathbuf/init/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_TTOPK3/pathbuf/init/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_TTOPK3/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_TTOPK3/pathbuf/init/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_TTOPK3/pathbuf/init/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_TTOPK3/pathbuf/init/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_TTOPK3/pathbuf/init/.dirs/runtime 1068s # Initializing empty path buf 1068s # Initializing with empty path 1068s # Initializing with full path 1068s # Initializing with no path 1068s # Allocating GPathBuf on the heap 1068s ok 1 /pathbuf/init 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_TTOPK3/pathbuf/push-pop/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_TTOPK3/pathbuf/push-pop/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_TTOPK3/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_TTOPK3/pathbuf/push-pop/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_TTOPK3/pathbuf/push-pop/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_TTOPK3/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_TTOPK3/pathbuf/push-pop/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_TTOPK3/pathbuf/push-pop/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_TTOPK3/pathbuf/push-pop/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_TTOPK3/pathbuf/push-pop/.dirs/runtime 1068s # Pushing relative path component 1068s # Pushing absolute path component 1068s # Popping a path component 1068s # Can't pop the last element of a path buffer 1068s ok 2 /pathbuf/push-pop 1068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_TTOPK3/pathbuf/filename-extension/.dirs/home 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_TTOPK3/pathbuf/filename-extension/.dirs/cache 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_TTOPK3/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_TTOPK3/pathbuf/filename-extension/.dirs/system-config2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_TTOPK3/pathbuf/filename-extension/.dirs/config 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_TTOPK3/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_TTOPK3/pathbuf/filename-extension/.dirs/system-data2 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_TTOPK3/pathbuf/filename-extension/.dirs/data 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_TTOPK3/pathbuf/filename-extension/.dirs/state 1068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_TTOPK3/pathbuf/filename-extension/.dirs/runtime 1068s ok 3 /pathbuf/filename-extension 1068s # End of pathbuf tests 1068s TAP version 14 1068s # random seed: R02S6f4b0d8abbee343a41a05331cbefebe2 1068s 1..8 1068s # Start of thread tests 1068s ok 1 /thread/rwlock1 1068s ok 2 /thread/rwlock2 1068s ok 3 /thread/rwlock3 1068s ok 4 /thread/rwlock4 1068s ok 5 /thread/rwlock5 1068s ok 6 /thread/rwlock6 1071s ok 7 /thread/rwlock7 1071s # slow test /thread/rwlock7 executed in 3.55 secs 1071s ok - glib/rwlock.test 1071s ok 8 /thread/rwlock8 1071s # End of thread tests 1071s # Running test: glib/converter.test 1071s TAP version 14 1071s # random seed: R02Sd8d3f052468d921e9247c71551a030a3 1071s 1..3 1071s # Start of converter tests 1071s ok 1 /converter/bytes 1071s ok 2 /converter/extra-bytes-at-end 1071s ok 3 /converter/gzip-os-property 1071s # End of converter tests 1071s ok - glib/converter.test 1071s # Running test: glib/module-test-library.test 1071s ok - glib/module-test-library.test 1071s # Running test: glib/gdbus-threading.test 1071s ok - glib/gdbus-threading.test 1071s # Running test: glib/volumemonitor.test 1071s ok - glib/volumemonitor.test 1071s # Running test: glib/singleton.test 1071s ok - glib/singleton.test 1071s # Running test: glib/testfilemonitor.test 1071s TAP version 14 1071s # random seed: R02S3a418437db8f2e4ef878a2bf09c39125 1071s 1..3 1071s # Start of module tests 1071s ok 1 /module/basics 1071s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1071s ok 2 /module/invalid-libtool-archive 1071s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1071s ok 3 /module/local-binding 1071s # End of module tests 1071s TAP version 14 1071s # random seed: R02S6db674a0480d47690968d8009db93b99 1071s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1071s TAP version 14 1071s # random seed: R02S788981495ce8b3d91f7e9401701e3916 1071s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1071s 1..3 1071s # Start of volumemonitor tests 1071s ok 1 /volumemonitor/connected_drives 1071s ok 2 /volumemonitor/volumes 1071s ok 3 /volumemonitor/mounts 1071s # End of volumemonitor tests 1071s TAP version 14 1071s # random seed: R02S1cfbcb89bc33d94629a5c3d9ade544aa 1071s 1..2 1071s # Start of gobject tests 1071s # Start of singleton tests 1071s ok 1 /gobject/singleton/construction 1071s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1071s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1071s ok 2 /gobject/singleton/construct-property 1071s # End of singleton tests 1071s # End of gobject tests 1071s TAP version 14 1071s # random seed: R02S8991236b9b98552414b063d2e7235a7d 1071s 1..8 1071s # Start of monitor tests 1071s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1071s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1071s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1071s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1071s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1071s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1071s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1071s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1071s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1071s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1071s # Start of file tests 1071s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1071s # End of file tests 1071s # End of monitor tests 1071s ok - glib/testfilemonitor.test 1071s # Running test: glib/flags.test 1071s TAP version 14 1071s # random seed: R02S3c07200d307db55ea3b2c9d281e0417d 1071s 1..1 1071s # Start of gobject tests 1071s # Start of flags tests 1071s ok 1 /gobject/flags/validate 1071s # End of flags tests 1071s # End of gobject tests 1071s ok - glib/flags.test 1071s # Running test: glib/signalgroup.test 1071s TAP version 14 1071s # random seed: R02S7215a3fcb3618ae0b6958a8fd5419aa3 1071s 1..9 1071s # Start of GObject tests 1071s # Start of SignalGroup tests 1071s ok 1 /GObject/SignalGroup/invalid 1071s ok 2 /GObject/SignalGroup/simple 1071s ok 3 /GObject/SignalGroup/changing-target 1071s ok 4 /GObject/SignalGroup/blocking 1071s ok 5 /GObject/SignalGroup/weak-ref-target 1071s ok 6 /GObject/SignalGroup/connect-object 1071s ok 7 /GObject/SignalGroup/signal-parsing 1071s ok 8 /GObject/SignalGroup/properties 1071s ok - glib/signalgroup.test 1071s # Running test: glib/override.test 1071s ok 9 /GObject/SignalGroup/interface 1071s # Start of signal-parsing tests 1071s # End of signal-parsing tests 1071s # End of SignalGroup tests 1071s # End of GObject tests 1071s TAP version 14 1071s # random seed: R02S53ce4318f29ade7077026b15fb97453a 1071s 1..1 1071s # Start of gobject tests 1071s # *** emitting foo on a TestA instance 1071s # Expecting: TestA::foo,TestI::foo 1071s # Got: TestA::foo,TestI::foo 1071s # *** emitting bar on a TestA instance 1071s # Expecting: TestA::bar 1071s # Got: TestA::bar 1071s # *** emitting baz on a TestA instance 1071s # Expecting: TestA::baz 1071s # Got: TestA::baz 1071s # *** emitting foo on a TestB instance 1071s # Expecting: TestB::foo,TestA::foo,TestI::foo 1071s # Got: TestB::foo,TestA::foo,TestI::foo 1071s # *** emitting bar on a TestB instance 1071s # Expecting: TestB::bar,TestA::bar 1071s # Got: TestB::bar,TestA::bar 1071s # *** emitting baz on a TestB instance 1071s # Expecting: TestB::baz,TestA::baz 1071s # Got: TestB::baz,TestA::baz 1071s # *** emitting foo on a TestC instance 1071s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1071s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1071s # *** emitting bar on a TestC instance 1071s # Expecting: TestC::bar,TestB::bar,TestA::bar 1071s # Got: TestC::bar,TestB::bar,TestA::bar 1071s # *** emitting baz on a TestC instance 1071s # Expecting: TestC::baz,TestB::baz,TestA::baz 1071s # Got: TestC::baz,TestB::baz,TestA::baz 1071s ok 1 /gobject/override 1071s # End of gobject tests 1071s ok - glib/override.test 1071s # Running test: glib/gdbus-addresses.test 1071s TAP version 14 1071s # random seed: R02S94459bd4f0cee9c3191a403b365a4ac0 1071s 1..9 1071s # Start of gdbus tests 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/empty-address/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/empty-address/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_FHSHK3/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_FHSHK3/gdbus/empty-address/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/empty-address/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_FHSHK3/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_FHSHK3/gdbus/empty-address/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/empty-address/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/empty-address/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_FHSHK3/gdbus/empty-address/.dirs/runtime 1071s ok 1 /gdbus/empty-address 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/unsupported-address/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/unsupported-address/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_FHSHK3/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_FHSHK3/gdbus/unsupported-address/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/unsupported-address/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_FHSHK3/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_FHSHK3/gdbus/unsupported-address/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/unsupported-address/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/unsupported-address/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_FHSHK3/gdbus/unsupported-address/.dirs/runtime 1071s ok 2 /gdbus/unsupported-address 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/address-parsing/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/address-parsing/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_FHSHK3/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_FHSHK3/gdbus/address-parsing/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/address-parsing/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_FHSHK3/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_FHSHK3/gdbus/address-parsing/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/address-parsing/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/address-parsing/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_FHSHK3/gdbus/address-parsing/.dirs/runtime 1071s ok 3 /gdbus/address-parsing 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/unix-address/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/unix-address/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_FHSHK3/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_FHSHK3/gdbus/unix-address/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/unix-address/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_FHSHK3/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_FHSHK3/gdbus/unix-address/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/unix-address/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/unix-address/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_FHSHK3/gdbus/unix-address/.dirs/runtime 1071s ok 4 /gdbus/unix-address 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/nonce-tcp-address/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/nonce-tcp-address/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_FHSHK3/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_FHSHK3/gdbus/nonce-tcp-address/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/nonce-tcp-address/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_FHSHK3/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_FHSHK3/gdbus/nonce-tcp-address/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/nonce-tcp-address/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/nonce-tcp-address/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_FHSHK3/gdbus/nonce-tcp-address/.dirs/runtime 1071s ok 5 /gdbus/nonce-tcp-address 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/tcp-address/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/tcp-address/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_FHSHK3/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_FHSHK3/gdbus/tcp-address/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/tcp-address/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_FHSHK3/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_FHSHK3/gdbus/tcp-address/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/tcp-address/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/tcp-address/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_FHSHK3/gdbus/tcp-address/.dirs/runtime 1071s ok 6 /gdbus/tcp-address 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/autolaunch-address/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/autolaunch-address/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_FHSHK3/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_FHSHK3/gdbus/autolaunch-address/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/autolaunch-address/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_FHSHK3/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_FHSHK3/gdbus/autolaunch-address/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/autolaunch-address/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/autolaunch-address/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_FHSHK3/gdbus/autolaunch-address/.dirs/runtime 1071s ok 7 /gdbus/autolaunch-address 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/mixed-address/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/mixed-address/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_FHSHK3/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_FHSHK3/gdbus/mixed-address/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/mixed-address/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_FHSHK3/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_FHSHK3/gdbus/mixed-address/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/mixed-address/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/mixed-address/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_FHSHK3/gdbus/mixed-address/.dirs/runtime 1071s ok 8 /gdbus/mixed-address 1071s ok - glib/gdbus-addresses.test 1071s # Running test: glib/bindinggroup.test 1071s ok - glib/bindinggroup.test 1071s # Running test: glib/memchunk.test 1071s ok - glib/memchunk.test 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/escape-address/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/escape-address/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_FHSHK3/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_FHSHK3/gdbus/escape-address/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/escape-address/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_FHSHK3/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_FHSHK3/gdbus/escape-address/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/escape-address/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_FHSHK3/gdbus/escape-address/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_FHSHK3/gdbus/escape-address/.dirs/runtime 1071s ok 9 /gdbus/escape-address 1071s # End of gdbus tests 1071s TAP version 14 1071s # random seed: R02S7be82242f923ebca88e0b86b3b9a47bd 1071s 1..11 1071s # Start of GObject tests 1071s # Start of BindingGroup tests 1071s ok 1 /GObject/BindingGroup/invalid 1071s ok 2 /GObject/BindingGroup/default 1071s ok 3 /GObject/BindingGroup/bidirectional 1071s ok 4 /GObject/BindingGroup/transform 1071s ok 5 /GObject/BindingGroup/transform-closures 1071s ok 6 /GObject/BindingGroup/same-object 1071s ok 7 /GObject/BindingGroup/weak-ref-source 1071s ok 8 /GObject/BindingGroup/weak-ref-target 1071s ok 9 /GObject/BindingGroup/properties 1071s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1071s ok 11 /GObject/BindingGroup/empty-closures 1071s # End of BindingGroup tests 1071s # End of GObject tests 1071s TAP version 14 1071s # random seed: R02Sa6deaedc57b024aa4623911ac5ecc7ac 1071s 1..1 1071s # Start of memchunk tests 1071s ok 1 /memchunk/basic 1071s # End of memchunk tests 1071s # Running test: glib/gdatetime.test 1071s TAP version 14 1071s # random seed: R02S6066a012e3f3b58fb94da29bf525d05c 1071s 1..68 1071s # Start of GDateTime tests 1071s # Bug Reference: http://bugzilla.gnome.org/702674 1071s ok 1 /GDateTime/invalid 1071s ok 2 /GDateTime/add_days 1071s ok 3 /GDateTime/add_full 1071s ok 4 /GDateTime/add_hours 1071s ok 5 /GDateTime/add_minutes 1071s ok 6 /GDateTime/add_months 1071s ok 7 /GDateTime/add_seconds 1071s ok 8 /GDateTime/add_weeks 1071s ok 9 /GDateTime/add_years 1071s ok 10 /GDateTime/compare 1071s ok 11 /GDateTime/diff 1071s ok 12 /GDateTime/equal 1071s ok 13 /GDateTime/get_day_of_week 1071s ok 14 /GDateTime/get_day_of_month 1071s ok 15 /GDateTime/get_day_of_year 1071s ok 16 /GDateTime/get_hour 1071s ok 17 /GDateTime/get_microsecond 1071s ok 18 /GDateTime/get_minute 1071s ok 19 /GDateTime/get_month 1071s ok 20 /GDateTime/get_second 1071s ok 21 /GDateTime/get_utc_offset 1071s ok 22 /GDateTime/get_year 1071s ok 23 /GDateTime/hash 1071s ok 24 /GDateTime/new_from_unix 1071s ok 25 /GDateTime/new_from_unix_utc 1071s ok 26 /GDateTime/new_from_timeval 1071s ok 27 /GDateTime/new_from_timeval_utc 1071s ok 28 /GDateTime/new_from_iso8601 1071s ok 29 /GDateTime/new_full 1071s ok 30 /GDateTime/now 1071s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1071s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1071s # %a -> expected: Sat 1071s # %a -> actual: Sat 1071s # %A -> expected: Saturday 1071s # %A -> actual: Saturday 1071s # %b -> expected: Oct 1071s # %b -> actual: Oct 1071s # %B -> expected: October 1071s # %B -> actual: October 1071s # %d -> expected: 24 1071s # %d -> actual: 24 1071s # %d -> expected: 01 1071s # %d -> actual: 01 1071s # %e -> expected: 24 1071s # %e -> actual: 24 1071s # %e -> expected:  1 1071s # %e -> actual:  1 1071s # %f -> expected: 001000 1071s # %f -> actual: 001000 1071s # %h -> expected: Oct 1071s # %h -> actual: Oct 1071s # %H -> expected: 00 1071s # %H -> actual: 00 1071s # %H -> expected: 15 1071s # %H -> actual: 15 1071s # %I -> expected: 12 1071s # %I -> actual: 12 1071s # %I -> expected: 12 1071s # %I -> actual: 12 1071s # %I -> expected: 03 1071s # %I -> actual: 03 1071s # %j -> expected: 297 1071s # %j -> actual: 297 1071s # %k -> expected:  0 1071s # %k -> actual:  0 1071s # %k -> expected: 13 1071s # %k -> actual: 13 1071s # %l -> expected: 12 1071s # %l -> actual: 12 1071s # %I -> expected: 12 1071s # %I -> actual: 12 1071s # %l -> expected:  1 1071s # %l -> actual:  1 1071s # %l -> expected: 10 1071s # %l -> actual: 10 1071s # %m -> expected: 10 1071s # %m -> actual: 10 1071s # %M -> expected: 00 1071s # %M -> actual: 00 1071s # %p -> expected: AM 1071s # %p -> actual: AM 1071s # %p -> expected: PM 1071s # %p -> actual: PM 1071s # %P -> expected: am 1071s # %P -> actual: am 1071s # %P -> expected: pm 1071s # %P -> actual: pm 1071s # %r -> expected: 12:00:00 AM 1071s # %r -> actual: 12:00:00 AM 1071s # %r -> expected: 01:13:13 PM 1071s # %r -> actual: 01:13:13 PM 1071s # %R -> expected: 00:00 1071s # %R -> actual: 00:00 1071s # %R -> expected: 13:13 1071s # %R -> actual: 13:13 1071s # %S -> expected: 00 1071s # %S -> actual: 00 1071s # %t -> expected: 1071s # %t -> actual: 1071s # %u -> expected: 6 1071s # %u -> actual: 6 1071s # %x -> expected: 10/24/09 1071s # %x -> actual: 10/24/09 1071s # %X -> expected: 00:00:00 1071s # %X -> actual: 00:00:00 1071s # %X -> expected: 13:14:15 1071s # %X -> actual: 13:14:15 1071s # %y -> expected: 09 1071s # %y -> actual: 09 1071s # %Y -> expected: 2009 1071s # %Y -> actual: 2009 1071s # %% -> expected: % 1071s # %% -> actual: % 1071s # % -> expected: 1071s # % -> actual: 1071s # %9 -> expected: (null) 1071s # %9 -> actual: (null) 1071s # %Z -> expected: UTC 1071s # %Z -> actual: UTC 1071s # %#Z %Z -> expected: utc UTC 1071s # %#Z %Z -> actual: utc UTC 1071s ok 32 /GDateTime/printf 1071s # %a -> expected: 土 1071s # %a -> actual: 土 1071s # %A -> expected: 土曜日 1071s # %A -> actual: 土曜日 1071s # %b -> expected: 10月 1071s # %b -> actual: 10月 1071s # %B -> expected: 10月 1071s # %B -> actual: 10月 1071s # %c -> expected: 2009年10月24日 00時00分00秒 1071s # %c -> actual: 2009年10月24日 00時00分00秒 1071s # %C -> expected: 20 1071s # %C -> actual: 20 1071s # %d -> expected: 24 1071s # %d -> actual: 24 1071s # %d -> expected: 01 1071s # %d -> actual: 01 1071s # %e -> expected: 24 1071s # %e -> actual: 24 1071s # %h -> expected: 10月 1071s # %h -> actual: 10月 1071s # %H -> expected: 00 1071s # %H -> actual: 00 1071s # %H -> expected: 15 1071s # %H -> actual: 15 1071s # %I -> expected: 12 1071s # %I -> actual: 12 1071s # %I -> expected: 12 1071s # %I -> actual: 12 1071s # %I -> expected: 03 1071s # %I -> actual: 03 1071s # %j -> expected: 297 1071s # %j -> actual: 297 1071s # %k -> expected:  0 1071s # %k -> actual:  0 1071s # %k -> expected: 13 1071s # %k -> actual: 13 1071s # %l -> expected: 12 1071s # %l -> actual: 12 1071s # %I -> expected: 12 1071s # %I -> actual: 12 1071s # %l -> expected:  1 1071s # %l -> actual:  1 1071s # %l -> expected: 10 1071s # %l -> actual: 10 1071s # %m -> expected: 10 1071s # %m -> actual: 10 1071s # %M -> expected: 00 1071s # %M -> actual: 00 1071s # %p -> expected: 午前 1071s # %p -> actual: 午前 1071s # %p -> expected: 午後 1071s # %p -> actual: 午後 1071s # %P -> expected: 午前 1071s # %P -> actual: 午前 1071s # %P -> expected: 午後 1071s # %P -> actual: 午後 1071s # %r -> expected: 午前12時00分00秒 1071s # %r -> actual: 午前12時00分00秒 1071s # %r -> expected: 午後01時13分13秒 1071s # %r -> actual: 午後01時13分13秒 1071s # %R -> expected: 00:00 1071s # %R -> actual: 00:00 1071s # %R -> expected: 13:13 1071s # %R -> actual: 13:13 1071s # %S -> expected: 00 1071s # %S -> actual: 00 1071s # %t -> expected: 1071s # %t -> actual: 1071s # %u -> expected: 6 1071s # %u -> actual: 6 1071s # %x -> expected: 2009年10月24日 1071s # %x -> actual: 2009年10月24日 1071s # %X -> expected: 00時00分00秒 1071s # %X -> actual: 00時00分00秒 1071s # %X -> expected: 13時14分15秒 1071s # %X -> actual: 13時14分15秒 1071s # %y -> expected: 09 1071s # %y -> actual: 09 1071s # %Y -> expected: 2009 1071s # %Y -> actual: 2009 1071s # %% -> expected: % 1071s # %% -> actual: % 1071s # % -> expected: 1071s # % -> actual: 1071s # %9 -> expected: (null) 1071s # %9 -> actual: (null) 1071s # %Ec -> expected: 平成21年10月24日 00時00分00秒 1071s # %Ec -> actual: 平成21年10月24日 00時00分00秒 1071s # %EC -> expected: 平成 1071s # %EC -> actual: 平成 1071s # %Ex -> expected: 平成21年10月24日 1071s # %Ex -> actual: 平成21年10月24日 1071s # %EX -> expected: 00時00分00秒 1071s # %EX -> actual: 00時00分00秒 1071s # %Ey -> expected: 21 1071s # %Ey -> actual: 21 1071s # %EY -> expected: 平成21年 1071s # %EY -> actual: 平成21年 1071s ok 33 /GDateTime/non_utf8_printf 1071s # ąśćł -> expected: ąśćł 1071s # ąśćł -> actual: ąśćł 1071s # %H∶%M -> expected: 23∶15 1071s # %H∶%M -> actual: 23∶15 1071s # %H∶%M -> expected: 23∶15 1071s # %H∶%M -> actual: 23∶15 1071s ok 34 /GDateTime/format_unrepresentable 1071s ok 35 /GDateTime/format_iso8601 1071s ok 36 /GDateTime/strftime 1071s # %d -> expected: 01 1071s # %d -> actual: 01 1071s # %_d -> expected: 1 1071s # %_d -> actual: 1 1071s # %-d -> expected: 1 1071s # %-d -> actual: 1 1071s # %0d -> expected: 01 1071s # %0d -> actual: 01 1071s # %d -> expected: 21 1071s # %d -> actual: 21 1071s # %_d -> expected: 21 1071s # %_d -> actual: 21 1071s # %-d -> expected: 21 1071s # %-d -> actual: 21 1071s # %0d -> expected: 21 1071s # %0d -> actual: 21 1071s # %e -> expected:  1 1071s # %e -> actual:  1 1071s # %_e -> expected: 1 1071s # %_e -> actual: 1 1071s # %-e -> expected: 1 1071s # %-e -> actual: 1 1071s # %0e -> expected: 01 1071s # %0e -> actual: 01 1071s # %e -> expected: 21 1071s # %e -> actual: 21 1071s # %_e -> expected: 21 1071s # %_e -> actual: 21 1071s # %-e -> expected: 21 1071s # %-e -> actual: 21 1071s # %0e -> expected: 21 1071s # %0e -> actual: 21 1071s # %a -> expected: Thu 1071s # %a -> actual: Thu 1071s # %^a -> expected: THU 1071s # %^a -> actual: THU 1071s # %#a -> expected: THU 1071s # %#a -> actual: THU 1071s # %A -> expected: Thursday 1071s # %A -> actual: Thursday 1071s # %^A -> expected: THURSDAY 1071s # %^A -> actual: THURSDAY 1071s # %#A -> expected: THURSDAY 1071s # %#A -> actual: THURSDAY 1071s # %b -> expected: Jan 1071s # %b -> actual: Jan 1071s # %^b -> expected: JAN 1071s # %^b -> actual: JAN 1071s # %#b -> expected: JAN 1071s # %#b -> actual: JAN 1071s # %B -> expected: January 1071s # %B -> actual: January 1071s # %^B -> expected: JANUARY 1071s # %^B -> actual: JANUARY 1071s # %#B -> expected: JANUARY 1071s # %#B -> actual: JANUARY 1071s # %h -> expected: Jan 1071s # %h -> actual: Jan 1071s # %^h -> expected: JAN 1071s # %^h -> actual: JAN 1071s # %#h -> expected: JAN 1071s # %#h -> actual: JAN 1071s # %Z -> expected: UTC 1071s # %Z -> actual: UTC 1071s # %^Z -> expected: UTC 1071s # %^Z -> actual: UTC 1071s # %#Z -> expected: utc 1071s # %#Z -> actual: utc 1071s # %H -> expected: 01 1071s # %H -> actual: 01 1071s # %_H -> expected: 1 1071s # %_H -> actual: 1 1071s # %-H -> expected: 1 1071s # %-H -> actual: 1 1071s # %0H -> expected: 01 1071s # %0H -> actual: 01 1071s # %H -> expected: 21 1071s # %H -> actual: 21 1071s # %_H -> expected: 21 1071s # %_H -> actual: 21 1071s # %-H -> expected: 21 1071s # %-H -> actual: 21 1071s # %0H -> expected: 21 1071s # %0H -> actual: 21 1071s # %I -> expected: 01 1071s # %I -> actual: 01 1071s # %_I -> expected: 1 1071s # %_I -> actual: 1 1071s # %-I -> expected: 1 1071s # %-I -> actual: 1 1071s # %0I -> expected: 01 1071s # %0I -> actual: 01 1071s # %I -> expected: 11 1071s # %I -> actual: 11 1071s # %_I -> expected: 11 1071s # %_I -> actual: 11 1071s # %-I -> expected: 11 1071s # %-I -> actual: 11 1071s # %0I -> expected: 11 1071s # %0I -> actual: 11 1071s # %k -> expected:  1 1071s # %k -> actual:  1 1071s # %_k -> expected: 1 1071s # %_k -> actual: 1 1071s # %-k -> expected: 1 1071s # %-k -> actual: 1 1071s # %0k -> expected: 01 1071s # %0k -> actual: 01 1071s # %l -> expected:  1 1071s # %l -> actual:  1 1071s # %_l -> expected: 1 1071s # %_l -> actual: 1 1071s # %-l -> expected: 1 1071s # %-l -> actual: 1 1071s # %0l -> expected: 01 1071s # %0l -> actual: 01 1071s # %l -> expected: 11 1071s # %l -> actual: 11 1071s # %_l -> expected: 11 1071s # %_l -> actual: 11 1071s # %-l -> expected: 11 1071s # %-l -> actual: 11 1071s # %0l -> expected: 11 1071s # %0l -> actual: 11 1071s # %p -> expected: AM 1071s # %p -> actual: AM 1071s # %^p -> expected: AM 1071s # %^p -> actual: AM 1071s # %#p -> expected: am 1071s # %#p -> actual: am 1071s # %P -> expected: am 1071s # %P -> actual: am 1071s # %^P -> expected: AM 1071s # %^P -> actual: AM 1071s # %#P -> expected: am 1071s # %#P -> actual: am 1071s # %OH -> expected: ۲۳ 1071s # %OH -> actual: ۲۳ 1071s # %OI -> expected: ۱۱ 1071s # %OI -> actual: ۱۱ 1071s # %OM -> expected: ۰۰ 1071s # %OM -> actual: ۰۰ 1071s # %Om -> expected: ۰۷ 1071s # %Om -> actual: ۰۷ 1071s # %0Om -> expected: ۰۷ 1071s # %0Om -> actual: ۰۷ 1071s # %-Om -> expected: ۷ 1071s # %-Om -> actual: ۷ 1071s # %_Om -> expected: ۷ 1071s # %_Om -> actual: ۷ 1071s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1071s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1071s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1071s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1071s # %C -> expected: 20 1071s # %C -> actual: 20 1071s # %EC -> expected: 20 1071s # %EC -> actual: 20 1071s # %x -> expected: 02/01/09 1071s # %x -> actual: 02/01/09 1071s # %Ex -> expected: 02/01/09 1071s # %Ex -> actual: 02/01/09 1071s # %X -> expected: 01:02:03 1071s # %X -> actual: 01:02:03 1071s # %EX -> expected: 01:02:03 1071s # %EX -> actual: 01:02:03 1071s # %y -> expected: 09 1071s # %y -> actual: 09 1071s # %Ey -> expected: 09 1071s # %Ey -> actual: 09 1071s # %Y -> expected: 2009 1071s # %Y -> actual: 2009 1071s # %EY -> expected: 2009 1071s # %EY -> actual: 2009 1071s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1071s # Bug Reference: http://bugzilla.gnome.org/749206 1071s # %B -> expected: January 1071s # %B -> actual: January 1071s # %OB -> expected: February 1071s # %OB -> actual: February 1071s # %b -> expected: Mar 1071s # %b -> actual: Mar 1071s # %Ob -> expected: Apr 1071s # %Ob -> actual: Apr 1071s # %h -> expected: May 1071s # %h -> actual: May 1071s # %Oh -> expected: Jun 1071s # %Oh -> actual: Jun 1071s # %B -> expected: Juli 1071s # %B -> actual: Juli 1071s # %OB -> expected: August 1071s # %OB -> actual: August 1071s # %b -> expected: Sep 1071s # %b -> actual: Sep 1071s # %Ob -> expected: Okt 1071s # %Ob -> actual: Okt 1071s # %h -> expected: Nov 1071s # %h -> actual: Nov 1071s # %Oh -> expected: Dez 1071s # %Oh -> actual: Dez 1071s # %B -> expected: enero 1071s # %B -> actual: enero 1071s # %OB -> expected: febrero 1071s # %OB -> actual: febrero 1071s # %b -> expected: mar 1071s # %b -> actual: mar 1071s # %Ob -> expected: abr 1071s # %Ob -> actual: abr 1071s # %h -> expected: may 1071s # %h -> actual: may 1071s # %Oh -> expected: jun 1071s # %Oh -> actual: jun 1071s # %B -> expected: juillet 1071s # %B -> actual: juillet 1071s # %OB -> expected: août 1071s # %OB -> actual: août 1071s # %b -> expected: sept. 1071s # %b -> actual: sept. 1071s # %Ob -> expected: oct. 1071s # %Ob -> actual: oct. 1071s # %h -> expected: nov. 1071s # %h -> actual: nov. 1071s # %Oh -> expected: déc. 1071s # %Oh -> actual: déc. 1071s # %B -> expected: Ιανουαρίου 1071s # %B -> actual: Ιανουαρίου 1071s # %B -> expected: Φεβρουαρίου 1071s # %B -> actual: Φεβρουαρίου 1071s # %B -> expected: Μαρτίου 1071s # %B -> actual: Μαρτίου 1071s # %OB -> expected: Απρίλιος 1071s # %OB -> actual: Απρίλιος 1071s # %OB -> expected: Μάιος 1071s # %OB -> actual: Μάιος 1071s # %OB -> expected: Ιούνιος 1071s # %OB -> actual: Ιούνιος 1071s # %b -> expected: Ιουλ 1071s # %b -> actual: Ιουλ 1071s # %Ob -> expected: Αύγ 1071s # %Ob -> actual: Αύγ 1071s # %B -> expected: svibnja 1071s # %B -> actual: svibnja 1071s # %B -> expected: lipnja 1071s # %B -> actual: lipnja 1071s # %B -> expected: srpnja 1071s # %B -> actual: srpnja 1071s # %OB -> expected: Kolovoz 1071s # %OB -> actual: kolovoz 1071s # %OB -> expected: Rujan 1071s # %OB -> actual: rujan 1071s # %OB -> expected: Listopad 1071s # %OB -> actual: listopad 1071s # %b -> expected: Stu 1071s # %b -> actual: stu 1071s # %Ob -> expected: Pro 1071s # %Ob -> actual: pro 1071s # %B -> expected: sausio 1071s # %B -> actual: sausio 1071s # %B -> expected: vasario 1071s # %B -> actual: vasario 1071s # %B -> expected: kovo 1071s # %B -> actual: kovo 1071s # %OB -> expected: balandis 1071s # %OB -> actual: balandis 1071s # %OB -> expected: gegužė 1071s # %OB -> actual: gegužė 1071s # %OB -> expected: birželis 1071s # %OB -> actual: birželis 1071s # %b -> expected: liep. 1071s # %b -> actual: liep. 1071s # %Ob -> expected: rugp. 1071s # %Ob -> actual: rugp. 1071s # %B -> expected: maja 1071s # %B -> actual: maja 1071s # %B -> expected: czerwca 1071s # %B -> actual: czerwca 1071s # %B -> expected: lipca 1071s # %B -> actual: lipca 1071s # %OB -> expected: sierpień 1071s # %OB -> actual: sierpień 1071s # %OB -> expected: wrzesień 1071s # %OB -> actual: wrzesień 1071s # %OB -> expected: październik 1071s # %OB -> actual: październik 1071s # %b -> expected: lis 1071s # %b -> actual: lis 1071s # %Ob -> expected: gru 1071s # %Ob -> actual: gru 1071s # %B -> expected: января 1071s # %B -> actual: января 1071s # %B -> expected: февраля 1071s # %B -> actual: февраля 1071s # %B -> expected: марта 1071s # %B -> actual: марта 1071s # %OB -> expected: Апрель 1071s # %OB -> actual: Апрель 1071s # %OB -> expected: Май 1071s # %OB -> actual: Май 1071s # %OB -> expected: Июнь 1071s # %OB -> actual: Июнь 1071s # %b -> expected: июл 1071s # %b -> actual: июл 1071s # %Ob -> expected: авг 1071s # %Ob -> actual: авг 1071s # %b -> expected: мая 1071s # %b -> actual: мая 1071s # %Ob -> expected: май 1071s # %Ob -> actual: май 1071s ok 38 /GDateTime/month_names 1071s ok 39 /GDateTime/to_local 1071s ok 40 /GDateTime/to_unix 1071s ok 41 /GDateTime/to_timeval 1071s ok 42 /GDateTime/to_utc 1071s ok 43 /GDateTime/now_utc 1071s ok 44 /GDateTime/dst 1071s # Bug Reference: http://bugzilla.gnome.org/642935 1071s ok 45 /GDateTime/test_z 1072s # Executing: glib/gdatetime.test 1072s ok 46 /GDateTime/test-all-dates 1072s # slow test /GDateTime/test-all-dates executed in 0.88 secs 1072s ok 47 /GDateTime/unix_usec 1072s # Start of new_from_unix tests 1072s # Bug Reference: http://bugzilla.gnome.org/782089 1072s ok 48 /GDateTime/new_from_unix/overflow 1072s # End of new_from_unix tests 1072s # Start of new_from_timeval tests 1072s # Bug Reference: http://bugzilla.gnome.org/782089 1072s # Maximum supported GTimeVal.tv_sec = 253402300799 1072s ok 49 /GDateTime/new_from_timeval/overflow 1072s # End of new_from_timeval tests 1072s # Start of new_from_iso8601 tests 1072s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1072s # Vector 0: 1990-11-01T10:21:17Z 1072s # Vector 1: 19901101T102117Z 1072s # Vector 2: 1970-01-01T00:00:17.12Z 1072s # Vector 3: 1970-01-01T00:00:17.1234Z 1072s # Vector 4: 1970-01-01T00:00:17.123456Z 1072s # Vector 5: 1980-02-22T12:36:00+02:00 1072s # Vector 6: 1990-12-31T15:59:60-08:00 1072s # Vector 7: 1072s # Vector 8: x 1072s # Vector 9: 123x 1072s # Vector 10: 2001-10+x 1072s # Vector 11: 1980-02-22T 1072s # Vector 12: 2001-10-08Tx 1072s # Vector 13: 2001-10-08T10:11x 1072s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1072s # Vector 15: 1980-02-22T10:36:00Zulu 1072s # Vector 16: 2T0+819855292164632335 1072s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1072s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1072s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1072s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1072s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1072s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1072s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1072s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1072s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1072s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1072s # Vector 27: 20180803T140805.446178377+0100 1072s # Vector 28: 21474836480803T140805.446178377+0100 1072s # Vector 29: 20181303T140805.446178377+0100 1072s # Vector 30: 20180003T140805.446178377+0100 1072s # Vector 31: 20180800T140805.446178377+0100 1072s # Vector 32: 20180832T140805.446178377+0100 1072s # Vector 33: 20180803T240805.446178377+0100 1072s # Vector 34: 20180803T146005.446178377+0100 1072s # Vector 35: 20180803T140863.446178377+0100 1072s # Vector 36: 20180803T140805.446178377+10000 1072s # Vector 37: -0005-01-01T00:00:00Z 1072s # Vector 38: 2018-08-06 1072s # Vector 39: 20180803T140805,446178377+0100 1072s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1072s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1072s # Vector 42: 1990-11-01T10:21:17 1072s # Vector 43: 1719W462 407777-07 1072s # Vector 44: 4011090 260528Z 1072s # Vector 45: 0000W011 228214-22 1072s ok 50 /GDateTime/new_from_iso8601/2 1072s # End of new_from_iso8601 tests 1072s # Start of format_mixed tests 1072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1072s # %b -> expected: mar 1072s # %b -> actual: Mar 1072s # %B -> expected: march 1072s # %B -> actual: March 1072s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1072s # %b -> expected: mar 1072s # %b -> actual: Mar 1072s # %B -> expected: march 1072s # %B -> actual: March 1072s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1072s # %b -> expected: Mär 1072s # %b -> actual: Mär 1072s # %B -> expected: März 1072s # %B -> actual: März 1072s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1072s # %b -> expected: Mär 1072s # %b -> actual: Mär 1072s # %B -> expected: März 1072s # %B -> actual: März 1072s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1072s # End of format_mixed tests 1072s # Start of strftime tests 1072s # %r -> expected: (null) 1072s # %r -> actual: (null) 1072s ok 55 /GDateTime/strftime/error_handling 1072s # End of strftime tests 1072s # Start of eras tests 1072s # %Ec -> expected: 令和05年06月01日 00時00分00秒 1072s # %Ec -> actual: 令和05年06月01日 00時00分00秒 1072s # %EC -> expected: 令和 1072s # %EC -> actual: 令和 1072s # %Ex -> expected: 令和05年06月01日 1072s # %Ex -> actual: 令和05年06月01日 1072s # %EX -> expected: 00時00分00秒 1072s # %EX -> actual: 00時00分00秒 1072s # %Ey -> expected: 05 1072s # %Ey -> actual: 05 1072s # %EY -> expected: 令和05年 1072s # %EY -> actual: 令和05年 1072s # %Ec -> expected: 平成31年04月30日 00時00分00秒 1072s # %Ec -> actual: 平成31年04月30日 00時00分00秒 1072s # %EC -> expected: 平成 1072s # %EC -> actual: 平成 1072s # %Ex -> expected: 平成31年04月30日 1072s # %Ex -> actual: 平成31年04月30日 1072s # %EX -> expected: 00時00分00秒 1072s # %EX -> actual: 00時00分00秒 1072s # %Ey -> expected: 31 1072s # %Ey -> actual: 31 1072s # %EY -> expected: 平成31年 1072s # %EY -> actual: 平成31年 1072s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 1072s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 1072s # %EC -> expected: 昭和 1072s # %EC -> actual: 昭和 1072s # %Ex -> expected: 昭和元年12月25日 1072s # %Ex -> actual: 昭和元年12月25日 1072s # %EX -> expected: 00時00分00秒 1072s # %EX -> actual: 00時00分00秒 1072s # %Ey -> expected: 01 1072s # %Ey -> actual: 01 1072s # %EY -> expected: 昭和元年 1072s # %EY -> actual: 昭和元年 1072s ok 56 /GDateTime/eras/japan 1072s ok - glib/gdatetime.test 1072s # Running test: glib/module-test-plugin.test 1072s ok - glib/module-test-plugin.test 1072s # Running test: glib/thread-deprecated.test 1072s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1072s # Vector 0: 1072s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1072s # 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年 1072s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1072s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1072s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1072s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1072s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1072s # Vector 8: + 1072s # Vector 9: +: 1072s # Vector 10: +:: 1072s # Vector 11: +:200 1072s # Vector 12: +:2nonsense 1072s # Vector 13: +:2nonsense: 1072s # Vector 14: +:2: 1072s # Vector 15: +:2:: 1072s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1072s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1072s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1072s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1072s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1072s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1072s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1072s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1072s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1072s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1072s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1072s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1072s # Vector 28: +:2:2020/01/01 1072s # Vector 29: +:2:2020/01/01: 1072s # Vector 30: +:2:2020/01/01:: 1072s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1072s # Vector 32: +:2:2020/01/01:+* 1072s # Vector 33: +:2:2020/01/01:+*: 1072s # Vector 34: +:2:2020/01/01:+*:: 1072s # Vector 35: +:2:2020/01/01:+*:令和 1072s # Vector 36: +:2:2020/01/01:+*:令和: 1072s # Vector 37: +:2:2020/01/01:+*:令和:; 1072s ok 58 /GDateTime/eras/parsing 1072s # End of eras tests 1072s # End of GDateTime tests 1072s # Start of GTimeZone tests 1072s ok 59 /GTimeZone/find-interval 1072s ok 60 /GTimeZone/adjust-time 1072s ok 61 /GTimeZone/no-header 1072s ok 62 /GTimeZone/no-header-identifier 1072s ok 63 /GTimeZone/posix-parse 1072s # Bug Reference: http://bugzilla.gnome.org/697715 1072s ok 64 /GTimeZone/floating-point 1072s # System time zone identifier: Etc/UTC 1072s ok 65 /GTimeZone/identifier 1072s # Vector 0: -158400 1072s # Vector 1: -10000 1072s # Vector 2: -3600 1072s # Vector 3: -61 1072s # Vector 4: -60 1072s # Vector 5: -59 1072s # Vector 6: 0 1072s # Vector 7: 59 1072s # Vector 8: 60 1072s # Vector 9: 61 1072s # Vector 10: 3600 1072s # Vector 11: 10000 1072s # Vector 12: 158400 1072s ok 66 /GTimeZone/new-offset 1072s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1072s ok 67 /GTimeZone/parse-rfc8536 1072s # /GTimeZone/caching summary: GTimeZone instances are cached 1072s ok 68 /GTimeZone/caching 1072s # End of GTimeZone tests 1072s TAP version 14 1072s # random seed: R02S925b81f844d635a4908d4bcdbf0129c2 1072s 1..3 1072s # Start of module tests 1072s ok 1 /module/basics 1072s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1072s ok 2 /module/invalid-libtool-archive 1072s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1072s ok 3 /module/local-binding 1072s # End of module tests 1072s TAP version 14 1072s # random seed: R02Sa9a3f63dc1810eef7414b9c2a78ab7f2 1072s 1..6 1072s # Start of thread tests 1073s ok 1 /thread/mutex 1073s ok 2 /thread/static-rec-mutex 1077s # Executing: glib/thread-deprecated.test 1077s ok 3 /thread/static-private 1077s # slow test /thread/static-private executed in 4.40 secs 1082s # Executing: glib/thread-deprecated.test 1082s ok 4 /thread/static-rw-lock 1082s # slow test /thread/static-rw-lock executed in 5.00 secs 1082s ok 5 /thread/once 1087s # Executing: glib/thread-deprecated.test 1092s # Executing: glib/thread-deprecated.test 1092s ok 6 /thread/rerun-all 1092s # slow test /thread/rerun-all executed in 10.02 secs 1092s # End of thread tests 1092s ok - glib/thread-deprecated.test 1092s # Running test: glib/deprecated-properties.test 1092s TAP version 14 1092s # random seed: R02S0283c0e1104e34fca75ea04e4fafec44 1092s 1..3 1092s # Start of deprecated-properties tests 1092s ok 1 /deprecated-properties/construct 1092s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1092s ok 2 /deprecated-properties/default-construct 1092s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1092s ok - glib/deprecated-properties.test 1092s # Running test: glib/gdbus-connection-flush.test 1092s ok - glib/gdbus-connection-flush.test 1092s # Running test: glib/stream-rw_all.test 1092s ok 3 /deprecated-properties/set 1092s # End of deprecated-properties tests 1092s TAP version 14 1092s # random seed: R02S17132b2d4cc0dcc0aeb4941d61f141b6 1092s 1..2 1092s # Start of gdbus tests 1092s # Start of connection tests 1092s # Start of flush tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/busy/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/busy/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/busy/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/busy/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/busy/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/busy/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/busy/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/busy/.dirs/runtime 1092s ok 1 /gdbus/connection/flush/busy 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/idle/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/idle/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/idle/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/idle/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/idle/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/idle/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/idle/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_1XGHK3/gdbus/connection/flush/idle/.dirs/runtime 1092s ok 2 /gdbus/connection/flush/idle 1092s # End of flush tests 1092s # End of connection tests 1092s # End of gdbus tests 1092s TAP version 14 1092s # random seed: R02Sffa09d44a6b406005e2e4dda635afba3 1092s 1..3 1092s # Start of stream tests 1092s # Start of read_all_async tests 1092s ok 1 /stream/read_all_async/memory 1092s # End of read_all_async tests 1092s # Start of write_all_async tests 1092s ok 2 /stream/write_all_async/memory 1092s # End of write_all_async tests 1092s # Start of read_write_all_async tests 1092s ok 3 /stream/read_write_all_async/pipe 1092s # End of read_write_all_async tests 1092s # End of stream tests 1092s ok - glib/stream-rw_all.test 1092s # Running test: glib/custom-dispatch.test 1092s ok - glib/custom-dispatch.test 1092s TAP version 14 1092s # random seed: R02Sb2350bcca4caa8544b3bd489c5d2c43b 1092s 1..2 1092s # Start of properties tests 1092s # Start of custom-dispatch tests 1092s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1092s ok 1 /properties/custom-dispatch/init 1092s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1092s ok 2 /properties/custom-dispatch/set 1092s # End of custom-dispatch tests 1092s # End of properties tests 1092s # Running test: glib/checksum.test 1092s TAP version 14 1092s # random seed: R02S6506e7a37c552e4d103eaf0fe12344a9 1092s 1..1851 1092s # Start of checksum tests 1092s ok 1 /checksum/unsupported 1092s # Start of MD5 tests 1092s ok 2 /checksum/MD5/0 1092s ok 3 /checksum/MD5/1 1092s ok 4 /checksum/MD5/2 1092s ok 5 /checksum/MD5/3 1092s ok 6 /checksum/MD5/4 1092s ok 7 /checksum/MD5/5 1092s ok 8 /checksum/MD5/6 1092s ok 9 /checksum/MD5/7 1092s ok 10 /checksum/MD5/8 1092s ok 11 /checksum/MD5/9 1092s ok 12 /checksum/MD5/10 1092s ok 13 /checksum/MD5/11 1092s ok 14 /checksum/MD5/12 1092s ok 15 /checksum/MD5/13 1092s ok 16 /checksum/MD5/14 1092s ok 17 /checksum/MD5/15 1092s ok 18 /checksum/MD5/16 1092s ok 19 /checksum/MD5/17 1092s ok 20 /checksum/MD5/18 1092s ok 21 /checksum/MD5/19 1092s ok 22 /checksum/MD5/20 1092s ok 23 /checksum/MD5/21 1092s ok 24 /checksum/MD5/22 1092s ok 25 /checksum/MD5/23 1092s ok 26 /checksum/MD5/24 1092s ok 27 /checksum/MD5/25 1092s ok 28 /checksum/MD5/26 1092s ok 29 /checksum/MD5/27 1092s ok 30 /checksum/MD5/28 1092s ok 31 /checksum/MD5/29 1092s ok 32 /checksum/MD5/30 1092s ok 33 /checksum/MD5/31 1092s ok 34 /checksum/MD5/32 1092s ok 35 /checksum/MD5/33 1092s ok 36 /checksum/MD5/34 1092s ok 37 /checksum/MD5/35 1092s ok 38 /checksum/MD5/36 1092s ok 39 /checksum/MD5/37 1092s ok 40 /checksum/MD5/38 1092s ok 41 /checksum/MD5/39 1092s ok 42 /checksum/MD5/40 1092s ok 43 /checksum/MD5/41 1092s ok 44 /checksum/MD5/42 1092s ok 45 /checksum/MD5/43 1092s ok 46 /checksum/MD5/44 1092s ok 47 /checksum/MD5/45 1092s ok 48 /checksum/MD5/46 1092s ok 49 /checksum/MD5/47 1092s ok 50 /checksum/MD5/48 1092s ok 51 /checksum/MD5/49 1092s ok 52 /checksum/MD5/50 1092s ok 53 /checksum/MD5/51 1092s ok 54 /checksum/MD5/52 1092s ok 55 /checksum/MD5/53 1092s ok 56 /checksum/MD5/54 1092s ok 57 /checksum/MD5/55 1092s ok 58 /checksum/MD5/56 1092s ok 59 /checksum/MD5/57 1092s ok 60 /checksum/MD5/58 1092s ok 61 /checksum/MD5/59 1092s ok 62 /checksum/MD5/60 1092s ok 63 /checksum/MD5/61 1092s ok 64 /checksum/MD5/62 1092s ok 65 /checksum/MD5/63 1092s ok 66 /checksum/MD5/64 1092s ok 67 /checksum/MD5/65 1092s ok 68 /checksum/MD5/66 1092s ok 69 /checksum/MD5/67 1092s ok 70 /checksum/MD5/68 1092s ok 71 /checksum/MD5/69 1092s ok 72 /checksum/MD5/70 1092s ok 73 /checksum/MD5/71 1092s ok 74 /checksum/MD5/72 1092s ok 75 /checksum/MD5/73 1092s ok 76 /checksum/MD5/74 1092s ok 77 /checksum/MD5/75 1092s ok 78 /checksum/MD5/76 1092s ok 79 /checksum/MD5/77 1092s ok 80 /checksum/MD5/78 1092s ok 81 /checksum/MD5/79 1092s ok 82 /checksum/MD5/80 1092s ok 83 /checksum/MD5/81 1092s ok 84 /checksum/MD5/82 1092s ok 85 /checksum/MD5/83 1092s ok 86 /checksum/MD5/84 1092s ok 87 /checksum/MD5/85 1092s ok 88 /checksum/MD5/86 1092s ok 89 /checksum/MD5/87 1092s ok 90 /checksum/MD5/88 1092s ok 91 /checksum/MD5/89 1092s ok 92 /checksum/MD5/90 1092s ok 93 /checksum/MD5/91 1092s ok 94 /checksum/MD5/92 1092s ok 95 /checksum/MD5/93 1092s ok 96 /checksum/MD5/94 1092s ok 97 /checksum/MD5/95 1092s ok 98 /checksum/MD5/96 1092s ok 99 /checksum/MD5/97 1092s ok 100 /checksum/MD5/98 1092s ok 101 /checksum/MD5/99 1092s ok 102 /checksum/MD5/100 1092s ok 103 /checksum/MD5/101 1092s ok 104 /checksum/MD5/102 1092s ok 105 /checksum/MD5/103 1092s ok 106 /checksum/MD5/104 1092s ok 107 /checksum/MD5/105 1092s ok 108 /checksum/MD5/106 1092s ok 109 /checksum/MD5/107 1092s ok 110 /checksum/MD5/108 1092s ok 111 /checksum/MD5/109 1092s ok 112 /checksum/MD5/110 1092s ok 113 /checksum/MD5/111 1092s ok 114 /checksum/MD5/112 1092s ok 115 /checksum/MD5/113 1092s ok 116 /checksum/MD5/114 1092s ok 117 /checksum/MD5/115 1092s ok 118 /checksum/MD5/116 1092s ok 119 /checksum/MD5/117 1092s ok 120 /checksum/MD5/118 1092s ok 121 /checksum/MD5/119 1092s ok 122 /checksum/MD5/120 1092s ok 123 /checksum/MD5/121 1092s ok 124 /checksum/MD5/122 1092s ok 125 /checksum/MD5/123 1092s ok 126 /checksum/MD5/124 1092s ok 127 /checksum/MD5/125 1092s ok 128 /checksum/MD5/126 1092s ok 129 /checksum/MD5/127 1092s ok 130 /checksum/MD5/128 1092s ok 131 /checksum/MD5/129 1092s ok 132 /checksum/MD5/130 1092s ok 133 /checksum/MD5/131 1092s ok 134 /checksum/MD5/132 1092s ok 135 /checksum/MD5/133 1092s ok 136 /checksum/MD5/134 1092s ok 137 /checksum/MD5/135 1092s ok 138 /checksum/MD5/136 1092s ok 139 /checksum/MD5/137 1092s ok 140 /checksum/MD5/138 1092s ok 141 /checksum/MD5/139 1092s ok 142 /checksum/MD5/140 1092s ok 143 /checksum/MD5/141 1092s ok 144 /checksum/MD5/142 1092s ok 145 /checksum/MD5/143 1092s ok 146 /checksum/MD5/144 1092s ok 147 /checksum/MD5/145 1092s ok 148 /checksum/MD5/146 1092s ok 149 /checksum/MD5/147 1092s ok 150 /checksum/MD5/148 1092s ok 151 /checksum/MD5/149 1092s ok 152 /checksum/MD5/150 1092s ok 153 /checksum/MD5/151 1092s ok 154 /checksum/MD5/152 1092s ok 155 /checksum/MD5/153 1092s ok 156 /checksum/MD5/154 1092s ok 157 /checksum/MD5/155 1092s ok 158 /checksum/MD5/156 1092s ok 159 /checksum/MD5/157 1092s ok 160 /checksum/MD5/158 1092s ok 161 /checksum/MD5/159 1092s ok 162 /checksum/MD5/160 1092s ok 163 /checksum/MD5/161 1092s ok 164 /checksum/MD5/162 1092s ok 165 /checksum/MD5/163 1092s ok 166 /checksum/MD5/164 1092s ok 167 /checksum/MD5/165 1092s ok 168 /checksum/MD5/166 1092s ok 169 /checksum/MD5/167 1092s ok 170 /checksum/MD5/168 1092s ok 171 /checksum/MD5/169 1092s ok 172 /checksum/MD5/170 1092s ok 173 /checksum/MD5/171 1092s ok 174 /checksum/MD5/172 1092s ok 175 /checksum/MD5/173 1092s ok 176 /checksum/MD5/174 1092s ok 177 /checksum/MD5/175 1092s ok 178 /checksum/MD5/176 1092s ok 179 /checksum/MD5/177 1092s ok 180 /checksum/MD5/178 1092s ok 181 /checksum/MD5/179 1092s ok 182 /checksum/MD5/180 1092s ok 183 /checksum/MD5/181 1092s ok 184 /checksum/MD5/182 1092s ok 185 /checksum/MD5/183 1092s ok 186 /checksum/MD5/string 1092s ok 187 /checksum/MD5/bytes 1092s # Start of reset tests 1092s ok 188 /checksum/MD5/reset/0 1092s ok 189 /checksum/MD5/reset/1 1092s ok 190 /checksum/MD5/reset/2 1092s ok 191 /checksum/MD5/reset/3 1092s ok 192 /checksum/MD5/reset/4 1092s ok 193 /checksum/MD5/reset/5 1092s ok 194 /checksum/MD5/reset/6 1092s ok 195 /checksum/MD5/reset/7 1092s ok 196 /checksum/MD5/reset/8 1092s ok 197 /checksum/MD5/reset/9 1092s ok 198 /checksum/MD5/reset/10 1092s ok 199 /checksum/MD5/reset/11 1092s ok 200 /checksum/MD5/reset/12 1092s ok 201 /checksum/MD5/reset/13 1092s ok 202 /checksum/MD5/reset/14 1092s ok 203 /checksum/MD5/reset/15 1092s ok 204 /checksum/MD5/reset/16 1092s ok 205 /checksum/MD5/reset/17 1092s ok 206 /checksum/MD5/reset/18 1092s ok 207 /checksum/MD5/reset/19 1092s ok 208 /checksum/MD5/reset/20 1092s ok 209 /checksum/MD5/reset/21 1092s ok 210 /checksum/MD5/reset/22 1092s ok 211 /checksum/MD5/reset/23 1092s ok 212 /checksum/MD5/reset/24 1092s ok 213 /checksum/MD5/reset/25 1092s ok 214 /checksum/MD5/reset/26 1092s ok 215 /checksum/MD5/reset/27 1092s ok 216 /checksum/MD5/reset/28 1092s ok 217 /checksum/MD5/reset/29 1092s ok 218 /checksum/MD5/reset/30 1092s ok 219 /checksum/MD5/reset/31 1092s ok 220 /checksum/MD5/reset/32 1092s ok 221 /checksum/MD5/reset/33 1092s ok 222 /checksum/MD5/reset/34 1092s ok 223 /checksum/MD5/reset/35 1092s ok 224 /checksum/MD5/reset/36 1092s ok 225 /checksum/MD5/reset/37 1092s ok 226 /checksum/MD5/reset/38 1092s ok 227 /checksum/MD5/reset/39 1092s ok 228 /checksum/MD5/reset/40 1092s ok 229 /checksum/MD5/reset/41 1092s ok 230 /checksum/MD5/reset/42 1092s ok 231 /checksum/MD5/reset/43 1092s ok 232 /checksum/MD5/reset/44 1092s ok 233 /checksum/MD5/reset/45 1092s ok 234 /checksum/MD5/reset/46 1092s ok 235 /checksum/MD5/reset/47 1092s ok 236 /checksum/MD5/reset/48 1092s ok 237 /checksum/MD5/reset/49 1092s ok 238 /checksum/MD5/reset/50 1092s ok 239 /checksum/MD5/reset/51 1092s ok 240 /checksum/MD5/reset/52 1092s ok 241 /checksum/MD5/reset/53 1092s ok 242 /checksum/MD5/reset/54 1092s ok 243 /checksum/MD5/reset/55 1092s ok 244 /checksum/MD5/reset/56 1092s ok 245 /checksum/MD5/reset/57 1092s ok 246 /checksum/MD5/reset/58 1092s ok 247 /checksum/MD5/reset/59 1092s ok 248 /checksum/MD5/reset/60 1092s ok 249 /checksum/MD5/reset/61 1092s ok 250 /checksum/MD5/reset/62 1092s ok 251 /checksum/MD5/reset/63 1092s ok 252 /checksum/MD5/reset/64 1092s ok 253 /checksum/MD5/reset/65 1092s ok 254 /checksum/MD5/reset/66 1092s ok 255 /checksum/MD5/reset/67 1092s ok 256 /checksum/MD5/reset/68 1092s ok 257 /checksum/MD5/reset/69 1092s ok 258 /checksum/MD5/reset/70 1092s ok 259 /checksum/MD5/reset/71 1092s ok 260 /checksum/MD5/reset/72 1092s ok 261 /checksum/MD5/reset/73 1092s ok 262 /checksum/MD5/reset/74 1092s ok 263 /checksum/MD5/reset/75 1092s ok 264 /checksum/MD5/reset/76 1092s ok 265 /checksum/MD5/reset/77 1092s ok 266 /checksum/MD5/reset/78 1092s ok 267 /checksum/MD5/reset/79 1092s ok 268 /checksum/MD5/reset/80 1092s ok 269 /checksum/MD5/reset/81 1092s ok 270 /checksum/MD5/reset/82 1092s ok 271 /checksum/MD5/reset/83 1092s ok 272 /checksum/MD5/reset/84 1092s ok 273 /checksum/MD5/reset/85 1092s ok 274 /checksum/MD5/reset/86 1092s ok 275 /checksum/MD5/reset/87 1092s ok 276 /checksum/MD5/reset/88 1092s ok 277 /checksum/MD5/reset/89 1092s ok 278 /checksum/MD5/reset/90 1092s ok 279 /checksum/MD5/reset/91 1092s ok 280 /checksum/MD5/reset/92 1092s ok 281 /checksum/MD5/reset/93 1092s ok 282 /checksum/MD5/reset/94 1092s ok 283 /checksum/MD5/reset/95 1092s ok 284 /checksum/MD5/reset/96 1092s ok 285 /checksum/MD5/reset/97 1092s ok 286 /checksum/MD5/reset/98 1092s ok 287 /checksum/MD5/reset/99 1092s ok 288 /checksum/MD5/reset/100 1092s ok 289 /checksum/MD5/reset/101 1092s ok 290 /checksum/MD5/reset/102 1092s ok 291 /checksum/MD5/reset/103 1092s ok 292 /checksum/MD5/reset/104 1092s ok 293 /checksum/MD5/reset/105 1092s ok 294 /checksum/MD5/reset/106 1092s ok 295 /checksum/MD5/reset/107 1092s ok 296 /checksum/MD5/reset/108 1092s ok 297 /checksum/MD5/reset/109 1092s ok 298 /checksum/MD5/reset/110 1092s ok 299 /checksum/MD5/reset/111 1092s ok 300 /checksum/MD5/reset/112 1092s ok 301 /checksum/MD5/reset/113 1092s ok 302 /checksum/MD5/reset/114 1092s ok 303 /checksum/MD5/reset/115 1092s ok 304 /checksum/MD5/reset/116 1092s ok 305 /checksum/MD5/reset/117 1092s ok 306 /checksum/MD5/reset/118 1092s ok 307 /checksum/MD5/reset/119 1092s ok 308 /checksum/MD5/reset/120 1092s ok 309 /checksum/MD5/reset/121 1092s ok 310 /checksum/MD5/reset/122 1092s ok 311 /checksum/MD5/reset/123 1092s ok 312 /checksum/MD5/reset/124 1092s ok 313 /checksum/MD5/reset/125 1092s ok 314 /checksum/MD5/reset/126 1092s ok 315 /checksum/MD5/reset/127 1092s ok 316 /checksum/MD5/reset/128 1092s ok 317 /checksum/MD5/reset/129 1092s ok 318 /checksum/MD5/reset/130 1092s ok 319 /checksum/MD5/reset/131 1092s ok 320 /checksum/MD5/reset/132 1092s ok 321 /checksum/MD5/reset/133 1092s ok 322 /checksum/MD5/reset/134 1092s ok 323 /checksum/MD5/reset/135 1092s ok 324 /checksum/MD5/reset/136 1092s ok 325 /checksum/MD5/reset/137 1092s ok 326 /checksum/MD5/reset/138 1092s ok 327 /checksum/MD5/reset/139 1092s ok 328 /checksum/MD5/reset/140 1092s ok 329 /checksum/MD5/reset/141 1092s ok 330 /checksum/MD5/reset/142 1092s ok 331 /checksum/MD5/reset/143 1092s ok 332 /checksum/MD5/reset/144 1092s ok 333 /checksum/MD5/reset/145 1092s ok 334 /checksum/MD5/reset/146 1092s ok 335 /checksum/MD5/reset/147 1092s ok 336 /checksum/MD5/reset/148 1092s ok 337 /checksum/MD5/reset/149 1092s ok 338 /checksum/MD5/reset/150 1092s ok 339 /checksum/MD5/reset/151 1092s ok 340 /checksum/MD5/reset/152 1092s ok 341 /checksum/MD5/reset/153 1092s ok 342 /checksum/MD5/reset/154 1092s ok 343 /checksum/MD5/reset/155 1092s ok 344 /checksum/MD5/reset/156 1092s ok 345 /checksum/MD5/reset/157 1092s ok 346 /checksum/MD5/reset/158 1092s ok 347 /checksum/MD5/reset/159 1092s ok 348 /checksum/MD5/reset/160 1092s ok 349 /checksum/MD5/reset/161 1092s ok 350 /checksum/MD5/reset/162 1092s ok 351 /checksum/MD5/reset/163 1092s ok 352 /checksum/MD5/reset/164 1092s ok 353 /checksum/MD5/reset/165 1092s ok 354 /checksum/MD5/reset/166 1092s ok 355 /checksum/MD5/reset/167 1092s ok 356 /checksum/MD5/reset/168 1092s ok 357 /checksum/MD5/reset/169 1092s ok 358 /checksum/MD5/reset/170 1092s ok 359 /checksum/MD5/reset/171 1092s ok 360 /checksum/MD5/reset/172 1092s ok 361 /checksum/MD5/reset/173 1092s ok 362 /checksum/MD5/reset/174 1092s ok 363 /checksum/MD5/reset/175 1092s ok 364 /checksum/MD5/reset/176 1092s ok 365 /checksum/MD5/reset/177 1092s ok 366 /checksum/MD5/reset/178 1092s ok 367 /checksum/MD5/reset/179 1092s ok 368 /checksum/MD5/reset/180 1092s ok 369 /checksum/MD5/reset/181 1092s ok 370 /checksum/MD5/reset/182 1092s ok 371 /checksum/MD5/reset/183 1092s # End of reset tests 1092s # End of MD5 tests 1092s # Start of SHA1 tests 1092s ok 372 /checksum/SHA1/0 1092s ok 373 /checksum/SHA1/1 1092s ok 374 /checksum/SHA1/2 1092s ok 375 /checksum/SHA1/3 1092s ok 376 /checksum/SHA1/4 1092s ok 377 /checksum/SHA1/5 1092s ok 378 /checksum/SHA1/6 1092s ok 379 /checksum/SHA1/7 1092s ok 380 /checksum/SHA1/8 1092s ok 381 /checksum/SHA1/9 1092s ok 382 /checksum/SHA1/10 1092s ok 383 /checksum/SHA1/11 1092s ok 384 /checksum/SHA1/12 1092s ok 385 /checksum/SHA1/13 1092s ok 386 /checksum/SHA1/14 1092s ok 387 /checksum/SHA1/15 1092s ok 388 /checksum/SHA1/16 1092s ok 389 /checksum/SHA1/17 1092s ok 390 /checksum/SHA1/18 1092s ok 391 /checksum/SHA1/19 1092s ok 392 /checksum/SHA1/20 1092s ok 393 /checksum/SHA1/21 1092s ok 394 /checksum/SHA1/22 1092s ok 395 /checksum/SHA1/23 1092s ok 396 /checksum/SHA1/24 1092s ok 397 /checksum/SHA1/25 1092s ok 398 /checksum/SHA1/26 1092s ok 399 /checksum/SHA1/27 1092s ok 400 /checksum/SHA1/28 1092s ok 401 /checksum/SHA1/29 1092s ok 402 /checksum/SHA1/30 1092s ok 403 /checksum/SHA1/31 1092s ok 404 /checksum/SHA1/32 1092s ok 405 /checksum/SHA1/33 1092s ok 406 /checksum/SHA1/34 1092s ok 407 /checksum/SHA1/35 1092s ok 408 /checksum/SHA1/36 1092s ok 409 /checksum/SHA1/37 1092s ok 410 /checksum/SHA1/38 1092s ok 411 /checksum/SHA1/39 1092s ok 412 /checksum/SHA1/40 1092s ok 413 /checksum/SHA1/41 1092s ok 414 /checksum/SHA1/42 1092s ok 415 /checksum/SHA1/43 1092s ok 416 /checksum/SHA1/44 1092s ok 417 /checksum/SHA1/45 1092s ok 418 /checksum/SHA1/46 1092s ok 419 /checksum/SHA1/47 1092s ok 420 /checksum/SHA1/48 1092s ok 421 /checksum/SHA1/49 1092s ok 422 /checksum/SHA1/50 1092s ok 423 /checksum/SHA1/51 1092s ok 424 /checksum/SHA1/52 1092s ok 425 /checksum/SHA1/53 1092s ok 426 /checksum/SHA1/54 1092s ok 427 /checksum/SHA1/55 1092s ok 428 /checksum/SHA1/56 1092s ok 429 /checksum/SHA1/57 1092s ok 430 /checksum/SHA1/58 1092s ok 431 /checksum/SHA1/59 1092s ok 432 /checksum/SHA1/60 1092s ok 433 /checksum/SHA1/61 1092s ok 434 /checksum/SHA1/62 1092s ok 435 /checksum/SHA1/63 1092s ok 436 /checksum/SHA1/64 1092s ok 437 /checksum/SHA1/65 1092s ok 438 /checksum/SHA1/66 1092s ok 439 /checksum/SHA1/67 1092s ok 440 /checksum/SHA1/68 1092s ok 441 /checksum/SHA1/69 1092s ok 442 /checksum/SHA1/70 1092s ok 443 /checksum/SHA1/71 1092s ok 444 /checksum/SHA1/72 1092s ok 445 /checksum/SHA1/73 1092s ok 446 /checksum/SHA1/74 1092s ok 447 /checksum/SHA1/75 1092s ok 448 /checksum/SHA1/76 1092s ok 449 /checksum/SHA1/77 1092s ok 450 /checksum/SHA1/78 1092s ok 451 /checksum/SHA1/79 1092s ok 452 /checksum/SHA1/80 1092s ok 453 /checksum/SHA1/81 1092s ok 454 /checksum/SHA1/82 1092s ok 455 /checksum/SHA1/83 1092s ok 456 /checksum/SHA1/84 1092s ok 457 /checksum/SHA1/85 1092s ok 458 /checksum/SHA1/86 1092s ok 459 /checksum/SHA1/87 1092s ok 460 /checksum/SHA1/88 1092s ok 461 /checksum/SHA1/89 1092s ok 462 /checksum/SHA1/90 1092s ok 463 /checksum/SHA1/91 1092s ok 464 /checksum/SHA1/92 1092s ok 465 /checksum/SHA1/93 1092s ok 466 /checksum/SHA1/94 1092s ok 467 /checksum/SHA1/95 1092s ok 468 /checksum/SHA1/96 1092s ok 469 /checksum/SHA1/97 1092s ok 470 /checksum/SHA1/98 1092s ok 471 /checksum/SHA1/99 1092s ok 472 /checksum/SHA1/100 1092s ok 473 /checksum/SHA1/101 1092s ok 474 /checksum/SHA1/102 1092s ok 475 /checksum/SHA1/103 1092s ok 476 /checksum/SHA1/104 1092s ok 477 /checksum/SHA1/105 1092s ok 478 /checksum/SHA1/106 1092s ok 479 /checksum/SHA1/107 1092s ok 480 /checksum/SHA1/108 1092s ok 481 /checksum/SHA1/109 1092s ok 482 /checksum/SHA1/110 1092s ok 483 /checksum/SHA1/111 1092s ok 484 /checksum/SHA1/112 1092s ok 485 /checksum/SHA1/113 1092s ok 486 /checksum/SHA1/114 1092s ok 487 /checksum/SHA1/115 1092s ok 488 /checksum/SHA1/116 1092s ok 489 /checksum/SHA1/117 1092s ok 490 /checksum/SHA1/118 1092s ok 491 /checksum/SHA1/119 1092s ok 492 /checksum/SHA1/120 1092s ok 493 /checksum/SHA1/121 1092s ok 494 /checksum/SHA1/122 1092s ok 495 /checksum/SHA1/123 1092s ok 496 /checksum/SHA1/124 1092s ok 497 /checksum/SHA1/125 1092s ok 498 /checksum/SHA1/126 1092s ok 499 /checksum/SHA1/127 1092s ok 500 /checksum/SHA1/128 1092s ok 501 /checksum/SHA1/129 1092s ok 502 /checksum/SHA1/130 1092s ok 503 /checksum/SHA1/131 1092s ok 504 /checksum/SHA1/132 1092s ok 505 /checksum/SHA1/133 1092s ok 506 /checksum/SHA1/134 1092s ok 507 /checksum/SHA1/135 1092s ok 508 /checksum/SHA1/136 1092s ok 509 /checksum/SHA1/137 1092s ok 510 /checksum/SHA1/138 1092s ok 511 /checksum/SHA1/139 1092s ok 512 /checksum/SHA1/140 1092s ok 513 /checksum/SHA1/141 1092s ok 514 /checksum/SHA1/142 1092s ok 515 /checksum/SHA1/143 1092s ok 516 /checksum/SHA1/144 1092s ok 517 /checksum/SHA1/145 1092s ok 518 /checksum/SHA1/146 1092s ok 519 /checksum/SHA1/147 1092s ok 520 /checksum/SHA1/148 1092s ok 521 /checksum/SHA1/149 1092s ok 522 /checksum/SHA1/150 1092s ok 523 /checksum/SHA1/151 1092s ok 524 /checksum/SHA1/152 1092s ok 525 /checksum/SHA1/153 1092s ok 526 /checksum/SHA1/154 1092s ok 527 /checksum/SHA1/155 1092s ok 528 /checksum/SHA1/156 1092s ok 529 /checksum/SHA1/157 1092s ok 530 /checksum/SHA1/158 1092s ok 531 /checksum/SHA1/159 1092s ok 532 /checksum/SHA1/160 1092s ok 533 /checksum/SHA1/161 1092s ok 534 /checksum/SHA1/162 1092s ok 535 /checksum/SHA1/163 1092s ok 536 /checksum/SHA1/164 1092s ok 537 /checksum/SHA1/165 1092s ok 538 /checksum/SHA1/166 1092s ok 539 /checksum/SHA1/167 1092s ok 540 /checksum/SHA1/168 1092s ok 541 /checksum/SHA1/169 1092s ok 542 /checksum/SHA1/170 1092s ok 543 /checksum/SHA1/171 1092s ok 544 /checksum/SHA1/172 1092s ok 545 /checksum/SHA1/173 1092s ok 546 /checksum/SHA1/174 1092s ok 547 /checksum/SHA1/175 1092s ok 548 /checksum/SHA1/176 1092s ok 549 /checksum/SHA1/177 1092s ok 550 /checksum/SHA1/178 1092s ok 551 /checksum/SHA1/179 1092s ok 552 /checksum/SHA1/180 1092s ok 553 /checksum/SHA1/181 1092s ok 554 /checksum/SHA1/182 1092s ok 555 /checksum/SHA1/183 1092s ok 556 /checksum/SHA1/string 1092s ok 557 /checksum/SHA1/bytes 1092s # Start of reset tests 1092s ok 558 /checksum/SHA1/reset/0 1092s ok 559 /checksum/SHA1/reset/1 1092s ok 560 /checksum/SHA1/reset/2 1092s ok 561 /checksum/SHA1/reset/3 1092s ok 562 /checksum/SHA1/reset/4 1092s ok 563 /checksum/SHA1/reset/5 1092s ok 564 /checksum/SHA1/reset/6 1092s ok 565 /checksum/SHA1/reset/7 1092s ok 566 /checksum/SHA1/reset/8 1092s ok 567 /checksum/SHA1/reset/9 1092s ok 568 /checksum/SHA1/reset/10 1092s ok 569 /checksum/SHA1/reset/11 1092s ok 570 /checksum/SHA1/reset/12 1092s ok 571 /checksum/SHA1/reset/13 1092s ok 572 /checksum/SHA1/reset/14 1092s ok 573 /checksum/SHA1/reset/15 1092s ok 574 /checksum/SHA1/reset/16 1092s ok 575 /checksum/SHA1/reset/17 1092s ok 576 /checksum/SHA1/reset/18 1092s ok 577 /checksum/SHA1/reset/19 1092s ok 578 /checksum/SHA1/reset/20 1092s ok 579 /checksum/SHA1/reset/21 1092s ok 580 /checksum/SHA1/reset/22 1092s ok 581 /checksum/SHA1/reset/23 1092s ok 582 /checksum/SHA1/reset/24 1092s ok 583 /checksum/SHA1/reset/25 1092s ok 584 /checksum/SHA1/reset/26 1092s ok 585 /checksum/SHA1/reset/27 1092s ok 586 /checksum/SHA1/reset/28 1092s ok 587 /checksum/SHA1/reset/29 1092s ok 588 /checksum/SHA1/reset/30 1092s ok 589 /checksum/SHA1/reset/31 1092s ok 590 /checksum/SHA1/reset/32 1092s ok 591 /checksum/SHA1/reset/33 1092s ok 592 /checksum/SHA1/reset/34 1092s ok 593 /checksum/SHA1/reset/35 1092s ok 594 /checksum/SHA1/reset/36 1092s ok 595 /checksum/SHA1/reset/37 1092s ok 596 /checksum/SHA1/reset/38 1092s ok 597 /checksum/SHA1/reset/39 1092s ok 598 /checksum/SHA1/reset/40 1092s ok 599 /checksum/SHA1/reset/41 1092s ok 600 /checksum/SHA1/reset/42 1092s ok 601 /checksum/SHA1/reset/43 1092s ok 602 /checksum/SHA1/reset/44 1092s ok 603 /checksum/SHA1/reset/45 1092s ok 604 /checksum/SHA1/reset/46 1092s ok 605 /checksum/SHA1/reset/47 1092s ok 606 /checksum/SHA1/reset/48 1092s ok 607 /checksum/SHA1/reset/49 1092s ok 608 /checksum/SHA1/reset/50 1092s ok 609 /checksum/SHA1/reset/51 1092s ok 610 /checksum/SHA1/reset/52 1092s ok 611 /checksum/SHA1/reset/53 1092s ok 612 /checksum/SHA1/reset/54 1092s ok 613 /checksum/SHA1/reset/55 1092s ok 614 /checksum/SHA1/reset/56 1092s ok 615 /checksum/SHA1/reset/57 1092s ok 616 /checksum/SHA1/reset/58 1092s ok 617 /checksum/SHA1/reset/59 1092s ok 618 /checksum/SHA1/reset/60 1092s ok 619 /checksum/SHA1/reset/61 1092s ok 620 /checksum/SHA1/reset/62 1092s ok 621 /checksum/SHA1/reset/63 1092s ok 622 /checksum/SHA1/reset/64 1092s ok 623 /checksum/SHA1/reset/65 1092s ok 624 /checksum/SHA1/reset/66 1092s ok 625 /checksum/SHA1/reset/67 1092s ok 626 /checksum/SHA1/reset/68 1092s ok 627 /checksum/SHA1/reset/69 1092s ok 628 /checksum/SHA1/reset/70 1092s ok 629 /checksum/SHA1/reset/71 1092s ok 630 /checksum/SHA1/reset/72 1092s ok 631 /checksum/SHA1/reset/73 1092s ok 632 /checksum/SHA1/reset/74 1092s ok 633 /checksum/SHA1/reset/75 1092s ok 634 /checksum/SHA1/reset/76 1092s ok 635 /checksum/SHA1/reset/77 1092s ok 636 /checksum/SHA1/reset/78 1092s ok 637 /checksum/SHA1/reset/79 1092s ok 638 /checksum/SHA1/reset/80 1092s ok 639 /checksum/SHA1/reset/81 1092s ok 640 /checksum/SHA1/reset/82 1092s ok 641 /checksum/SHA1/reset/83 1092s ok 642 /checksum/SHA1/reset/84 1092s ok 643 /checksum/SHA1/reset/85 1092s ok 644 /checksum/SHA1/reset/86 1092s ok 645 /checksum/SHA1/reset/87 1092s ok 646 /checksum/SHA1/reset/88 1092s ok 647 /checksum/SHA1/reset/89 1092s ok 648 /checksum/SHA1/reset/90 1092s ok 649 /checksum/SHA1/reset/91 1092s ok 650 /checksum/SHA1/reset/92 1092s ok 651 /checksum/SHA1/reset/93 1092s ok 652 /checksum/SHA1/reset/94 1092s ok 653 /checksum/SHA1/reset/95 1092s ok 654 /checksum/SHA1/reset/96 1092s ok 655 /checksum/SHA1/reset/97 1092s ok 656 /checksum/SHA1/reset/98 1092s ok 657 /checksum/SHA1/reset/99 1092s ok 658 /checksum/SHA1/reset/100 1092s ok 659 /checksum/SHA1/reset/101 1092s ok 660 /checksum/SHA1/reset/102 1092s ok 661 /checksum/SHA1/reset/103 1092s ok 662 /checksum/SHA1/reset/104 1092s ok 663 /checksum/SHA1/reset/105 1092s ok 664 /checksum/SHA1/reset/106 1092s ok 665 /checksum/SHA1/reset/107 1092s ok 666 /checksum/SHA1/reset/108 1092s ok 667 /checksum/SHA1/reset/109 1092s ok 668 /checksum/SHA1/reset/110 1092s ok 669 /checksum/SHA1/reset/111 1092s ok 670 /checksum/SHA1/reset/112 1092s ok 671 /checksum/SHA1/reset/113 1092s ok 672 /checksum/SHA1/reset/114 1092s ok 673 /checksum/SHA1/reset/115 1092s ok 674 /checksum/SHA1/reset/116 1092s ok 675 /checksum/SHA1/reset/117 1092s ok 676 /checksum/SHA1/reset/118 1092s ok 677 /checksum/SHA1/reset/119 1092s ok 678 /checksum/SHA1/reset/120 1092s ok 679 /checksum/SHA1/reset/121 1092s ok 680 /checksum/SHA1/reset/122 1092s ok 681 /checksum/SHA1/reset/123 1092s ok 682 /checksum/SHA1/reset/124 1092s ok 683 /checksum/SHA1/reset/125 1092s ok 684 /checksum/SHA1/reset/126 1092s ok 685 /checksum/SHA1/reset/127 1092s ok 686 /checksum/SHA1/reset/128 1092s ok 687 /checksum/SHA1/reset/129 1092s ok 688 /checksum/SHA1/reset/130 1092s ok 689 /checksum/SHA1/reset/131 1092s ok 690 /checksum/SHA1/reset/132 1092s ok 691 /checksum/SHA1/reset/133 1092s ok 692 /checksum/SHA1/reset/134 1092s ok 693 /checksum/SHA1/reset/135 1092s ok 694 /checksum/SHA1/reset/136 1092s ok 695 /checksum/SHA1/reset/137 1092s ok 696 /checksum/SHA1/reset/138 1092s ok 697 /checksum/SHA1/reset/139 1092s ok 698 /checksum/SHA1/reset/140 1092s ok 699 /checksum/SHA1/reset/141 1092s ok 700 /checksum/SHA1/reset/142 1092s ok 701 /checksum/SHA1/reset/143 1092s ok 702 /checksum/SHA1/reset/144 1092s ok 703 /checksum/SHA1/reset/145 1092s ok 704 /checksum/SHA1/reset/146 1092s ok 705 /checksum/SHA1/reset/147 1092s ok 706 /checksum/SHA1/reset/148 1092s ok 707 /checksum/SHA1/reset/149 1092s ok 708 /checksum/SHA1/reset/150 1092s ok 709 /checksum/SHA1/reset/151 1092s ok 710 /checksum/SHA1/reset/152 1092s ok 711 /checksum/SHA1/reset/153 1092s ok 712 /checksum/SHA1/reset/154 1092s ok 713 /checksum/SHA1/reset/155 1092s ok 714 /checksum/SHA1/reset/156 1092s ok 715 /checksum/SHA1/reset/157 1092s ok 716 /checksum/SHA1/reset/158 1092s ok 717 /checksum/SHA1/reset/159 1092s ok 718 /checksum/SHA1/reset/160 1092s ok 719 /checksum/SHA1/reset/161 1092s ok 720 /checksum/SHA1/reset/162 1092s ok 721 /checksum/SHA1/reset/163 1092s ok 722 /checksum/SHA1/reset/164 1092s ok 723 /checksum/SHA1/reset/165 1092s ok 724 /checksum/SHA1/reset/166 1092s ok 725 /checksum/SHA1/reset/167 1092s ok 726 /checksum/SHA1/reset/168 1092s ok 727 /checksum/SHA1/reset/169 1092s ok 728 /checksum/SHA1/reset/170 1092s ok 729 /checksum/SHA1/reset/171 1092s ok 730 /checksum/SHA1/reset/172 1092s ok 731 /checksum/SHA1/reset/173 1092s ok 732 /checksum/SHA1/reset/174 1092s ok 733 /checksum/SHA1/reset/175 1092s ok 734 /checksum/SHA1/reset/176 1092s ok 735 /checksum/SHA1/reset/177 1092s ok 736 /checksum/SHA1/reset/178 1092s ok 737 /checksum/SHA1/reset/179 1092s ok 738 /checksum/SHA1/reset/180 1092s ok 739 /checksum/SHA1/reset/181 1092s ok 740 /checksum/SHA1/reset/182 1092s ok 741 /checksum/SHA1/reset/183 1092s # End of reset tests 1092s # End of SHA1 tests 1092s # Start of SHA256 tests 1092s ok 742 /checksum/SHA256/0 1092s ok 743 /checksum/SHA256/1 1092s ok 744 /checksum/SHA256/2 1092s ok 745 /checksum/SHA256/3 1092s ok 746 /checksum/SHA256/4 1092s ok 747 /checksum/SHA256/5 1092s ok 748 /checksum/SHA256/6 1092s ok 749 /checksum/SHA256/7 1092s ok 750 /checksum/SHA256/8 1092s ok 751 /checksum/SHA256/9 1092s ok 752 /checksum/SHA256/10 1092s ok 753 /checksum/SHA256/11 1092s ok 754 /checksum/SHA256/12 1092s ok 755 /checksum/SHA256/13 1092s ok 756 /checksum/SHA256/14 1092s ok 757 /checksum/SHA256/15 1092s ok 758 /checksum/SHA256/16 1092s ok 759 /checksum/SHA256/17 1092s ok 760 /checksum/SHA256/18 1092s ok 761 /checksum/SHA256/19 1092s ok 762 /checksum/SHA256/20 1092s ok 763 /checksum/SHA256/21 1092s ok 764 /checksum/SHA256/22 1092s ok 765 /checksum/SHA256/23 1092s ok 766 /checksum/SHA256/24 1092s ok 767 /checksum/SHA256/25 1092s ok 768 /checksum/SHA256/26 1092s ok 769 /checksum/SHA256/27 1092s ok 770 /checksum/SHA256/28 1092s ok 771 /checksum/SHA256/29 1092s ok 772 /checksum/SHA256/30 1092s ok 773 /checksum/SHA256/31 1092s ok 774 /checksum/SHA256/32 1092s ok 775 /checksum/SHA256/33 1092s ok 776 /checksum/SHA256/34 1092s ok 777 /checksum/SHA256/35 1092s ok 778 /checksum/SHA256/36 1092s ok 779 /checksum/SHA256/37 1092s ok 780 /checksum/SHA256/38 1092s ok 781 /checksum/SHA256/39 1092s ok 782 /checksum/SHA256/40 1092s ok 783 /checksum/SHA256/41 1092s ok 784 /checksum/SHA256/42 1092s ok 785 /checksum/SHA256/43 1092s ok 786 /checksum/SHA256/44 1092s ok 787 /checksum/SHA256/45 1092s ok 788 /checksum/SHA256/46 1092s ok 789 /checksum/SHA256/47 1092s ok 790 /checksum/SHA256/48 1092s ok 791 /checksum/SHA256/49 1092s ok 792 /checksum/SHA256/50 1092s ok 793 /checksum/SHA256/51 1092s ok 794 /checksum/SHA256/52 1092s ok 795 /checksum/SHA256/53 1092s ok 796 /checksum/SHA256/54 1092s ok 797 /checksum/SHA256/55 1092s ok 798 /checksum/SHA256/56 1092s ok 799 /checksum/SHA256/57 1092s ok 800 /checksum/SHA256/58 1092s ok 801 /checksum/SHA256/59 1092s ok 802 /checksum/SHA256/60 1092s ok 803 /checksum/SHA256/61 1092s ok 804 /checksum/SHA256/62 1092s ok 805 /checksum/SHA256/63 1092s ok 806 /checksum/SHA256/64 1092s ok 807 /checksum/SHA256/65 1092s ok 808 /checksum/SHA256/66 1092s ok 809 /checksum/SHA256/67 1092s ok 810 /checksum/SHA256/68 1092s ok 811 /checksum/SHA256/69 1092s ok 812 /checksum/SHA256/70 1092s ok 813 /checksum/SHA256/71 1092s ok 814 /checksum/SHA256/72 1092s ok 815 /checksum/SHA256/73 1092s ok 816 /checksum/SHA256/74 1092s ok 817 /checksum/SHA256/75 1092s ok 818 /checksum/SHA256/76 1092s ok 819 /checksum/SHA256/77 1092s ok 820 /checksum/SHA256/78 1092s ok 821 /checksum/SHA256/79 1092s ok 822 /checksum/SHA256/80 1092s ok 823 /checksum/SHA256/81 1092s ok 824 /checksum/SHA256/82 1092s ok 825 /checksum/SHA256/83 1092s ok 826 /checksum/SHA256/84 1092s ok 827 /checksum/SHA256/85 1092s ok 828 /checksum/SHA256/86 1092s ok 829 /checksum/SHA256/87 1092s ok 830 /checksum/SHA256/88 1092s ok 831 /checksum/SHA256/89 1092s ok 832 /checksum/SHA256/90 1092s ok 833 /checksum/SHA256/91 1092s ok 834 /checksum/SHA256/92 1092s ok 835 /checksum/SHA256/93 1092s ok 836 /checksum/SHA256/94 1092s ok 837 /checksum/SHA256/95 1092s ok 838 /checksum/SHA256/96 1092s ok 839 /checksum/SHA256/97 1092s ok 840 /checksum/SHA256/98 1092s ok 841 /checksum/SHA256/99 1092s ok 842 /checksum/SHA256/100 1092s ok 843 /checksum/SHA256/101 1092s ok 844 /checksum/SHA256/102 1092s ok 845 /checksum/SHA256/103 1092s ok 846 /checksum/SHA256/104 1092s ok 847 /checksum/SHA256/105 1092s ok 848 /checksum/SHA256/106 1092s ok 849 /checksum/SHA256/107 1092s ok 850 /checksum/SHA256/108 1092s ok 851 /checksum/SHA256/109 1092s ok 852 /checksum/SHA256/110 1092s ok 853 /checksum/SHA256/111 1092s ok 854 /checksum/SHA256/112 1092s ok 855 /checksum/SHA256/113 1092s ok 856 /checksum/SHA256/114 1092s ok 857 /checksum/SHA256/115 1092s ok 858 /checksum/SHA256/116 1092s ok 859 /checksum/SHA256/117 1092s ok 860 /checksum/SHA256/118 1092s ok 861 /checksum/SHA256/119 1092s ok 862 /checksum/SHA256/120 1092s ok 863 /checksum/SHA256/121 1092s ok 864 /checksum/SHA256/122 1092s ok 865 /checksum/SHA256/123 1092s ok 866 /checksum/SHA256/124 1092s ok 867 /checksum/SHA256/125 1092s ok 868 /checksum/SHA256/126 1092s ok 869 /checksum/SHA256/127 1092s ok 870 /checksum/SHA256/128 1092s ok 871 /checksum/SHA256/129 1092s ok 872 /checksum/SHA256/130 1092s ok 873 /checksum/SHA256/131 1092s ok 874 /checksum/SHA256/132 1092s ok 875 /checksum/SHA256/133 1092s ok 876 /checksum/SHA256/134 1092s ok 877 /checksum/SHA256/135 1092s ok 878 /checksum/SHA256/136 1092s ok 879 /checksum/SHA256/137 1092s ok 880 /checksum/SHA256/138 1092s ok 881 /checksum/SHA256/139 1092s ok 882 /checksum/SHA256/140 1092s ok 883 /checksum/SHA256/141 1092s ok 884 /checksum/SHA256/142 1092s ok 885 /checksum/SHA256/143 1092s ok 886 /checksum/SHA256/144 1092s ok 887 /checksum/SHA256/145 1092s ok 888 /checksum/SHA256/146 1092s ok 889 /checksum/SHA256/147 1092s ok 890 /checksum/SHA256/148 1092s ok 891 /checksum/SHA256/149 1092s ok 892 /checksum/SHA256/150 1092s ok 893 /checksum/SHA256/151 1092s ok 894 /checksum/SHA256/152 1092s ok 895 /checksum/SHA256/153 1092s ok 896 /checksum/SHA256/154 1092s ok 897 /checksum/SHA256/155 1092s ok 898 /checksum/SHA256/156 1092s ok 899 /checksum/SHA256/157 1092s ok 900 /checksum/SHA256/158 1092s ok 901 /checksum/SHA256/159 1092s ok 902 /checksum/SHA256/160 1092s ok 903 /checksum/SHA256/161 1092s ok 904 /checksum/SHA256/162 1092s ok 905 /checksum/SHA256/163 1092s ok 906 /checksum/SHA256/164 1092s ok 907 /checksum/SHA256/165 1092s ok 908 /checksum/SHA256/166 1092s ok 909 /checksum/SHA256/167 1092s ok 910 /checksum/SHA256/168 1092s ok 911 /checksum/SHA256/169 1092s ok 912 /checksum/SHA256/170 1092s ok 913 /checksum/SHA256/171 1092s ok 914 /checksum/SHA256/172 1092s ok 915 /checksum/SHA256/173 1092s ok 916 /checksum/SHA256/174 1092s ok 917 /checksum/SHA256/175 1092s ok 918 /checksum/SHA256/176 1092s ok 919 /checksum/SHA256/177 1092s ok 920 /checksum/SHA256/178 1092s ok 921 /checksum/SHA256/179 1092s ok 922 /checksum/SHA256/180 1092s ok 923 /checksum/SHA256/181 1092s ok 924 /checksum/SHA256/182 1092s ok 925 /checksum/SHA256/183 1092s ok 926 /checksum/SHA256/string 1092s ok 927 /checksum/SHA256/bytes 1092s # Start of reset tests 1092s ok 928 /checksum/SHA256/reset/0 1092s ok 929 /checksum/SHA256/reset/1 1092s ok 930 /checksum/SHA256/reset/2 1092s ok 931 /checksum/SHA256/reset/3 1092s ok 932 /checksum/SHA256/reset/4 1092s ok 933 /checksum/SHA256/reset/5 1092s ok 934 /checksum/SHA256/reset/6 1092s ok 935 /checksum/SHA256/reset/7 1092s ok 936 /checksum/SHA256/reset/8 1092s ok 937 /checksum/SHA256/reset/9 1092s ok 938 /checksum/SHA256/reset/10 1092s ok 939 /checksum/SHA256/reset/11 1092s ok 940 /checksum/SHA256/reset/12 1092s ok 941 /checksum/SHA256/reset/13 1092s ok 942 /checksum/SHA256/reset/14 1092s ok 943 /checksum/SHA256/reset/15 1092s ok 944 /checksum/SHA256/reset/16 1092s ok 945 /checksum/SHA256/reset/17 1092s ok 946 /checksum/SHA256/reset/18 1092s ok 947 /checksum/SHA256/reset/19 1092s ok 948 /checksum/SHA256/reset/20 1092s ok 949 /checksum/SHA256/reset/21 1092s ok 950 /checksum/SHA256/reset/22 1092s ok 951 /checksum/SHA256/reset/23 1092s ok 952 /checksum/SHA256/reset/24 1092s ok 953 /checksum/SHA256/reset/25 1092s ok 954 /checksum/SHA256/reset/26 1092s ok 955 /checksum/SHA256/reset/27 1092s ok 956 /checksum/SHA256/reset/28 1092s ok 957 /checksum/SHA256/reset/29 1092s ok 958 /checksum/SHA256/reset/30 1092s ok 959 /checksum/SHA256/reset/31 1092s ok 960 /checksum/SHA256/reset/32 1092s ok 961 /checksum/SHA256/reset/33 1092s ok 962 /checksum/SHA256/reset/34 1092s ok 963 /checksum/SHA256/reset/35 1092s ok 964 /checksum/SHA256/reset/36 1092s ok 965 /checksum/SHA256/reset/37 1092s ok 966 /checksum/SHA256/reset/38 1092s ok 967 /checksum/SHA256/reset/39 1092s ok 968 /checksum/SHA256/reset/40 1092s ok 969 /checksum/SHA256/reset/41 1092s ok 970 /checksum/SHA256/reset/42 1092s ok 971 /checksum/SHA256/reset/43 1092s ok 972 /checksum/SHA256/reset/44 1092s ok 973 /checksum/SHA256/reset/45 1092s ok 974 /checksum/SHA256/reset/46 1092s ok 975 /checksum/SHA256/reset/47 1092s ok 976 /checksum/SHA256/reset/48 1092s ok 977 /checksum/SHA256/reset/49 1092s ok 978 /checksum/SHA256/reset/50 1092s ok 979 /checksum/SHA256/reset/51 1092s ok 980 /checksum/SHA256/reset/52 1092s ok 981 /checksum/SHA256/reset/53 1092s ok 982 /checksum/SHA256/reset/54 1092s ok 983 /checksum/SHA256/reset/55 1092s ok 984 /checksum/SHA256/reset/56 1092s ok 985 /checksum/SHA256/reset/57 1092s ok 986 /checksum/SHA256/reset/58 1092s ok 987 /checksum/SHA256/reset/59 1092s ok 988 /checksum/SHA256/reset/60 1092s ok 989 /checksum/SHA256/reset/61 1092s ok 990 /checksum/SHA256/reset/62 1092s ok 991 /checksum/SHA256/reset/63 1092s ok 992 /checksum/SHA256/reset/64 1092s ok 993 /checksum/SHA256/reset/65 1092s ok 994 /checksum/SHA256/reset/66 1092s ok 995 /checksum/SHA256/reset/67 1092s ok 996 /checksum/SHA256/reset/68 1092s ok 997 /checksum/SHA256/reset/69 1092s ok 998 /checksum/SHA256/reset/70 1092s ok 999 /checksum/SHA256/reset/71 1092s ok 1000 /checksum/SHA256/reset/72 1092s ok 1001 /checksum/SHA256/reset/73 1092s ok 1002 /checksum/SHA256/reset/74 1092s ok 1003 /checksum/SHA256/reset/75 1092s ok 1004 /checksum/SHA256/reset/76 1092s ok 1005 /checksum/SHA256/reset/77 1092s ok 1006 /checksum/SHA256/reset/78 1092s ok 1007 /checksum/SHA256/reset/79 1092s ok 1008 /checksum/SHA256/reset/80 1092s ok 1009 /checksum/SHA256/reset/81 1092s ok 1010 /checksum/SHA256/reset/82 1092s ok 1011 /checksum/SHA256/reset/83 1092s ok 1012 /checksum/SHA256/reset/84 1092s ok 1013 /checksum/SHA256/reset/85 1092s ok 1014 /checksum/SHA256/reset/86 1092s ok 1015 /checksum/SHA256/reset/87 1092s ok 1016 /checksum/SHA256/reset/88 1092s ok 1017 /checksum/SHA256/reset/89 1092s ok 1018 /checksum/SHA256/reset/90 1092s ok 1019 /checksum/SHA256/reset/91 1092s ok 1020 /checksum/SHA256/reset/92 1092s ok 1021 /checksum/SHA256/reset/93 1092s ok 1022 /checksum/SHA256/reset/94 1092s ok 1023 /checksum/SHA256/reset/95 1092s ok 1024 /checksum/SHA256/reset/96 1092s ok 1025 /checksum/SHA256/reset/97 1092s ok 1026 /checksum/SHA256/reset/98 1092s ok 1027 /checksum/SHA256/reset/99 1092s ok 1028 /checksum/SHA256/reset/100 1092s ok 1029 /checksum/SHA256/reset/101 1092s ok 1030 /checksum/SHA256/reset/102 1092s ok 1031 /checksum/SHA256/reset/103 1092s ok 1032 /checksum/SHA256/reset/104 1092s ok 1033 /checksum/SHA256/reset/105 1092s ok 1034 /checksum/SHA256/reset/106 1092s ok 1035 /checksum/SHA256/reset/107 1092s ok 1036 /checksum/SHA256/reset/108 1092s ok 1037 /checksum/SHA256/reset/109 1092s ok 1038 /checksum/SHA256/reset/110 1092s ok 1039 /checksum/SHA256/reset/111 1092s ok 1040 /checksum/SHA256/reset/112 1092s ok 1041 /checksum/SHA256/reset/113 1092s ok 1042 /checksum/SHA256/reset/114 1092s ok 1043 /checksum/SHA256/reset/115 1092s ok 1044 /checksum/SHA256/reset/116 1092s ok 1045 /checksum/SHA256/reset/117 1092s ok 1046 /checksum/SHA256/reset/118 1092s ok 1047 /checksum/SHA256/reset/119 1092s ok 1048 /checksum/SHA256/reset/120 1092s ok 1049 /checksum/SHA256/reset/121 1092s ok 1050 /checksum/SHA256/reset/122 1092s ok 1051 /checksum/SHA256/reset/123 1092s ok 1052 /checksum/SHA256/reset/124 1092s ok 1053 /checksum/SHA256/reset/125 1092s ok 1054 /checksum/SHA256/reset/126 1092s ok 1055 /checksum/SHA256/reset/127 1092s ok 1056 /checksum/SHA256/reset/128 1092s ok 1057 /checksum/SHA256/reset/129 1092s ok 1058 /checksum/SHA256/reset/130 1092s ok 1059 /checksum/SHA256/reset/131 1092s ok 1060 /checksum/SHA256/reset/132 1092s ok 1061 /checksum/SHA256/reset/133 1092s ok 1062 /checksum/SHA256/reset/134 1092s ok 1063 /checksum/SHA256/reset/135 1092s ok 1064 /checksum/SHA256/reset/136 1092s ok 1065 /checksum/SHA256/reset/137 1092s ok 1066 /checksum/SHA256/reset/138 1092s ok 1067 /checksum/SHA256/reset/139 1092s ok 1068 /checksum/SHA256/reset/140 1092s ok 1069 /checksum/SHA256/reset/141 1092s ok 1070 /checksum/SHA256/reset/142 1092s ok 1071 /checksum/SHA256/reset/143 1092s ok 1072 /checksum/SHA256/reset/144 1092s ok 1073 /checksum/SHA256/reset/145 1092s ok 1074 /checksum/SHA256/reset/146 1092s ok 1075 /checksum/SHA256/reset/147 1092s ok 1076 /checksum/SHA256/reset/148 1092s ok 1077 /checksum/SHA256/reset/149 1092s ok 1078 /checksum/SHA256/reset/150 1092s ok 1079 /checksum/SHA256/reset/151 1092s ok 1080 /checksum/SHA256/reset/152 1092s ok 1081 /checksum/SHA256/reset/153 1092s ok 1082 /checksum/SHA256/reset/154 1092s ok 1083 /checksum/SHA256/reset/155 1092s ok 1084 /checksum/SHA256/reset/156 1092s ok 1085 /checksum/SHA256/reset/157 1092s ok 1086 /checksum/SHA256/reset/158 1092s ok 1087 /checksum/SHA256/reset/159 1092s ok 1088 /checksum/SHA256/reset/160 1092s ok 1089 /checksum/SHA256/reset/161 1092s ok 1090 /checksum/SHA256/reset/162 1092s ok 1091 /checksum/SHA256/reset/163 1092s ok 1092 /checksum/SHA256/reset/164 1092s ok 1093 /checksum/SHA256/reset/165 1092s ok 1094 /checksum/SHA256/reset/166 1092s ok 1095 /checksum/SHA256/reset/167 1092s ok 1096 /checksum/SHA256/reset/168 1092s ok 1097 /checksum/SHA256/reset/169 1092s ok 1098 /checksum/SHA256/reset/170 1092s ok 1099 /checksum/SHA256/reset/171 1092s ok 1100 /checksum/SHA256/reset/172 1092s ok 1101 /checksum/SHA256/reset/173 1092s ok 1102 /checksum/SHA256/reset/174 1092s ok 1103 /checksum/SHA256/reset/175 1092s ok 1104 /checksum/SHA256/reset/176 1092s ok 1105 /checksum/SHA256/reset/177 1092s ok 1106 /checksum/SHA256/reset/178 1092s ok 1107 /checksum/SHA256/reset/179 1092s ok 1108 /checksum/SHA256/reset/180 1092s ok 1109 /checksum/SHA256/reset/181 1092s ok 1110 /checksum/SHA256/reset/182 1092s ok 1111 /checksum/SHA256/reset/183 1092s # End of reset tests 1092s # End of SHA256 tests 1092s # Start of SHA384 tests 1092s ok 1112 /checksum/SHA384/0 1092s ok 1113 /checksum/SHA384/1 1092s ok 1114 /checksum/SHA384/2 1092s ok 1115 /checksum/SHA384/3 1092s ok 1116 /checksum/SHA384/4 1092s ok 1117 /checksum/SHA384/5 1092s ok 1118 /checksum/SHA384/6 1092s ok 1119 /checksum/SHA384/7 1092s ok 1120 /checksum/SHA384/8 1092s ok 1121 /checksum/SHA384/9 1092s ok 1122 /checksum/SHA384/10 1092s ok 1123 /checksum/SHA384/11 1092s ok 1124 /checksum/SHA384/12 1092s ok 1125 /checksum/SHA384/13 1092s ok 1126 /checksum/SHA384/14 1092s ok 1127 /checksum/SHA384/15 1092s ok 1128 /checksum/SHA384/16 1092s ok 1129 /checksum/SHA384/17 1092s ok 1130 /checksum/SHA384/18 1092s ok 1131 /checksum/SHA384/19 1092s ok 1132 /checksum/SHA384/20 1092s ok 1133 /checksum/SHA384/21 1092s ok 1134 /checksum/SHA384/22 1092s ok 1135 /checksum/SHA384/23 1092s ok 1136 /checksum/SHA384/24 1092s ok 1137 /checksum/SHA384/25 1092s ok 1138 /checksum/SHA384/26 1092s ok 1139 /checksum/SHA384/27 1092s ok 1140 /checksum/SHA384/28 1092s ok 1141 /checksum/SHA384/29 1092s ok 1142 /checksum/SHA384/30 1092s ok 1143 /checksum/SHA384/31 1092s ok 1144 /checksum/SHA384/32 1092s ok 1145 /checksum/SHA384/33 1092s ok 1146 /checksum/SHA384/34 1092s ok 1147 /checksum/SHA384/35 1092s ok 1148 /checksum/SHA384/36 1092s ok 1149 /checksum/SHA384/37 1092s ok 1150 /checksum/SHA384/38 1092s ok 1151 /checksum/SHA384/39 1092s ok 1152 /checksum/SHA384/40 1092s ok 1153 /checksum/SHA384/41 1092s ok 1154 /checksum/SHA384/42 1092s ok 1155 /checksum/SHA384/43 1092s ok 1156 /checksum/SHA384/44 1092s ok 1157 /checksum/SHA384/45 1092s ok 1158 /checksum/SHA384/46 1092s ok 1159 /checksum/SHA384/47 1092s ok 1160 /checksum/SHA384/48 1092s ok 1161 /checksum/SHA384/49 1092s ok 1162 /checksum/SHA384/50 1092s ok 1163 /checksum/SHA384/51 1092s ok 1164 /checksum/SHA384/52 1092s ok 1165 /checksum/SHA384/53 1092s ok 1166 /checksum/SHA384/54 1092s ok 1167 /checksum/SHA384/55 1092s ok 1168 /checksum/SHA384/56 1092s ok 1169 /checksum/SHA384/57 1092s ok 1170 /checksum/SHA384/58 1092s ok 1171 /checksum/SHA384/59 1092s ok 1172 /checksum/SHA384/60 1092s ok 1173 /checksum/SHA384/61 1092s ok 1174 /checksum/SHA384/62 1092s ok 1175 /checksum/SHA384/63 1092s ok 1176 /checksum/SHA384/64 1092s ok 1177 /checksum/SHA384/65 1092s ok 1178 /checksum/SHA384/66 1092s ok 1179 /checksum/SHA384/67 1092s ok 1180 /checksum/SHA384/68 1092s ok 1181 /checksum/SHA384/69 1092s ok 1182 /checksum/SHA384/70 1092s ok 1183 /checksum/SHA384/71 1092s ok 1184 /checksum/SHA384/72 1092s ok 1185 /checksum/SHA384/73 1092s ok 1186 /checksum/SHA384/74 1092s ok 1187 /checksum/SHA384/75 1092s ok 1188 /checksum/SHA384/76 1092s ok 1189 /checksum/SHA384/77 1092s ok 1190 /checksum/SHA384/78 1092s ok 1191 /checksum/SHA384/79 1092s ok 1192 /checksum/SHA384/80 1092s ok 1193 /checksum/SHA384/81 1092s ok 1194 /checksum/SHA384/82 1092s ok 1195 /checksum/SHA384/83 1092s ok 1196 /checksum/SHA384/84 1092s ok 1197 /checksum/SHA384/85 1092s ok 1198 /checksum/SHA384/86 1092s ok 1199 /checksum/SHA384/87 1092s ok 1200 /checksum/SHA384/88 1092s ok 1201 /checksum/SHA384/89 1092s ok 1202 /checksum/SHA384/90 1092s ok 1203 /checksum/SHA384/91 1092s ok 1204 /checksum/SHA384/92 1092s ok 1205 /checksum/SHA384/93 1092s ok 1206 /checksum/SHA384/94 1092s ok 1207 /checksum/SHA384/95 1092s ok 1208 /checksum/SHA384/96 1092s ok 1209 /checksum/SHA384/97 1092s ok 1210 /checksum/SHA384/98 1092s ok 1211 /checksum/SHA384/99 1092s ok 1212 /checksum/SHA384/100 1092s ok 1213 /checksum/SHA384/101 1092s ok 1214 /checksum/SHA384/102 1092s ok 1215 /checksum/SHA384/103 1092s ok 1216 /checksum/SHA384/104 1092s ok 1217 /checksum/SHA384/105 1092s ok 1218 /checksum/SHA384/106 1092s ok 1219 /checksum/SHA384/107 1092s ok 1220 /checksum/SHA384/108 1092s ok 1221 /checksum/SHA384/109 1092s ok 1222 /checksum/SHA384/110 1092s ok 1223 /checksum/SHA384/111 1092s ok 1224 /checksum/SHA384/112 1092s ok 1225 /checksum/SHA384/113 1092s ok 1226 /checksum/SHA384/114 1092s ok 1227 /checksum/SHA384/115 1092s ok 1228 /checksum/SHA384/116 1092s ok 1229 /checksum/SHA384/117 1092s ok 1230 /checksum/SHA384/118 1092s ok 1231 /checksum/SHA384/119 1092s ok 1232 /checksum/SHA384/120 1092s ok 1233 /checksum/SHA384/121 1092s ok 1234 /checksum/SHA384/122 1092s ok 1235 /checksum/SHA384/123 1092s ok 1236 /checksum/SHA384/124 1092s ok 1237 /checksum/SHA384/125 1092s ok 1238 /checksum/SHA384/126 1092s ok 1239 /checksum/SHA384/127 1092s ok 1240 /checksum/SHA384/128 1092s ok 1241 /checksum/SHA384/129 1092s ok 1242 /checksum/SHA384/130 1092s ok 1243 /checksum/SHA384/131 1092s ok 1244 /checksum/SHA384/132 1092s ok 1245 /checksum/SHA384/133 1092s ok 1246 /checksum/SHA384/134 1092s ok 1247 /checksum/SHA384/135 1092s ok 1248 /checksum/SHA384/136 1092s ok 1249 /checksum/SHA384/137 1092s ok 1250 /checksum/SHA384/138 1092s ok 1251 /checksum/SHA384/139 1092s ok 1252 /checksum/SHA384/140 1092s ok 1253 /checksum/SHA384/141 1092s ok 1254 /checksum/SHA384/142 1092s ok 1255 /checksum/SHA384/143 1092s ok 1256 /checksum/SHA384/144 1092s ok 1257 /checksum/SHA384/145 1092s ok 1258 /checksum/SHA384/146 1092s ok 1259 /checksum/SHA384/147 1092s ok 1260 /checksum/SHA384/148 1092s ok 1261 /checksum/SHA384/149 1092s ok 1262 /checksum/SHA384/150 1092s ok 1263 /checksum/SHA384/151 1092s ok 1264 /checksum/SHA384/152 1092s ok 1265 /checksum/SHA384/153 1092s ok 1266 /checksum/SHA384/154 1092s ok 1267 /checksum/SHA384/155 1092s ok 1268 /checksum/SHA384/156 1092s ok 1269 /checksum/SHA384/157 1092s ok 1270 /checksum/SHA384/158 1092s ok 1271 /checksum/SHA384/159 1092s ok 1272 /checksum/SHA384/160 1092s ok 1273 /checksum/SHA384/161 1092s ok 1274 /checksum/SHA384/162 1092s ok 1275 /checksum/SHA384/163 1092s ok 1276 /checksum/SHA384/164 1092s ok 1277 /checksum/SHA384/165 1092s ok 1278 /checksum/SHA384/166 1092s ok 1279 /checksum/SHA384/167 1092s ok 1280 /checksum/SHA384/168 1092s ok 1281 /checksum/SHA384/169 1092s ok 1282 /checksum/SHA384/170 1092s ok 1283 /checksum/SHA384/171 1092s ok 1284 /checksum/SHA384/172 1092s ok 1285 /checksum/SHA384/173 1092s ok 1286 /checksum/SHA384/174 1092s ok 1287 /checksum/SHA384/175 1092s ok 1288 /checksum/SHA384/176 1092s ok 1289 /checksum/SHA384/177 1092s ok 1290 /checksum/SHA384/178 1092s ok 1291 /checksum/SHA384/179 1092s ok 1292 /checksum/SHA384/180 1092s ok 1293 /checksum/SHA384/181 1092s ok 1294 /checksum/SHA384/182 1092s ok 1295 /checksum/SHA384/183 1092s ok 1296 /checksum/SHA384/string 1092s ok 1297 /checksum/SHA384/bytes 1092s # Start of reset tests 1092s ok 1298 /checksum/SHA384/reset/0 1092s ok 1299 /checksum/SHA384/reset/1 1092s ok 1300 /checksum/SHA384/reset/2 1092s ok 1301 /checksum/SHA384/reset/3 1092s ok 1302 /checksum/SHA384/reset/4 1092s ok 1303 /checksum/SHA384/reset/5 1092s ok 1304 /checksum/SHA384/reset/6 1092s ok 1305 /checksum/SHA384/reset/7 1092s ok 1306 /checksum/SHA384/reset/8 1092s ok 1307 /checksum/SHA384/reset/9 1092s ok 1308 /checksum/SHA384/reset/10 1092s ok 1309 /checksum/SHA384/reset/11 1092s ok 1310 /checksum/SHA384/reset/12 1092s ok 1311 /checksum/SHA384/reset/13 1092s ok 1312 /checksum/SHA384/reset/14 1092s ok 1313 /checksum/SHA384/reset/15 1092s ok 1314 /checksum/SHA384/reset/16 1092s ok 1315 /checksum/SHA384/reset/17 1092s ok 1316 /checksum/SHA384/reset/18 1092s ok 1317 /checksum/SHA384/reset/19 1092s ok 1318 /checksum/SHA384/reset/20 1092s ok 1319 /checksum/SHA384/reset/21 1092s ok 1320 /checksum/SHA384/reset/22 1092s ok 1321 /checksum/SHA384/reset/23 1092s ok 1322 /checksum/SHA384/reset/24 1092s ok 1323 /checksum/SHA384/reset/25 1092s ok 1324 /checksum/SHA384/reset/26 1092s ok 1325 /checksum/SHA384/reset/27 1092s ok 1326 /checksum/SHA384/reset/28 1092s ok 1327 /checksum/SHA384/reset/29 1092s ok 1328 /checksum/SHA384/reset/30 1092s ok 1329 /checksum/SHA384/reset/31 1092s ok 1330 /checksum/SHA384/reset/32 1092s ok 1331 /checksum/SHA384/reset/33 1092s ok 1332 /checksum/SHA384/reset/34 1092s ok 1333 /checksum/SHA384/reset/35 1092s ok 1334 /checksum/SHA384/reset/36 1092s ok 1335 /checksum/SHA384/reset/37 1092s ok 1336 /checksum/SHA384/reset/38 1092s ok 1337 /checksum/SHA384/reset/39 1092s ok 1338 /checksum/SHA384/reset/40 1092s ok 1339 /checksum/SHA384/reset/41 1092s ok 1340 /checksum/SHA384/reset/42 1092s ok 1341 /checksum/SHA384/reset/43 1092s ok 1342 /checksum/SHA384/reset/44 1092s ok 1343 /checksum/SHA384/reset/45 1092s ok 1344 /checksum/SHA384/reset/46 1092s ok 1345 /checksum/SHA384/reset/47 1092s ok 1346 /checksum/SHA384/reset/48 1092s ok 1347 /checksum/SHA384/reset/49 1092s ok 1348 /checksum/SHA384/reset/50 1092s ok 1349 /checksum/SHA384/reset/51 1092s ok 1350 /checksum/SHA384/reset/52 1092s ok 1351 /checksum/SHA384/reset/53 1092s ok 1352 /checksum/SHA384/reset/54 1092s ok 1353 /checksum/SHA384/reset/55 1092s ok 1354 /checksum/SHA384/reset/56 1092s ok 1355 /checksum/SHA384/reset/57 1092s ok 1356 /checksum/SHA384/reset/58 1092s ok 1357 /checksum/SHA384/reset/59 1092s ok 1358 /checksum/SHA384/reset/60 1092s ok 1359 /checksum/SHA384/reset/61 1092s ok 1360 /checksum/SHA384/reset/62 1092s ok 1361 /checksum/SHA384/reset/63 1092s ok 1362 /checksum/SHA384/reset/64 1092s ok 1363 /checksum/SHA384/reset/65 1092s ok 1364 /checksum/SHA384/reset/66 1092s ok 1365 /checksum/SHA384/reset/67 1092s ok 1366 /checksum/SHA384/reset/68 1092s ok 1367 /checksum/SHA384/reset/69 1092s ok 1368 /checksum/SHA384/reset/70 1092s ok 1369 /checksum/SHA384/reset/71 1092s ok 1370 /checksum/SHA384/reset/72 1092s ok 1371 /checksum/SHA384/reset/73 1092s ok 1372 /checksum/SHA384/reset/74 1092s ok 1373 /checksum/SHA384/reset/75 1092s ok 1374 /checksum/SHA384/reset/76 1092s ok 1375 /checksum/SHA384/reset/77 1092s ok 1376 /checksum/SHA384/reset/78 1092s ok 1377 /checksum/SHA384/reset/79 1092s ok 1378 /checksum/SHA384/reset/80 1092s ok 1379 /checksum/SHA384/reset/81 1092s ok 1380 /checksum/SHA384/reset/82 1092s ok 1381 /checksum/SHA384/reset/83 1092s ok 1382 /checksum/SHA384/reset/84 1092s ok 1383 /checksum/SHA384/reset/85 1092s ok 1384 /checksum/SHA384/reset/86 1092s ok 1385 /checksum/SHA384/reset/87 1092s ok 1386 /checksum/SHA384/reset/88 1092s ok 1387 /checksum/SHA384/reset/89 1092s ok 1388 /checksum/SHA384/reset/90 1092s ok 1389 /checksum/SHA384/reset/91 1092s ok 1390 /checksum/SHA384/reset/92 1092s ok 1391 /checksum/SHA384/reset/93 1092s ok 1392 /checksum/SHA384/reset/94 1092s ok 1393 /checksum/SHA384/reset/95 1092s ok 1394 /checksum/SHA384/reset/96 1092s ok 1395 /checksum/SHA384/reset/97 1092s ok 1396 /checksum/SHA384/reset/98 1092s ok 1397 /checksum/SHA384/reset/99 1092s ok 1398 /checksum/SHA384/reset/100 1092s ok 1399 /checksum/SHA384/reset/101 1092s ok 1400 /checksum/SHA384/reset/102 1092s ok 1401 /checksum/SHA384/reset/103 1092s ok 1402 /checksum/SHA384/reset/104 1092s ok 1403 /checksum/SHA384/reset/105 1092s ok 1404 /checksum/SHA384/reset/106 1092s ok 1405 /checksum/SHA384/reset/107 1092s ok 1406 /checksum/SHA384/reset/108 1092s ok 1407 /checksum/SHA384/reset/109 1092s ok 1408 /checksum/SHA384/reset/110 1092s ok 1409 /checksum/SHA384/reset/111 1092s ok 1410 /checksum/SHA384/reset/112 1092s ok 1411 /checksum/SHA384/reset/113 1092s ok 1412 /checksum/SHA384/reset/114 1092s ok 1413 /checksum/SHA384/reset/115 1092s ok 1414 /checksum/SHA384/reset/116 1092s ok 1415 /checksum/SHA384/reset/117 1092s ok 1416 /checksum/SHA384/reset/118 1092s ok 1417 /checksum/SHA384/reset/119 1092s ok 1418 /checksum/SHA384/reset/120 1092s ok 1419 /checksum/SHA384/reset/121 1092s ok 1420 /checksum/SHA384/reset/122 1092s ok 1421 /checksum/SHA384/reset/123 1092s ok 1422 /checksum/SHA384/reset/124 1092s ok 1423 /checksum/SHA384/reset/125 1092s ok 1424 /checksum/SHA384/reset/126 1092s ok 1425 /checksum/SHA384/reset/127 1092s ok 1426 /checksum/SHA384/reset/128 1092s ok 1427 /checksum/SHA384/reset/129 1092s ok 1428 /checksum/SHA384/reset/130 1092s ok 1429 /checksum/SHA384/reset/131 1092s ok 1430 /checksum/SHA384/reset/132 1092s ok 1431 /checksum/SHA384/reset/133 1092s ok 1432 /checksum/SHA384/reset/134 1092s ok 1433 /checksum/SHA384/reset/135 1092s ok 1434 /checksum/SHA384/reset/136 1092s ok 1435 /checksum/SHA384/reset/137 1092s ok 1436 /checksum/SHA384/reset/138 1092s ok 1437 /checksum/SHA384/reset/139 1092s ok 1438 /checksum/SHA384/reset/140 1092s ok 1439 /checksum/SHA384/reset/141 1092s ok 1440 /checksum/SHA384/reset/142 1092s ok 1441 /checksum/SHA384/reset/143 1092s ok 1442 /checksum/SHA384/reset/144 1092s ok 1443 /checksum/SHA384/reset/145 1092s ok 1444 /checksum/SHA384/reset/146 1092s ok 1445 /checksum/SHA384/reset/147 1092s ok 1446 /checksum/SHA384/reset/148 1092s ok 1447 /checksum/SHA384/reset/149 1092s ok 1448 /checksum/SHA384/reset/150 1092s ok 1449 /checksum/SHA384/reset/151 1092s ok 1450 /checksum/SHA384/reset/152 1092s ok 1451 /checksum/SHA384/reset/153 1092s ok 1452 /checksum/SHA384/reset/154 1092s ok 1453 /checksum/SHA384/reset/155 1092s ok 1454 /checksum/SHA384/reset/156 1092s ok 1455 /checksum/SHA384/reset/157 1092s ok 1456 /checksum/SHA384/reset/158 1092s ok 1457 /checksum/SHA384/reset/159 1092s ok 1458 /checksum/SHA384/reset/160 1092s ok 1459 /checksum/SHA384/reset/161 1092s ok 1460 /checksum/SHA384/reset/162 1092s ok 1461 /checksum/SHA384/reset/163 1092s ok 1462 /checksum/SHA384/reset/164 1092s ok 1463 /checksum/SHA384/reset/165 1092s ok 1464 /checksum/SHA384/reset/166 1092s ok 1465 /checksum/SHA384/reset/167 1092s ok 1466 /checksum/SHA384/reset/168 1092s ok 1467 /checksum/SHA384/reset/169 1092s ok 1468 /checksum/SHA384/reset/170 1092s ok 1469 /checksum/SHA384/reset/171 1092s ok 1470 /checksum/SHA384/reset/172 1092s ok 1471 /checksum/SHA384/reset/173 1092s ok 1472 /checksum/SHA384/reset/174 1092s ok 1473 /checksum/SHA384/reset/175 1092s ok 1474 /checksum/SHA384/reset/176 1092s ok 1475 /checksum/SHA384/reset/177 1092s ok 1476 /checksum/SHA384/reset/178 1092s ok 1477 /checksum/SHA384/reset/179 1092s ok 1478 /checksum/SHA384/reset/180 1092s ok 1479 /checksum/SHA384/reset/181 1092s ok 1480 /checksum/SHA384/reset/182 1092s ok 1481 /checksum/SHA384/reset/183 1092s # End of reset tests 1092s # End of SHA384 tests 1092s # Start of SHA512 tests 1092s ok 1482 /checksum/SHA512/0 1092s ok 1483 /checksum/SHA512/1 1092s ok 1484 /checksum/SHA512/2 1092s ok 1485 /checksum/SHA512/3 1092s ok 1486 /checksum/SHA512/4 1092s ok 1487 /checksum/SHA512/5 1092s ok 1488 /checksum/SHA512/6 1092s ok 1489 /checksum/SHA512/7 1092s ok 1490 /checksum/SHA512/8 1092s ok 1491 /checksum/SHA512/9 1092s ok 1492 /checksum/SHA512/10 1092s ok 1493 /checksum/SHA512/11 1092s ok 1494 /checksum/SHA512/12 1092s ok 1495 /checksum/SHA512/13 1092s ok 1496 /checksum/SHA512/14 1092s ok 1497 /checksum/SHA512/15 1092s ok 1498 /checksum/SHA512/16 1092s ok 1499 /checksum/SHA512/17 1092s ok 1500 /checksum/SHA512/18 1092s ok 1501 /checksum/SHA512/19 1092s ok 1502 /checksum/SHA512/20 1092s ok 1503 /checksum/SHA512/21 1092s ok 1504 /checksum/SHA512/22 1092s ok 1505 /checksum/SHA512/23 1092s ok 1506 /checksum/SHA512/24 1092s ok 1507 /checksum/SHA512/25 1092s ok 1508 /checksum/SHA512/26 1092s ok 1509 /checksum/SHA512/27 1092s ok 1510 /checksum/SHA512/28 1092s ok 1511 /checksum/SHA512/29 1092s ok 1512 /checksum/SHA512/30 1092s ok 1513 /checksum/SHA512/31 1092s ok 1514 /checksum/SHA512/32 1092s ok 1515 /checksum/SHA512/33 1092s ok 1516 /checksum/SHA512/34 1092s ok 1517 /checksum/SHA512/35 1092s ok 1518 /checksum/SHA512/36 1092s ok 1519 /checksum/SHA512/37 1092s ok 1520 /checksum/SHA512/38 1092s ok 1521 /checksum/SHA512/39 1092s ok 1522 /checksum/SHA512/40 1092s ok 1523 /checksum/SHA512/41 1092s ok 1524 /checksum/SHA512/42 1092s ok 1525 /checksum/SHA512/43 1092s ok 1526 /checksum/SHA512/44 1092s ok 1527 /checksum/SHA512/45 1092s ok 1528 /checksum/SHA512/46 1092s ok 1529 /checksum/SHA512/47 1092s ok 1530 /checksum/SHA512/48 1092s ok 1531 /checksum/SHA512/49 1092s ok 1532 /checksum/SHA512/50 1092s ok 1533 /checksum/SHA512/51 1092s ok 1534 /checksum/SHA512/52 1092s ok 1535 /checksum/SHA512/53 1092s ok 1536 /checksum/SHA512/54 1092s ok 1537 /checksum/SHA512/55 1092s ok 1538 /checksum/SHA512/56 1092s ok 1539 /checksum/SHA512/57 1092s ok 1540 /checksum/SHA512/58 1092s ok 1541 /checksum/SHA512/59 1092s ok 1542 /checksum/SHA512/60 1092s ok 1543 /checksum/SHA512/61 1092s ok 1544 /checksum/SHA512/62 1092s ok 1545 /checksum/SHA512/63 1092s ok 1546 /checksum/SHA512/64 1092s ok 1547 /checksum/SHA512/65 1092s ok 1548 /checksum/SHA512/66 1092s ok 1549 /checksum/SHA512/67 1092s ok 1550 /checksum/SHA512/68 1092s ok 1551 /checksum/SHA512/69 1092s ok 1552 /checksum/SHA512/70 1092s ok 1553 /checksum/SHA512/71 1092s ok 1554 /checksum/SHA512/72 1092s ok 1555 /checksum/SHA512/73 1092s ok 1556 /checksum/SHA512/74 1092s ok 1557 /checksum/SHA512/75 1092s ok 1558 /checksum/SHA512/76 1092s ok 1559 /checksum/SHA512/77 1092s ok 1560 /checksum/SHA512/78 1092s ok 1561 /checksum/SHA512/79 1092s ok 1562 /checksum/SHA512/80 1092s ok 1563 /checksum/SHA512/81 1092s ok 1564 /checksum/SHA512/82 1092s ok 1565 /checksum/SHA512/83 1092s ok 1566 /checksum/SHA512/84 1092s ok 1567 /checksum/SHA512/85 1092s ok 1568 /checksum/SHA512/86 1092s ok 1569 /checksum/SHA512/87 1092s ok 1570 /checksum/SHA512/88 1092s ok 1571 /checksum/SHA512/89 1092s ok 1572 /checksum/SHA512/90 1092s ok 1573 /checksum/SHA512/91 1092s ok 1574 /checksum/SHA512/92 1092s ok 1575 /checksum/SHA512/93 1092s ok 1576 /checksum/SHA512/94 1092s ok 1577 /checksum/SHA512/95 1092s ok 1578 /checksum/SHA512/96 1092s ok 1579 /checksum/SHA512/97 1092s ok 1580 /checksum/SHA512/98 1092s ok 1581 /checksum/SHA512/99 1092s ok 1582 /checksum/SHA512/100 1092s ok 1583 /checksum/SHA512/101 1092s ok 1584 /checksum/SHA512/102 1092s ok 1585 /checksum/SHA512/103 1092s ok 1586 /checksum/SHA512/104 1092s ok 1587 /checksum/SHA512/105 1092s ok 1588 /checksum/SHA512/106 1092s ok 1589 /checksum/SHA512/107 1092s ok 1590 /checksum/SHA512/108 1092s ok 1591 /checksum/SHA512/109 1092s ok 1592 /checksum/SHA512/110 1092s ok 1593 /checksum/SHA512/111 1092s ok 1594 /checksum/SHA512/112 1092s ok 1595 /checksum/SHA512/113 1092s ok 1596 /checksum/SHA512/114 1092s ok 1597 /checksum/SHA512/115 1092s ok 1598 /checksum/SHA512/116 1092s ok 1599 /checksum/SHA512/117 1092s ok 1600 /checksum/SHA512/118 1092s ok 1601 /checksum/SHA512/119 1092s ok 1602 /checksum/SHA512/120 1092s ok 1603 /checksum/SHA512/121 1092s ok 1604 /checksum/SHA512/122 1092s ok 1605 /checksum/SHA512/123 1092s ok 1606 /checksum/SHA512/124 1092s ok 1607 /checksum/SHA512/125 1092s ok 1608 /checksum/SHA512/126 1092s ok 1609 /checksum/SHA512/127 1092s ok 1610 /checksum/SHA512/128 1092s ok 1611 /checksum/SHA512/129 1092s ok 1612 /checksum/SHA512/130 1092s ok 1613 /checksum/SHA512/131 1092s ok 1614 /checksum/SHA512/132 1092s ok 1615 /checksum/SHA512/133 1092s ok 1616 /checksum/SHA512/134 1092s ok 1617 /checksum/SHA512/135 1092s ok 1618 /checksum/SHA512/136 1092s ok 1619 /checksum/SHA512/137 1092s ok 1620 /checksum/SHA512/138 1092s ok 1621 /checksum/SHA512/139 1092s ok 1622 /checksum/SHA512/140 1092s ok 1623 /checksum/SHA512/141 1092s ok 1624 /checksum/SHA512/142 1092s ok 1625 /checksum/SHA512/143 1092s ok 1626 /checksum/SHA512/144 1092s ok 1627 /checksum/SHA512/145 1092s ok 1628 /checksum/SHA512/146 1092s ok 1629 /checksum/SHA512/147 1092s ok 1630 /checksum/SHA512/148 1092s ok 1631 /checksum/SHA512/149 1092s ok 1632 /checksum/SHA512/150 1092s ok 1633 /checksum/SHA512/151 1092s ok 1634 /checksum/SHA512/152 1092s ok 1635 /checksum/SHA512/153 1092s ok 1636 /checksum/SHA512/154 1092s ok 1637 /checksum/SHA512/155 1092s ok 1638 /checksum/SHA512/156 1092s ok 1639 /checksum/SHA512/157 1092s ok 1640 /checksum/SHA512/158 1092s ok 1641 /checksum/SHA512/159 1092s ok 1642 /checksum/SHA512/160 1092s ok 1643 /checksum/SHA512/161 1092s ok 1644 /checksum/SHA512/162 1092s ok 1645 /checksum/SHA512/163 1092s ok 1646 /checksum/SHA512/164 1092s ok 1647 /checksum/SHA512/165 1092s ok 1648 /checksum/SHA512/166 1092s ok 1649 /checksum/SHA512/167 1092s ok 1650 /checksum/SHA512/168 1092s ok 1651 /checksum/SHA512/169 1092s ok 1652 /checksum/SHA512/170 1092s ok 1653 /checksum/SHA512/171 1092s ok 1654 /checksum/SHA512/172 1092s ok 1655 /checksum/SHA512/173 1092s ok 1656 /checksum/SHA512/174 1092s ok 1657 /checksum/SHA512/175 1092s ok 1658 /checksum/SHA512/176 1092s ok 1659 /checksum/SHA512/177 1092s ok 1660 /checksum/SHA512/178 1092s ok 1661 /checksum/SHA512/179 1092s ok 1662 /checksum/SHA512/180 1092s ok 1663 /checksum/SHA512/181 1092s ok 1664 /checksum/SHA512/182 1092s ok 1665 /checksum/SHA512/183 1092s ok 1666 /checksum/SHA512/string 1092s ok 1667 /checksum/SHA512/bytes 1092s # Start of reset tests 1092s ok 1668 /checksum/SHA512/reset/0 1092s ok 1669 /checksum/SHA512/reset/1 1092s ok 1670 /checksum/SHA512/reset/2 1092s ok 1671 /checksum/SHA512/reset/3 1092s ok 1672 /checksum/SHA512/reset/4 1092s ok 1673 /checksum/SHA512/reset/5 1092s ok 1674 /checksum/SHA512/reset/6 1092s ok 1675 /checksum/SHA512/reset/7 1092s ok 1676 /checksum/SHA512/reset/8 1092s ok 1677 /checksum/SHA512/reset/9 1092s ok 1678 /checksum/SHA512/reset/10 1092s ok 1679 /checksum/SHA512/reset/11 1092s ok 1680 /checksum/SHA512/reset/12 1092s ok 1681 /checksum/SHA512/reset/13 1092s ok 1682 /checksum/SHA512/reset/14 1092s ok 1683 /checksum/SHA512/reset/15 1092s ok 1684 /checksum/SHA512/reset/16 1092s ok 1685 /checksum/SHA512/reset/17 1092s ok 1686 /checksum/SHA512/reset/18 1092s ok 1687 /checksum/SHA512/reset/19 1092s ok 1688 /checksum/SHA512/reset/20 1092s ok 1689 /checksum/SHA512/reset/21 1092s ok 1690 /checksum/SHA512/reset/22 1092s ok 1691 /checksum/SHA512/reset/23 1092s ok 1692 /checksum/SHA512/reset/24 1092s ok 1693 /checksum/SHA512/reset/25 1092s ok 1694 /checksum/SHA512/reset/26 1092s ok 1695 /checksum/SHA512/reset/27 1092s ok 1696 /checksum/SHA512/reset/28 1092s ok 1697 /checksum/SHA512/reset/29 1092s ok 1698 /checksum/SHA512/reset/30 1092s ok 1699 /checksum/SHA512/reset/31 1092s ok 1700 /checksum/SHA512/reset/32 1092s ok 1701 /checksum/SHA512/reset/33 1092s ok 1702 /checksum/SHA512/reset/34 1092s ok 1703 /checksum/SHA512/reset/35 1092s ok 1704 /checksum/SHA512/reset/36 1092s ok 1705 /checksum/SHA512/reset/37 1092s ok 1706 /checksum/SHA512/reset/38 1092s ok 1707 /checksum/SHA512/reset/39 1092s ok 1708 /checksum/SHA512/reset/40 1092s ok 1709 /checksum/SHA512/reset/41 1092s ok 1710 /checksum/SHA512/reset/42 1092s ok 1711 /checksum/SHA512/reset/43 1092s ok 1712 /checksum/SHA512/reset/44 1092s ok 1713 /checksum/SHA512/reset/45 1092s ok 1714 /checksum/SHA512/reset/46 1092s ok 1715 /checksum/SHA512/reset/47 1092s ok 1716 /checksum/SHA512/reset/48 1092s ok 1717 /checksum/SHA512/reset/49 1092s ok 1718 /checksum/SHA512/reset/50 1092s ok 1719 /checksum/SHA512/reset/51 1092s ok 1720 /checksum/SHA512/reset/52 1092s ok 1721 /checksum/SHA512/reset/53 1092s ok 1722 /checksum/SHA512/reset/54 1092s ok 1723 /checksum/SHA512/reset/55 1092s ok 1724 /checksum/SHA512/reset/56 1092s ok 1725 /checksum/SHA512/reset/57 1092s ok 1726 /checksum/SHA512/reset/58 1092s ok 1727 /checksum/SHA512/reset/59 1092s ok 1728 /checksum/SHA512/reset/60 1092s ok 1729 /checksum/SHA512/reset/61 1092s ok 1730 /checksum/SHA512/reset/62 1092s ok 1731 /checksum/SHA512/reset/63 1092s ok 1732 /checksum/SHA512/reset/64 1092s ok 1733 /checksum/SHA512/reset/65 1092s ok 1734 /checksum/SHA512/reset/66 1092s ok 1735 /checksum/SHA512/reset/67 1092s ok 1736 /checksum/SHA512/reset/68 1092s ok 1737 /checksum/SHA512/reset/69 1092s ok 1738 /checksum/SHA512/reset/70 1092s ok 1739 /checksum/SHA512/reset/71 1092s ok 1740 /checksum/SHA512/reset/72 1092s ok 1741 /checksum/SHA512/reset/73 1092s ok 1742 /checksum/SHA512/reset/74 1092s ok 1743 /checksum/SHA512/reset/75 1092s ok 1744 /checksum/SHA512/reset/76 1092s ok 1745 /checksum/SHA512/reset/77 1092s ok 1746 /checksum/SHA512/reset/78 1092s ok 1747 /checksum/SHA512/reset/79 1092s ok 1748 /checksum/SHA512/reset/80 1092s ok 1749 /checksum/SHA512/reset/81 1092s ok 1750 /checksum/SHA512/reset/82 1092s ok 1751 /checksum/SHA512/reset/83 1092s ok 1752 /checksum/SHA512/reset/84 1092s ok 1753 /checksum/SHA512/reset/85 1092s ok 1754 /checksum/SHA512/reset/86 1092s ok 1755 /checksum/SHA512/reset/87 1092s ok 1756 /checksum/SHA512/reset/88 1092s ok 1757 /checksum/SHA512/reset/89 1092s ok 1758 /checksum/SHA512/reset/90 1092s ok 1759 /checksum/SHA512/reset/91 1092s ok 1760 /checksum/SHA512/reset/92 1092s ok 1761 /checksum/SHA512/reset/93 1092s ok 1762 /checksum/SHA512/reset/94 1092s ok 1763 /checksum/SHA512/reset/95 1092s ok 1764 /checksum/SHA512/reset/96 1092s ok 1765 /checksum/SHA512/reset/97 1092s ok 1766 /checksum/SHA512/reset/98 1092s ok 1767 /checksum/SHA512/reset/99 1092s ok 1768 /checksum/SHA512/reset/100 1092s ok 1769 /checksum/SHA512/reset/101 1092s ok 1770 /checksum/SHA512/reset/102 1092s ok 1771 /checksum/SHA512/reset/103 1092s ok 1772 /checksum/SHA512/reset/104 1092s ok 1773 /checksum/SHA512/reset/105 1092s ok 1774 /checksum/SHA512/reset/106 1092s ok 1775 /checksum/SHA512/reset/107 1092s ok 1776 /checksum/SHA512/reset/108 1092s ok 1777 /checksum/SHA512/reset/109 1092s ok 1778 /checksum/SHA512/reset/110 1092s ok 1779 /checksum/SHA512/reset/111 1092s ok 1780 /checksum/SHA512/reset/112 1092s ok 1781 /checksum/SHA512/reset/113 1092s ok 1782 /checksum/SHA512/reset/114 1092s ok 1783 /checksum/SHA512/reset/115 1092s ok 1784 /checksum/SHA512/reset/116 1092s ok 1785 /checksum/SHA512/reset/117 1092s ok 1786 /checksum/SHA512/reset/118 1092s ok 1787 /checksum/SHA512/reset/119 1092s ok 1788 /checksum/SHA512/reset/120 1092s ok 1789 /checksum/SHA512/reset/121 1092s ok 1790 /checksum/SHA512/reset/122 1092s ok 1791 /checksum/SHA512/reset/123 1092s ok 1792 /checksum/SHA512/reset/124 1092s ok 1793 /checksum/SHA512/reset/125 1092s ok 1794 /checksum/SHA512/reset/126 1092s ok 1795 /checksum/SHA512/reset/127 1092s ok 1796 /checksum/SHA512/reset/128 1092s ok 1797 /checksum/SHA512/reset/129 1092s ok 1798 /checksum/SHA512/reset/130 1092s ok 1799 /checksum/SHA512/reset/131 1092s ok 1800 /checksum/SHA512/reset/132 1092s ok 1801 /checksum/SHA512/reset/133 1092s ok 1802 /checksum/SHA512/reset/134 1092s ok 1803 /checksum/SHA512/reset/135 1092s ok 1804 /checksum/SHA512/reset/136 1092s ok 1805 /checksum/SHA512/reset/137 1092s ok 1806 /checksum/SHA512/reset/138 1092s ok 1807 /checksum/SHA512/reset/139 1092s ok 1808 /checksum/SHA512/reset/140 1092s ok 1809 /checksum/SHA512/reset/141 1092s ok 1810 /checksum/SHA512/reset/142 1092s ok 1811 /checksum/SHA512/reset/143 1092s ok 1812 /checksum/SHA512/reset/144 1092s ok 1813 /checksum/SHA512/reset/145 1092s ok 1814 /checksum/SHA512/reset/146 1092s ok 1815 /checksum/SHA512/reset/147 1092s ok 1816 /checksum/SHA512/reset/148 1092s ok 1817 /checksum/SHA512/reset/149 1092s ok 1818 /checksum/SHA512/reset/150 1092s ok 1819 /checksum/SHA512/reset/151 1092s ok 1820 /checksum/SHA512/reset/152 1092s ok 1821 /checksum/SHA512/reset/153 1092s ok 1822 /checksum/SHA512/reset/154 1092s ok 1823 /checksum/SHA512/reset/155 1092s ok 1824 /checksum/SHA512/reset/156 1092s ok 1825 /checksum/SHA512/reset/157 1092s ok 1826 /checksum/SHA512/reset/158 1092s ok 1827 /checksum/SHA512/reset/159 1092s ok 1828 /checksum/SHA512/reset/160 1092s ok 1829 /checksum/SHA512/reset/161 1092s ok 1830 /checksum/SHA512/reset/162 1092s ok 1831 /checksum/SHA512/reset/163 1092s ok 1832 /checksum/SHA512/reset/164 1092s ok 1833 /checksum/SHA512/reset/165 1092s ok 1834 /checksum/SHA512/reset/166 1092s ok 1835 /checksum/SHA512/reset/167 1092s ok 1836 /checksum/SHA512/reset/168 1092s ok 1837 /checksum/SHA512/reset/169 1092s ok 1838 /checksum/SHA512/reset/170 1092s ok 1839 /checksum/SHA512/reset/171 1092s ok 1840 /checksum/SHA512/reset/172 1092s ok 1841 /checksum/SHA512/reset/173 1092s ok 1842 /checksum/SHA512/reset/174 1092s ok 1843 /checksum/SHA512/reset/175 1092s ok 1844 /checksum/SHA512/reset/176 1092s ok 1845 /checksum/SHA512/reset/177 1092s ok 1846 /checksum/SHA512/reset/178 1092s ok 1847 /checksum/SHA512/reset/179 1092s ok 1848 /checksum/SHA512/reset/180 1092s ok 1849 /checksum/SHA512/reset/181 1092s ok 1850 /checksum/SHA512/reset/182 1092s ok 1851 /checksum/SHA512/reset/183 1092s # End of reset tests 1092s # End of SHA512 tests 1092s # End of checksum tests 1092s ok - glib/checksum.test 1092s # Running test: glib/simple-proxy.test 1092s TAP version 14 1092s # random seed: R02S61a353216ad8ba3f93b1bc63d871ee1a 1092s 1..3 1092s # Start of static-proxy tests 1092s ok 1 /static-proxy/uri 1092s ok 2 /static-proxy/socks 1092s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string *.eee.xx:8000 1092s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 10.0.0.1:8000 1092s ok 3 /static-proxy/ignore 1092s # End of static-proxy tests 1092s ok - glib/simple-proxy.test 1092s # Running test: glib/protocol.test 1092s TAP version 14 1092s # random seed: R02Se050615f61e3e9a7690359542a4eaf3f 1092s 1..9 1092s # Start of glib tests 1092s # Start of testing tests 1092s # Start of protocol tests 1092s ok 1 /glib/testing/protocol/debug 1092s ok 2 /glib/testing/protocol/info 1092s ok 3 /glib/testing/protocol/message 1092s ok 4 /glib/testing/protocol/warning 1092s ok 5 /glib/testing/protocol/critical 1092s ok 6 /glib/testing/protocol/error 1092s ok 7 /glib/testing/protocol/gtest-message 1092s ok 8 /glib/testing/protocol/test-message 1092s ok 9 /glib/testing/protocol/test-error 1092s ok - glib/protocol.test 1092s # End of protocol tests 1092s # End of testing tests 1092s # End of glib tests 1092s # Running test: glib/convert.test 1092s TAP version 14 1092s # random seed: R02S1b28b6c3568006b4d0e7a236bfe72d97 1092s 1..14 1092s # Start of conversion tests 1092s ok 1 /conversion/no-conv 1092s ok 2 /conversion/iconv-state 1092s ok 3 /conversion/illegal-sequence 1092s ok 4 /conversion/byte-order 1092s ok 5 /conversion/unicode 1092s ok 6 /conversion/filename-utf8 1092s ok 7 /conversion/filename-display 1092s ok 8 /conversion/convert-embedded-nul 1092s # Start of locale-to-utf8 tests 1092s ok 9 /conversion/locale-to-utf8/embedded-nul 1092s # Start of embedded-nul tests 1092s # Start of subprocess tests 1092s # End of subprocess tests 1092s # End of embedded-nul tests 1092s # End of locale-to-utf8 tests 1092s # Start of locale-from-utf8 tests 1092s ok 10 /conversion/locale-from-utf8/embedded-nul 1092s # Start of embedded-nul tests 1092s # Start of subprocess tests 1092s # End of subprocess tests 1092s # End of embedded-nul tests 1092s # End of locale-from-utf8 tests 1092s # Start of filename-to-utf8 tests 1092s ok 11 /conversion/filename-to-utf8/embedded-nul 1092s # Start of embedded-nul tests 1092s # Start of subprocess tests 1092s # End of subprocess tests 1092s # End of embedded-nul tests 1092s # End of filename-to-utf8 tests 1092s # Start of filename-from-utf8 tests 1092s ok 12 /conversion/filename-from-utf8/embedded-nul 1092s # Start of embedded-nul tests 1092s # Start of subprocess tests 1092s # End of subprocess tests 1092s # End of embedded-nul tests 1092s # End of filename-from-utf8 tests 1092s # Start of filename-from-uri tests 1092s ok 13 /conversion/filename-from-uri/query-is-ignored 1092s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1092s # End of filename-from-uri tests 1092s # End of conversion tests 1092s ok - glib/convert.test 1092s # Running test: glib/power-profile-monitor-portal.test 1093s TAP version 13 1093s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1093s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1093s 1..2 1093s ok - glib/power-profile-monitor-portal.test 1093s # Running test: glib/callable-info.test 1093s TAP version 14 1093s # random seed: R02S2dedfee528d18f19dd68656ff16cc62c 1093s 1..7 1093s # Start of callable-info tests 1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_FQV7J3/callable-info/sync-function/.dirs/home 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_FQV7J3/callable-info/sync-function/.dirs/cache 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_FQV7J3/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_FQV7J3/callable-info/sync-function/.dirs/system-config2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_FQV7J3/callable-info/sync-function/.dirs/config 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_FQV7J3/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_FQV7J3/callable-info/sync-function/.dirs/system-data2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_FQV7J3/callable-info/sync-function/.dirs/data 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_FQV7J3/callable-info/sync-function/.dirs/state 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_FQV7J3/callable-info/sync-function/.dirs/runtime 1093s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1093s ok 1 /callable-info/sync-function 1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_FQV7J3/callable-info/async-function/.dirs/home 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_FQV7J3/callable-info/async-function/.dirs/cache 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_FQV7J3/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_FQV7J3/callable-info/async-function/.dirs/system-config2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_FQV7J3/callable-info/async-function/.dirs/config 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_FQV7J3/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_FQV7J3/callable-info/async-function/.dirs/system-data2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_FQV7J3/callable-info/async-function/.dirs/data 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_FQV7J3/callable-info/async-function/.dirs/state 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_FQV7J3/callable-info/async-function/.dirs/runtime 1093s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1093s ok 2 /callable-info/async-function 1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_FQV7J3/callable-info/is-method/.dirs/home 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_FQV7J3/callable-info/is-method/.dirs/cache 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_FQV7J3/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_FQV7J3/callable-info/is-method/.dirs/system-config2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_FQV7J3/callable-info/is-method/.dirs/config 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_FQV7J3/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_FQV7J3/callable-info/is-method/.dirs/system-data2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_FQV7J3/callable-info/is-method/.dirs/data 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_FQV7J3/callable-info/is-method/.dirs/state 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_FQV7J3/callable-info/is-method/.dirs/runtime 1093s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1093s ok 3 /callable-info/is-method 1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_FQV7J3/callable-info/static-method/.dirs/home 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_FQV7J3/callable-info/static-method/.dirs/cache 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_FQV7J3/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_FQV7J3/callable-info/static-method/.dirs/system-config2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_FQV7J3/callable-info/static-method/.dirs/config 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_FQV7J3/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_FQV7J3/callable-info/static-method/.dirs/system-data2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_FQV7J3/callable-info/static-method/.dirs/data 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_FQV7J3/callable-info/static-method/.dirs/state 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_FQV7J3/callable-info/static-method/.dirs/runtime 1093s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1093s ok 4 /callable-info/static-method 1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_FQV7J3/callable-info/static-vfunc/.dirs/home 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_FQV7J3/callable-info/static-vfunc/.dirs/cache 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_FQV7J3/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_FQV7J3/callable-info/static-vfunc/.dirs/system-config2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_FQV7J3/callable-info/static-vfunc/.dirs/config 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_FQV7J3/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_FQV7J3/callable-info/static-vfunc/.dirs/system-data2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_FQV7J3/callable-info/static-vfunc/.dirs/data 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_FQV7J3/callable-info/static-vfunc/.dirs/state 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_FQV7J3/callable-info/static-vfunc/.dirs/runtime 1093s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1093s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 1093s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_FQV7J3/callable-info/native-address/.dirs/home 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_FQV7J3/callable-info/native-address/.dirs/cache 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_FQV7J3/callable-info/native-address/.dirs/system-config1:/tmp/test_callable-info_FQV7J3/callable-info/native-address/.dirs/system-config2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_FQV7J3/callable-info/native-address/.dirs/config 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_FQV7J3/callable-info/native-address/.dirs/system-data1:/tmp/test_callable-info_FQV7J3/callable-info/native-address/.dirs/system-data2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_FQV7J3/callable-info/native-address/.dirs/data 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_FQV7J3/callable-info/native-address/.dirs/state 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_FQV7J3/callable-info/native-address/.dirs/runtime 1093s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1093s ok 6 /callable-info/native-address 1093s # Start of platform tests 1093s # Start of unix tests 1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_FQV7J3/callable-info/platform/unix/is-method/.dirs/home 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_FQV7J3/callable-info/platform/unix/is-method/.dirs/cache 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_FQV7J3/callable-info/platform/unix/is-method/.dirs/system-config1:/tmp/test_callable-info_FQV7J3/callable-info/platform/unix/is-method/.dirs/system-config2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_FQV7J3/callable-info/platform/unix/is-method/.dirs/config 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_FQV7J3/callable-info/platform/unix/is-method/.dirs/system-data1:/tmp/test_callable-info_FQV7J3/callable-info/platform/unix/is-method/.dirs/system-data2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_FQV7J3/callable-info/platform/unix/is-method/.dirs/data 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_FQV7J3/callable-info/platform/unix/is-method/.dirs/state 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_FQV7J3/callable-info/platform/unix/is-method/.dirs/runtime 1093s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1093s ok - glib/callable-info.test 1093s # Running test: glib/resources.test 1093s # Checking DesktopAppInfo in Gio 1093s # Checking DesktopAppInfo in GioUnix 1093s ok 7 /callable-info/platform/unix/is-method 1093s # End of unix tests 1093s # End of platform tests 1093s # End of callable-info tests 1093s TAP version 14 1093s # random seed: R02S441320b3e7855f3b467722f6c426ad16 1093s 1..19 1093s # Start of resource tests 1093s ok 1 /resource/file 1093s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1093s ok 2 /resource/file-path 1093s ok 3 /resource/data 1093s ok 4 /resource/data_unaligned 1093s ok 5 /resource/data-corrupt 1093s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 1093s ok 6 /resource/data-corrupt-compression 1093s ok 7 /resource/data-empty 1093s ok 8 /resource/registered 1093s ok 9 /resource/manual 1093s ok 10 /resource/manual2 1093s ok 11 /resource/automatic 1093s ok 12 /resource/module 1093s ok 13 /resource/binary-linked 1093s ok 14 /resource/64k 1093s GLib-GIO-Message: 16:14:27.771: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1093s GLib-GIO-Message: 16:14:27.771: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1093s GLib-GIO-Message: 16:14:27.771: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1093s ok 15 /resource/overlay 1093s ok 16 /resource/digits 1093s ok 17 /resource/has-children 1093s # Start of uri tests 1093s ok 18 /resource/uri/query-info 1093s ok 19 /resource/uri/file 1093s # End of uri tests 1093s # End of resource tests 1093s ok - glib/resources.test 1093s # Running test: glib/gdbus-export.test 1093s TAP version 14 1093s # random seed: R02Sf0efbc9a44ead13219576dde498c95de 1093s 1..7 1093s # Start of gdbus tests 1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_0147J3/gdbus/object-registration/.dirs/home 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_0147J3/gdbus/object-registration/.dirs/cache 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_0147J3/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_0147J3/gdbus/object-registration/.dirs/system-config2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_0147J3/gdbus/object-registration/.dirs/config 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_0147J3/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_0147J3/gdbus/object-registration/.dirs/system-data2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_0147J3/gdbus/object-registration/.dirs/data 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_0147J3/gdbus/object-registration/.dirs/state 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_0147J3/gdbus/object-registration/.dirs/runtime 1093s ok 1 /gdbus/object-registration 1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures/.dirs/home 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures/.dirs/cache 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures/.dirs/system-config2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures/.dirs/config 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures/.dirs/system-data2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures/.dirs/data 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures/.dirs/state 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures/.dirs/runtime 1093s ok 2 /gdbus/object-registration-with-closures 1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures2/.dirs/home 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures2/.dirs/cache 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures2/.dirs/system-config2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures2/.dirs/config 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures2/.dirs/system-data2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures2/.dirs/data 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures2/.dirs/state 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_0147J3/gdbus/object-registration-with-closures2/.dirs/runtime 1093s ok 3 /gdbus/object-registration-with-closures2 1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_0147J3/gdbus/registered-interfaces/.dirs/home 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_0147J3/gdbus/registered-interfaces/.dirs/cache 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_0147J3/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_0147J3/gdbus/registered-interfaces/.dirs/system-config2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_0147J3/gdbus/registered-interfaces/.dirs/config 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_0147J3/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_0147J3/gdbus/registered-interfaces/.dirs/system-data2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_0147J3/gdbus/registered-interfaces/.dirs/data 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_0147J3/gdbus/registered-interfaces/.dirs/state 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_0147J3/gdbus/registered-interfaces/.dirs/runtime 1093s ok 4 /gdbus/registered-interfaces 1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_0147J3/gdbus/async-properties/.dirs/home 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_0147J3/gdbus/async-properties/.dirs/cache 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_0147J3/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_0147J3/gdbus/async-properties/.dirs/system-config2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_0147J3/gdbus/async-properties/.dirs/config 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_0147J3/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_0147J3/gdbus/async-properties/.dirs/system-data2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_0147J3/gdbus/async-properties/.dirs/data 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_0147J3/gdbus/async-properties/.dirs/state 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_0147J3/gdbus/async-properties/.dirs/runtime 1093s ok 5 /gdbus/async-properties 1093s # Start of threaded-unregistration tests 1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/object/.dirs/home 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/object/.dirs/cache 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/object/.dirs/system-config2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/object/.dirs/config 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/object/.dirs/system-data2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/object/.dirs/data 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/object/.dirs/state 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/object/.dirs/runtime 1093s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1093s # /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 1094s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1094s # slow test /gdbus/threaded-unregistration/object executed in 1.00 secs 1094s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/subtree/.dirs/home 1094s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/subtree/.dirs/cache 1094s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1094s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/subtree/.dirs/config 1094s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1094s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/subtree/.dirs/data 1094s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/subtree/.dirs/state 1094s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_0147J3/gdbus/threaded-unregistration/subtree/.dirs/runtime 1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1094s # /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 1095s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1095s # slow test /gdbus/threaded-unregistration/subtree executed in 1.00 secs 1095s # End of threaded-unregistration tests 1095s # End of gdbus tests 1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1095s ok - glib/gdbus-export.test 1095s # Running test: glib/properties-refcount2.test 1095s TAP version 14 1095s # random seed: R02S51fc77d01ab76a58f46bd225c5d351c1 1095s 1..1 1095s # Start of gobject tests 1095s # Start of refcount tests 1095s # init 0xb796f955beb0 1095s # 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # dispose 0xb796f955beb0! 1096s # 1096s ok 1 /gobject/refcount/properties-2 1096s # slow test /gobject/refcount/properties-2 executed in 0.84 secs 1096s # End of refcount tests 1096s # End of gobject tests 1096s ok - glib/properties-refcount2.test 1096s # Running test: glib/srvtarget.test 1096s TAP version 14 1096s # random seed: R02S33eb891c2200008b91a4540e4eb8d58c 1096s 1..1 1096s # Start of srvtarget tests 1096s ok 1 /srvtarget/srv-target-ordering 1096s # End of srvtarget tests 1096s ok - glib/srvtarget.test 1096s # Running test: glib/basics-gobject.test 1096s TAP version 14 1096s # random seed: R02Sdcb6a44480c9a04c3720d4867c81b126 1096s 1..1 1096s # Start of gobject tests 1096s # private data during initialization: 54321 == 54321 1096s # MAIN: emit test-signal: 1096s # ::test_signal default_handler called 1096s # ::test_signal default_handler called 1096s # ::test_signal default_handler called 1096s # signal return: "" 1096s # MAIN: call iface print-string on test and derived object: 1096s # Iface-FOO: "iface-string-from-test-type" from 0xba636645e6a0 1096s # Iface-BAR: "iface-string-from-derived-type" from 0xba636645e550 1096s # chaining: 1096s # Iface-FOO: "iface-string-from-derived-type" from 0xba636645e550 1096s # private data after initialization: 54321 == 54321 1096s ok 1 /gobject/basics 1096s # End of gobject tests 1096s ok - glib/basics-gobject.test 1096s # Running test: glib/closure.test 1096s TAP version 14 1096s # random seed: R02S86ab36ff7275af27f1d69751bc1aac33 1096s 1..6 1096s # Start of closure tests 1096s ok 1 /closure/idle 1096s ok 2 /closure/timeout 1096s ok 3 /closure/iochannel 1096s ok 4 /closure/child 1096s ok - glib/closure.test 1096s # Running test: glib/assert-msg-test.py.test 1096s ok 5 /closure/fd 1096s ok 6 /closure/signal 1096s # End of closure tests 1096s TAP version 13 1096s ok 1 __main__.TestAssertMessage.test_gassert 1096s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1096s # tmpdir: /tmp/tmpngw1ufut 1096s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1096s # Return code: -6 1096s # Output: 1096s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1096s # Error: 1096s # ** 1096s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1096s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1096s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1096s # tmpdir: /tmp/tmpbwm6ttal 1096s 1..2 1096s ok - glib/assert-msg-test.py.test 1096s # Running test: glib/include.test 1096s ok - glib/include.test 1096s # Running test: glib/uri.test 1096s TAP version 14 1096s # random seed: R02S3659f75677892229a0d99a04815cce0b 1096s 1..1 1096s # Start of include tests 1096s ok 1 /include/rwlock 1096s # End of include tests 1096s TAP version 14 1096s # random seed: R02Sc65d1a01bc7cc8149c22094b1599ebb0 1096s 1..24 1096s # Start of uri tests 1096s ok 1 /uri/file-to-uri 1096s ok 2 /uri/file-from-uri 1096s ok 3 /uri/file-roundtrip 1096s ok 4 /uri/list 1096s # Test 0: %2Babc %4F 1096s # Test 1: %2Babc %4F 1096s ok - glib/uri.test 1096s # Running test: glib/readwrite.test 1096s ok - glib/readwrite.test 1096s # Running test: glib/gdbus-connection.test 1096s # Test 2: %00abc %4F 1096s # Test 3: /cursors/none.png 1096s # Test 4: /cursors%2fbad-subdir/none.png 1096s # Test 5: %0 1096s # Test 6: %ra 1096s # Test 7: %2r 1096s # Test 8: Timm Bäder 1096s # Test 9: (null) 1096s ok 5 /uri/unescape-string 1096s ok 6 /uri/unescape-segment 1096s # Test 0: abcdefgABCDEFG._~ 1096s # Test 1: :+ \\?# 1096s # Test 2: a+b:c 1096s # Test 3: a+b:c\303\234 1096s # Test 4: \374;\322 1096s # Test 5: \303\261\303( 1096s ok 7 /uri/escape-string 1096s ok 8 /uri/escape-bytes 1096s ok 9 /uri/scheme 1096s ok 10 /uri/build 1096s ok 11 /uri/split 1096s ok 12 /uri/is_valid 1096s ok 13 /uri/to-string 1096s ok 14 /uri/join 1096s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1096s # Combination 0 1096s # Combination 1 1096s # Combination 2 1096s # Combination 3 1096s # Combination 4 1096s # Combination 5 1096s # Combination 6 1096s # Combination 7 1096s # Combination 8 1096s # Combination 9 1096s # Combination 10 1096s # Combination 11 1096s # Combination 12 1096s # Combination 13 1096s # Combination 14 1096s # Combination 15 1096s # Combination 16 1096s # Combination 17 1096s # Combination 18 1096s # Combination 19 1096s # Combination 20 1096s # Combination 21 1096s # Combination 22 1096s # Combination 23 1096s # Combination 24 1096s # Combination 25 1096s # Combination 26 1096s # Combination 27 1096s # Combination 28 1096s # Combination 29 1096s # Combination 30 1096s # Combination 31 1096s # Combination 32 1096s # Combination 33 1096s # Combination 34 1096s # Combination 35 1096s # Combination 36 1096s # Combination 37 1096s # Combination 38 1096s # Combination 39 1096s # Combination 40 1096s # Combination 41 1096s # Combination 42 1096s # Combination 43 1096s # Combination 44 1096s # Combination 45 1096s # Combination 46 1096s # Combination 47 1096s # Combination 48 1096s # Combination 49 1096s # Combination 50 1096s # Combination 51 1096s # Combination 52 1096s # Combination 53 1096s # Combination 54 1096s # Combination 55 1096s # Combination 56 1096s # Combination 57 1096s # Combination 58 1096s # Combination 59 1096s # Combination 60 1096s # Combination 61 1096s # Combination 62 1096s # Combination 63 1096s # Combination 64 1096s # Combination 65 1096s # Combination 66 1096s # Combination 67 1096s # Combination 68 1096s # Combination 69 1096s # Combination 70 1096s # Combination 71 1096s # Combination 72 1096s # Combination 73 1096s # Combination 74 1096s # Combination 75 1096s # Combination 76 1096s # Combination 77 1096s # Combination 78 1096s # Combination 79 1096s # Combination 80 1096s # Combination 81 1096s # Combination 82 1096s # Combination 83 1096s # Combination 84 1096s # Combination 85 1096s # Combination 86 1096s # Combination 87 1096s # Combination 88 1096s # Combination 89 1096s # Combination 90 1096s # Combination 91 1096s # Combination 92 1096s # Combination 93 1096s # Combination 94 1096s # Combination 95 1096s # Combination 96 1096s # Combination 97 1096s # Combination 98 1096s # Combination 99 1096s # Combination 100 1096s # Combination 101 1096s # Combination 102 1096s # Combination 103 1096s # Combination 104 1096s # Combination 105 1096s # Combination 106 1096s # Combination 107 1096s # Combination 108 1096s # Combination 109 1096s # Combination 110 1096s # Combination 111 1096s # Combination 112 1096s # Combination 113 1096s # Combination 114 1096s # Combination 115 1096s # Combination 116 1096s # Combination 117 1096s # Combination 118 1096s # Combination 119 1096s # Combination 120 1096s # Combination 121 1096s # Combination 122 1096s # Combination 123 1096s # Combination 124 1096s # Combination 125 1096s # Combination 126 1096s # Combination 127 1096s # Combination 128 1096s # Combination 129 1096s # Combination 130 1096s # Combination 131 1096s # Combination 132 1096s # Combination 133 1096s # Combination 134 1096s # Combination 135 1096s # Combination 136 1096s # Combination 137 1096s # Combination 138 1096s # Combination 139 1096s # Combination 140 1096s # Combination 141 1096s # Combination 142 1096s # Combination 143 1096s # Combination 144 1096s # Combination 145 1096s # Combination 146 1096s # Combination 147 1096s # Combination 148 1096s # Combination 149 1096s # Combination 150 1096s # Combination 151 1096s # Combination 152 1096s # Combination 153 1096s # Combination 154 1096s # Combination 155 1096s # Combination 156 1096s # Combination 157 1096s # Combination 158 1096s # Combination 159 1096s # Combination 160 1096s # Combination 161 1096s # Combination 162 1096s # Combination 163 1096s # Combination 164 1096s # Combination 165 1096s # Combination 166 1096s # Combination 167 1096s # Combination 168 1096s # Combination 169 1096s # Combination 170 1096s # Combination 171 1096s # Combination 172 1096s # Combination 173 1096s # Combination 174 1096s # Combination 175 1096s # Combination 176 1096s # Combination 177 1096s # Combination 178 1096s # Combination 179 1096s # Combination 180 1096s # Combination 181 1096s # Combination 182 1096s # Combination 183 1096s # Combination 184 1096s # Combination 185 1096s # Combination 186 1096s # Combination 187 1096s # Combination 188 1096s # Combination 189 1096s # Combination 190 1096s # Combination 191 1096s # Combination 192 1096s # Combination 193 1096s # Combination 194 1096s # Combination 195 1096s # Combination 196 1096s # Combination 197 1096s # Combination 198 1096s # Combination 199 1096s # Combination 200 1096s # Combination 201 1096s # Combination 202 1096s # Combination 203 1096s # Combination 204 1096s # Combination 205 1096s # Combination 206 1096s # Combination 207 1096s # Combination 208 1096s # Combination 209 1096s # Combination 210 1096s # Combination 211 1096s # Combination 212 1096s # Combination 213 1096s # Combination 214 1096s # Combination 215 1096s # Combination 216 1096s # Combination 217 1096s # Combination 218 1096s # Combination 219 1096s # Combination 220 1096s # Combination 221 1096s # Combination 222 1096s # Combination 223 1096s # Combination 224 1096s # Combination 225 1096s # Combination 226 1096s # Combination 227 1096s # Combination 228 1096s # Combination 229 1096s # Combination 230 1096s # Combination 231 1096s # Combination 232 1096s # Combination 233 1096s # Combination 234 1096s # Combination 235 1096s # Combination 236 1096s # Combination 237 1096s # Combination 238 1096s # Combination 239 1096s # Combination 240 1096s # Combination 241 1096s # Combination 242 1096s # Combination 243 1096s # Combination 244 1096s # Combination 245 1096s # Combination 246 1096s # Combination 247 1096s # Combination 248 1096s # Combination 249 1096s # Combination 250 1096s # Combination 251 1096s # Combination 252 1096s # Combination 253 1096s # Combination 254 1096s # Combination 255 1096s ok 15 /uri/join-split-round-trip 1096s ok 16 /uri/normalize 1096s # Start of unescape-bytes tests 1096s # Test 0: %00%00 1096s # Test 1: /cursors/none.png 1096s # Test 2: /cursors%2fbad-subdir/none.png 1096s # Test 3: %% 1096s # Test 4: % 1096s ok 17 /uri/unescape-bytes/nul-terminated 1096s # Test 0: %00%00 1096s # Test 1: /cursors/none.png 1096s # Test 2: /cursors%2fbad-subdir/none.png 1096s # Test 3: %% 1096s # Test 4: % 1096s ok 18 /uri/unescape-bytes/length 1096s # End of unescape-bytes tests 1096s # Start of parsing tests 1096s # Test 0: foo: 1096s # Test 1: file:/dev/null 1096s # Test 2: file:///dev/null 1096s # Test 3: ftp://user@host/path 1096s # Test 4: ftp://user@host:9999/path 1096s # Test 5: ftp://user:password@host/path 1096s # Test 6: ftp://user:password@host:9999/path 1096s # Test 7: ftp://user:password@host 1096s # Test 8: http://us%65r@host 1096s # Test 9: http://us%40r@host 1096s # Test 10: http://us%3ar@host 1096s # Test 11: http://us%2fr@host 1096s # Test 12: http://us%3fr@host 1096s # Test 13: http://host?query 1096s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1096s # 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 1096s # Test 16: http://space/%20 1096s # Test 17: http://delims/%3C%3E%23%25%22 1096s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1096s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1096s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1096s # Test 21: http://[3ffe:2a00:100:7031::1] 1096s # Test 22: http://[1080::8:800:200C:417A]/foo 1096s # Test 23: http://[::192.9.5.5]/ipng 1096s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1096s # Test 25: http://[2010:836B:4179::836B:4179] 1096s # Test 26: http://host/path with spaces 1096s # Test 27: http://host/path 1096s # Test 28: http://host/path 1096s # Test 29: http://host 1096s # Test 30: http://host:999 1096s # Test 31: http://host/pa 1096s # th 1096s # Test 32: http: 1096s # //host/path 1096s # Test 33: http:// host/path 1096s # Test 34: http://host/path? 1096s # Test 35: http://host/path# 1096s # Test 36: http://host/path% 1096s # Test 37: http://h%ost/path 1096s # Test 38: http://host/path%% 1096s # Test 39: http://host/path%%% 1096s # Test 40: http://host/path%/x/ 1096s # Test 41: http://host/path%0x/ 1096s # Test 42: http://host/path%ax 1096s # Test 43: http://host/päth/ 1096s # Test 44: HTTP://////////////// 1096s # Test 45: http://@host 1096s # Test 46: http://:@host 1096s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1096s # Test 48: http://example.com/.. 1096s # Test 49: foo0://host/path 1096s # Test 50: f0.o://host/path 1096s # Test 51: http++://host/path 1096s # Test 52: http-ish://host/path 1096s # Test 53: http://[fe80::dead:beef%]/ 1096s # Test 54: http://[fe80::dead:beef%em1]/ 1096s # Test 55: http://[fe80::dead:beef%em1]/ 1096s # Test 56: http://[fe80::dead:beef%25em1]/ 1096s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1096s # Test 58: http://[fe80::dead:beef%25em%31]/ 1096s # Test 59: http://[fe80::dead:beef%10]/ 1096s # Test 60: http://[fe80::dead:beef%10]/ 1096s # Test 61: http://[fe80::dead:beef%25]/ 1096s # Test 62: http://[fe80::dead:beef%25]/ 1096s # Test 63: http://[192.168.0.1%25em1]/ 1096s # Test 64: http://[fe80::dead:beef%2em1]/ 1096s # Test 65: http://[fe80::dead:beef%2em1]/ 1096s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1096s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1096s # Test 68: http://xn--mixed-üp/ 1096s # Test 69: data:./// 1096s # Test 70: data:/.// 1096s ok 19 /uri/parsing/absolute 1096s ok 20 /uri/parsing/relative 1096s # End of parsing tests 1096s # Start of iter-params tests 1096s # URI 0: p1=foo&p2=bar;p3=baz 1096s # URI 1: p1=foo&p2=bar 1096s # URI 2: p1=foo&&P1=bar 1096s # URI 3: %00=foo 1096s # URI 4: p1=%00 1096s # URI 5: p1=foo&p1=bar 1096s # URI 6: p1=foo&P1=bar 1096s # URI 7: =% 1096s # URI 8: = 1096s # URI 9: foo 1096s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1096s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1096s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1096s ok 21 /uri/iter-params/nul-terminated 1096s # URI 0: p1=foo&p2=bar;p3=baz 1096s # URI 1: p1=foo&p2=bar 1096s # URI 2: p1=foo&&P1=bar 1096s # URI 3: %00=foo 1096s # URI 4: p1=%00 1096s # URI 5: p1=foo&p1=bar 1096s # URI 6: p1=foo&P1=bar 1096s # URI 7: =% 1096s # URI 8: = 1096s # URI 9: foo 1096s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1096s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1096s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1096s ok 22 /uri/iter-params/length 1096s # End of iter-params tests 1096s # Start of parse-params tests 1096s # URI 0: p1=foo&p2=bar;p3=baz 1096s # URI 1: p1=foo&p2=bar 1096s # URI 2: p1=foo&&P1=bar 1096s # URI 3: %00=foo 1096s # URI 4: p1=%00 1096s # URI 5: p1=foo&p1=bar 1096s # URI 6: p1=foo&P1=bar 1096s # URI 7: =% 1096s # URI 8: = 1096s # URI 9: foo 1096s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1096s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1096s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1096s ok 23 /uri/parse-params/nul-terminated 1096s # URI 0: p1=foo&p2=bar;p3=baz 1096s # URI 1: p1=foo&p2=bar 1096s # URI 2: p1=foo&&P1=bar 1096s # URI 3: %00=foo 1096s # URI 4: p1=%00 1096s # URI 5: p1=foo&p1=bar 1096s # URI 6: p1=foo&P1=bar 1096s # URI 7: =% 1096s # URI 8: = 1096s # URI 9: foo 1096s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1096s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1096s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1096s ok 24 /uri/parse-params/length 1096s # End of parse-params tests 1096s # End of uri tests 1096s TAP version 14 1096s # random seed: R02S390955a6093c26cea748d5be9a1c7d68 1096s 1..3 1096s # Start of readwrite tests 1096s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1096s ok 1 /readwrite/test_g_file_open_readwrite 1096s ok 2 /readwrite/test_g_file_create_readwrite 1096s ok 3 /readwrite/test_g_file_replace_readwrite 1096s # End of readwrite tests 1096s TAP version 14 1096s # random seed: R02Sa9d9a94db78ab09a1225efad49b79654 1096s 1..9 1096s # Start of gdbus tests 1096s # Start of connection tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/bus-failure/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/bus-failure/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_AUQJK3/gdbus/connection/bus-failure/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/bus-failure/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_AUQJK3/gdbus/connection/bus-failure/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/bus-failure/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/bus-failure/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/bus-failure/.dirs/runtime 1096s ok 1 /gdbus/connection/bus-failure 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/basic/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/basic/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_AUQJK3/gdbus/connection/basic/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/basic/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_AUQJK3/gdbus/connection/basic/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/basic/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/basic/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/basic/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 2 /gdbus/connection/basic 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/life-cycle/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/life-cycle/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_AUQJK3/gdbus/connection/life-cycle/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/life-cycle/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_AUQJK3/gdbus/connection/life-cycle/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/life-cycle/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/life-cycle/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/life-cycle/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 3 /gdbus/connection/life-cycle 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/send/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/send/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_AUQJK3/gdbus/connection/send/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/send/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_AUQJK3/gdbus/connection/send/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/send/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/send/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/send/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 4 /gdbus/connection/send 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signals/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signals/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signals/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signals/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signals/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signals/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signals/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signals/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 5 /gdbus/connection/signals 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signal-match-rules/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signal-match-rules/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signal-match-rules/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signal-match-rules/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signal-match-rules/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signal-match-rules/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signal-match-rules/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/signal-match-rules/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 6 /gdbus/connection/signal-match-rules 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/filter/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/filter/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_AUQJK3/gdbus/connection/filter/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/filter/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_AUQJK3/gdbus/connection/filter/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/filter/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/filter/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/filter/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 7 /gdbus/connection/filter 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/serials/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/serials/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_AUQJK3/gdbus/connection/serials/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/serials/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_AUQJK3/gdbus/connection/serials/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/serials/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/serials/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/serials/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 8 /gdbus/connection/serials 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/cancel/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/cancel/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_AUQJK3/gdbus/connection/cancel/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/cancel/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_AUQJK3/gdbus/connection/cancel/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/cancel/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/cancel/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_AUQJK3/gdbus/connection/cancel/.dirs/runtime 1096s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 9 /gdbus/connection/cancel 1096s # End of connection tests 1096s # End of gdbus tests 1096s ok - glib/gdbus-connection.test 1096s # Running test: glib/buffered-input-stream.test 1096s TAP version 14 1096s # random seed: R02Sf1f17456fe970208f885610906799569 1096s 1..10 1096s # Start of buffered-input-stream tests 1096s ok 1 /buffered-input-stream/peek 1096s ok 2 /buffered-input-stream/peek-buffer 1096s ok 3 /buffered-input-stream/set-buffer-size 1096s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1096s ok 4 /buffered-input-stream/read-byte 1096s ok 5 /buffered-input-stream/read 1096s ok 6 /buffered-input-stream/read-async 1096s ok 7 /buffered-input-stream/skip 1096s ok 8 /buffered-input-stream/skip-async 1096s ok 9 /buffered-input-stream/seek 1096s # End of buffered-input-stream tests 1096s # Start of filter-input-stream tests 1096s ok 10 /filter-input-stream/close 1096s # End of filter-input-stream tests 1096s ok - glib/buffered-input-stream.test 1096s # Running test: glib/cxx-03.test 1096s TAP version 14 1096s # random seed: R02S70b99325e0eab30a68a7b1ca12e549d2 1096s 1..2 1096s # Start of gtask tests 1096s # 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. 1096s ok 1 /gtask/name 1096s # Start of name tests 1096s # 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. 1096s ok 2 /gtask/name/macro-wrapper 1096s # End of name tests 1096s # End of gtask tests 1096s ok - glib/cxx-03.test 1096s # Running test: glib/utils-c-17.test 1096s TAP version 14 1096s # random seed: R02S156b2e9a423c3b27ae9710ae295bebea 1096s 1..41 1096s # Start of utils tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/language-names/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/language-names/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/language-names/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/language-names/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/language-names/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/language-names/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/language-names/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/language-names/.dirs/runtime 1096s ok 1 /utils/language-names 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/locale-variants/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/locale-variants/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/locale-variants/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/locale-variants/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/locale-variants/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/locale-variants/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/locale-variants/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/locale-variants/.dirs/runtime 1096s # Testing locale ‘en’ 1096s # Testing locale ‘sr@latin’ 1096s # Testing locale ‘fr_BE’ 1096s # Testing locale ‘sr_SR@latin’ 1096s # Testing locale ‘sr_SR@latin.UTF-8’ 1096s # Testing locale ‘sr@latin_invalid’ 1096s # Testing locale ‘sr.UTF-8@latin’ 1096s # Testing locale ‘sr.UTF-8_latin’ 1096s # Testing locale ‘sr.UTF-8@latin_invalid’ 1096s ok 2 /utils/locale-variants 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/version/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/version/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/version/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/version/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/version/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/version/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/version/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/version/.dirs/runtime 1096s ok 3 /utils/version 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/appname/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/appname/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/appname/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/appname/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/appname/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/appname/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/appname/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/appname/.dirs/runtime 1096s ok 4 /utils/appname 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/prgname-thread-safety/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/prgname-thread-safety/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/prgname-thread-safety/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/prgname-thread-safety/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/prgname-thread-safety/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/prgname-thread-safety/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/prgname-thread-safety/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/prgname-thread-safety/.dirs/runtime 1096s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1096s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1096s ok 5 /utils/prgname-thread-safety 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/tmpdir/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/tmpdir/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/tmpdir/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/tmpdir/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/tmpdir/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/tmpdir/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/tmpdir/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/tmpdir/.dirs/runtime 1096s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1096s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1096s Unable to clean up temporary directory /tmp/test_utils-c-17_G0HLK3/utils/tmpdir: No such file or directory 1096s ok 6 /utils/tmpdir 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/basic_bits/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/basic_bits/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/basic_bits/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/basic_bits/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/basic_bits/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/basic_bits/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/basic_bits/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/basic_bits/.dirs/runtime 1096s ok 7 /utils/basic_bits 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/bits/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/bits/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/bits/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/bits/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/bits/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/bits/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/bits/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/bits/.dirs/runtime 1096s ok 8 /utils/bits 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/swap/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/swap/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/swap/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/swap/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/swap/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/swap/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/swap/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/swap/.dirs/runtime 1096s ok 9 /utils/swap 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/find-program/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/find-program/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/find-program/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/find-program/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/find-program/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/find-program/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/find-program/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/find-program/.dirs/runtime 1096s ok 10 /utils/find-program 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/find-program-for-path/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/find-program-for-path/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/find-program-for-path/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/find-program-for-path/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/find-program-for-path/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/find-program-for-path/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/find-program-for-path/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/find-program-for-path/.dirs/runtime 1096s ok 11 /utils/find-program-for-path 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/debug/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/debug/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/debug/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/debug/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/debug/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/debug/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/debug/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/debug/.dirs/runtime 1096s Unable to clean up temporary directory /tmp/test_utils-c-17_G0HLK3/utils/debug: No such file or directory 1096s ok 12 /utils/debug 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/codeset/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/codeset/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/codeset/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/codeset/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/codeset/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/codeset/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/codeset/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/codeset/.dirs/runtime 1096s ok 13 /utils/codeset 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/codeset2/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/codeset2/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/codeset2/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/codeset2/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/codeset2/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/codeset2/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/codeset2/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/codeset2/.dirs/runtime 1096s Unable to clean up temporary directory /tmp/test_utils-c-17_G0HLK3/utils/codeset2: No such file or directory 1096s ok 14 /utils/codeset2 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/console-charset/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/console-charset/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/console-charset/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/console-charset/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/console-charset/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/console-charset/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/console-charset/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/console-charset/.dirs/runtime 1096s ok 15 /utils/console-charset 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/gettext/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/gettext/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/gettext/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/gettext/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/gettext/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/gettext/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/gettext/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/gettext/.dirs/runtime 1096s ok 16 /utils/gettext 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/username/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/username/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/username/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/username/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/username/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/username/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/username/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/username/.dirs/runtime 1096s ok 17 /utils/username 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/realname/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/realname/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/realname/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/realname/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/realname/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/realname/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/realname/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/realname/.dirs/runtime 1096s ok 18 /utils/realname 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/hostname/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/hostname/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/hostname/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/hostname/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/hostname/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/hostname/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/hostname/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/hostname/.dirs/runtime 1096s ok 19 /utils/hostname 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/os-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/os-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/os-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/os-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/os-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/os-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/os-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/os-info/.dirs/runtime 1096s # NAME: Ubuntu 1096s ok 20 /utils/os-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/.dirs/runtime 1096s ok 21 /utils/clear-pointer 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer-cast/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer-cast/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/clear-pointer-cast/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer-cast/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/clear-pointer-cast/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer-cast/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer-cast/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer-cast/.dirs/runtime 1096s ok 22 /utils/clear-pointer-cast 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/take-pointer/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/take-pointer/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/take-pointer/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/take-pointer/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/take-pointer/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/take-pointer/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/take-pointer/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/take-pointer/.dirs/runtime 1096s ok 23 /utils/take-pointer 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-source/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-source/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/clear-source/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-source/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/clear-source/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-source/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-source/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/clear-source/.dirs/runtime 1096s ok 24 /utils/clear-source 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/misc-mem/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/misc-mem/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/misc-mem/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/misc-mem/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/misc-mem/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/misc-mem/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/misc-mem/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/misc-mem/.dirs/runtime 1096s ok 25 /utils/misc-mem 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/.dirs/runtime 1096s # /utils/aligned-mem summary: Aligned memory allocator 1096s # Alignment must not be zero 1096s # Alignment must be a power of two 1096s # Alignment must be a multiple of sizeof(void*) 1096s ok 26 /utils/aligned-mem 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/free-sized/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/free-sized/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/free-sized/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/free-sized/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/free-sized/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/free-sized/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/free-sized/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/free-sized/.dirs/runtime 1096s # /utils/free-sized summary: Check that g_free_sized() works 1096s ok 27 /utils/free-sized 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/nullify/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/nullify/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/nullify/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/nullify/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/nullify/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/nullify/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/nullify/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/nullify/.dirs/runtime 1096s ok 28 /utils/nullify 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/atexit/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/atexit/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/atexit/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/atexit/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/atexit/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/atexit/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/atexit/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/atexit/.dirs/runtime 1096s Unable to clean up temporary directory /tmp/test_utils-c-17_G0HLK3/utils/atexit: No such file or directory 1096s ok 29 /utils/atexit 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/check-setuid/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/check-setuid/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/check-setuid/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/check-setuid/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/check-setuid/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/check-setuid/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/check-setuid/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/check-setuid/.dirs/runtime 1096s ok 30 /utils/check-setuid 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/int-limits/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/int-limits/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/int-limits/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/int-limits/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/int-limits/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/int-limits/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/int-limits/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/int-limits/.dirs/runtime 1096s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1096s ok 31 /utils/int-limits 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-list/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-list/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/clear-list/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-list/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/clear-list/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-list/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-list/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/clear-list/.dirs/runtime 1096s ok 32 /utils/clear-list 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-slist/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-slist/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/clear-slist/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-slist/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/clear-slist/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-slist/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-slist/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/clear-slist/.dirs/runtime 1096s ok 33 /utils/clear-slist 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/steal-handle-id/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/steal-handle-id/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/steal-handle-id/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/steal-handle-id/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/steal-handle-id/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/steal-handle-id/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/steal-handle-id/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/steal-handle-id/.dirs/runtime 1096s ok 34 /utils/steal-handle-id 1096s # Start of user-special-dirs tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/desktop/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/desktop/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/desktop/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/desktop/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/desktop/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/desktop/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/desktop/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/desktop/.dirs/runtime 1096s ok 35 /utils/user-special-dirs/desktop 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/load-unlocked/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/load-unlocked/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/load-unlocked/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/load-unlocked/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1096s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1096s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1096s Unable to clean up temporary directory /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/load-unlocked: No such file or directory 1096s ok 36 /utils/user-special-dirs/load-unlocked 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/reload-leaks/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/reload-leaks/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/reload-leaks/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/reload-leaks/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1096s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1096s Unable to clean up temporary directory /tmp/test_utils-c-17_G0HLK3/utils/user-special-dirs/reload-leaks: No such file or directory 1096s ok 37 /utils/user-special-dirs/reload-leaks 1096s # End of user-special-dirs tests 1096s # Start of clear-pointer tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/side-effects/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/side-effects/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/side-effects/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/side-effects/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/side-effects/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/side-effects/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/side-effects/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/clear-pointer/side-effects/.dirs/runtime 1096s ok 38 /utils/clear-pointer/side-effects 1096s # End of clear-pointer tests 1096s # Start of aligned-mem tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/alignment/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/alignment/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/alignment/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/alignment/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/alignment/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/alignment/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/alignment/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/alignment/.dirs/runtime 1096s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1096s ok 39 /utils/aligned-mem/alignment 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/zeroed/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/zeroed/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/zeroed/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/zeroed/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/zeroed/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/zeroed/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/zeroed/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/zeroed/.dirs/runtime 1096s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1096s ok 40 /utils/aligned-mem/zeroed 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/free-sized/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/free-sized/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/free-sized/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/free-sized/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/free-sized/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/free-sized/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/free-sized/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_G0HLK3/utils/aligned-mem/free-sized/.dirs/runtime 1096s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1096s ok 41 /utils/aligned-mem/free-sized 1096s # Start of subprocess tests 1096s # End of subprocess tests 1096s # End of aligned-mem tests 1096s # End of utils tests 1096s ok - glib/utils-c-17.test 1096s # Running test: glib/spawn-multithreaded.test 1096s TAP version 14 1096s # random seed: R02S7cab801b777adba34db6a271682d1fb2 1096s 1..4 1096s # Start of gthread tests 1097s # Executing: glib/spawn-multithreaded.test 1097s # Child 4650 (ttl 1) exited, status 0 1098s # Child 4651 (ttl 2) exited, status 0 1098s ok 1 /gthread/spawn-childs 1098s # slow test /gthread/spawn-childs executed in 2.00 secs 1098s # Created pid: 4656 (ttl 1) 1098s # Created pid: 4655 (ttl 2) 1099s # Child 4656 (ttl 1) exited, status 0 1100s # Child 4655 (ttl 2) exited, status 0 1100s ok 2 /gthread/spawn-childs-threads 1100s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1100s ok 3 /gthread/spawn-sync 1100s ok 4 /gthread/spawn-async 1100s # End of gthread tests 1100s ok - glib/spawn-multithreaded.test 1100s # Running test: glib/refstring.test 1100s TAP version 14 1100s # random seed: R02Sde208ab534ba068617ee3415cb8b58be 1100s 1..8 1100s # Start of refstring tests 1100s # s = 'hello, world' (0xc25a87d300e0) 1100s ok 1 /refstring/base 1100s ok 2 /refstring/length 1100s ok 3 /refstring/length-auto 1100s ok 4 /refstring/length-nuls 1100s # s = 'hello, world' (0xc25a87d2ff80) 1100s # p = s = 'hello, world' (0xc25a87d2ff80) 1100s # releasing p[0xc25a87d2ff80] ('hello, world') 1100s # p = 'goodbye, world' (0xc25a87d300e0) 1100s # releasing p[0xc25a87d300e0] ('goodbye, world') 1100s # releasing s[0xc25a87d2ff80] ('hello, world') 1100s ok 5 /refstring/intern 1100s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 1100s ok 6 /refstring/hash_equal 1100s # /refstring/equal summary: Test g_ref_string_equal() standalone 1100s ok 7 /refstring/equal 1101s ok 8 /refstring/intern-thread-safety 1101s # slow test /refstring/intern-thread-safety executed in 0.84 secs 1101s # End of refstring tests 1101s ok - glib/refstring.test 1101s # Running test: glib/search-utils.test 1101s TAP version 14 1101s # random seed: R02S79acd422de5fdcc3cf294c34a57b8832 1101s # GLib-DEBUG: Current user locale: C.UTF-8 1101s 1..6 1101s # Start of search tests 1101s # GLib-DEBUG: Started 1101s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1101s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1101s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1101s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1101s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1101s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1101s ok 1 /search/basic 1101s # GLib-DEBUG: Started 1101s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1101s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1101s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1101s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1101s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1101s ok 2 /search/composed 1101s # GLib-DEBUG: Started 1101s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1101s ok - glib/search-utils.test 1101s # Running test: glib/network-monitor.test 1101s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1101s ok 3 /search/decomposed 1101s # GLib-DEBUG: Started 1101s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1101s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1101s ok 4 /search/turkish 1101s # GLib-DEBUG: Started 1101s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1101s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1101s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1101s ok 5 /search/c_locale_unicode 1101s # GLib-DEBUG: Started 1101s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1101s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1101s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1101s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1101s ok 6 /search/multi_words 1101s # End of search tests 1101s TAP version 14 1101s # random seed: R02S788c2205aca567d96662b7eb073c51f5 1101s 1..4 1101s # Start of network-monitor tests 1101s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1101s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1101s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 1101s ok - glib/network-monitor.test 1101s # Running test: glib/cxx-98.test 1101s ok - glib/cxx-98.test 1101s # Running test: glib/cancellable.test 1101s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1101s ok 1 /network-monitor/default 1101s ok 2 /network-monitor/remove_default 1101s ok 3 /network-monitor/add_networks 1101s ok 4 /network-monitor/remove_networks 1101s # End of network-monitor tests 1101s TAP version 14 1101s # random seed: R02S9db1b5645d5f323600795ff40d3479e4 1101s 1..2 1101s # Start of gtask tests 1101s # 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. 1101s ok 1 /gtask/name 1101s # Start of name tests 1101s # 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. 1101s ok 2 /gtask/name/macro-wrapper 1101s # End of name tests 1101s # End of gtask tests 1101s TAP version 14 1101s # random seed: R02S939d305afaefee815810dcc5c1c16548 1101s 1..18 1101s # Start of cancellable tests 1101s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1101s ok 2 /cancellable/null 1101s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 1101s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 1101s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 1101s ok 4 /cancellable/connect-to-disposing-callback 1101s ok 5 /cancellable/connect-cancelled-data-is-destroyed 1101s # Toggle reference callback for GCancellable (0xc9d736a18c10), last: 1 1101s # Toggle reference callback for GCancellable (0xc9d736a18c10), last: 0 1101s # Toggle reference callback for GCancellable (0xc9d736a18c10), last: 1 1101s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 1101s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 1101s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 1101s ok 7 /cancellable/connect-cancelled-to-disposing-callback 1101s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 1101s # Toggle reference callback for GCancellable (0xc9d736a18c10), last: 1 1101s # Toggle reference callback for GCancellable (0xc9d736a18c10), last: 0 1101s # Toggle reference callback for GCancellable (0xc9d736a18c10), last: 1 1101s # Toggle reference callback for GCancellable (0xc9d736a18c10), last: 0 1101s # Toggle reference callback for GCancellable (0xc9d736a18c10), last: 1 1101s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 1101s # /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 1101s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 1101s # /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 1102s ok 11 /cancellable/resets-on-cancel-callback-hangs 1102s ok 12 /cancellable/poll-fd 1102s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1102s ok 13 /cancellable/poll-fd-cancelled 1102s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1102s ok 14 /cancellable/poll-fd-cancelled-threaded 1102s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1102s ok 15 /cancellable/cancel-reset-races 1102s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1102s not ok 16 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 1102s # End of cancellable tests 1102s # Start of cancellable-source tests 1102s # /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) 1102s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1102s # Executing: glib/cancellable.test 1102s ok 17 /cancellable-source/threaded-dispose 1102s # slow test /cancellable-source/threaded-dispose executed in 0.65 secs 1102s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 1102s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 1102s ok 18 /cancellable-source/can-be-fired-multiple-times 1102s # End of cancellable-source tests 1102s ok - glib/cancellable.test 1102s # Running test: glib/memory-input-stream.test 1102s TAP version 14 1102s # random seed: R02S82060ac0ec15871b7869de0aa068807e 1102s 1..6 1102s # Start of memory-input-stream tests 1102s ok 1 /memory-input-stream/read-chunks 1102s ok 2 /memory-input-stream/async 1102s ok 3 /memory-input-stream/seek 1102s ok 4 /memory-input-stream/truncate 1102s ok 5 /memory-input-stream/read-bytes 1102s ok 6 /memory-input-stream/from-bytes 1102s # End of memory-input-stream tests 1102s TAP version 14 1102s # random seed: R02Sea1f4513f52d3a1f21cba51c35359fa8 1102s 1..1 1102s # Start of gobject tests 1102s # Start of refcount tests 1102s # init 0xc58304ab92d0 1102s # 1102s # init 0xc58304ab1580 1102s # 1102s ok - glib/memory-input-stream.test 1102s # Running test: glib/signals-refcount2.test 1107s # Executing: glib/signals-refcount2.test 1107s # dispose 0xc58304ab92d0! 1107s # 1107s # dispose 0xc58304ab1580! 1107s # 1107s ok 1 /gobject/refcount/signals 1107s # slow test /gobject/refcount/signals executed in 5.00 secs 1107s # End of refcount tests 1107s # End of gobject tests 1107s ok - glib/signals-refcount2.test 1107s # Running test: glib/markup.test 1107s TAP version 14 1107s # random seed: R02S2e144437ce75cf337311fcd263e1c057 1107s 1..1 1107s # Start of markup tests 1107s ok 1 /markup/stack 1107s # End of markup tests 1107s ok - glib/markup.test 1107s # Running test: glib/sort.test 1107s TAP version 14 1107s # random seed: R02Sef8a00fc3f9bc7bb849eae7954f6248e 1107s ok - glib/sort.test 1107s # Running test: glib/actions.test 1107s 1..5 1107s # Start of sort tests 1107s ok 1 /sort/basic 1107s ok 2 /sort/zero-elements 1107s ok 3 /sort/stable 1107s ok 4 /sort/big 1107s ok 5 /sort/deprecated 1107s # End of sort tests 1107s TAP version 14 1107s # random seed: R02S129399d1c27c5776e2ec508e4ca565a0 1107s 1..13 1107s # Start of actions tests 1107s ok 1 /actions/basic 1107s ok 2 /actions/name 1107s ok 3 /actions/simplegroup 1107s ok 4 /actions/stateful 1107s ok 5 /actions/default-activate 1107s ok 6 /actions/entries 1107s ok 7 /actions/parse-detailed 1107s ok 8 /actions/property 1107s ok 9 /actions/no-properties 1107s # Start of dbus tests 1107s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1107s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1107s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1107s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1107s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1107s ok 10 /actions/dbus/export 1107s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1107s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1107s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1107s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1107s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1107s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s ok 11 /actions/dbus/threaded 1109s # slow test /actions/dbus/threaded executed in 1.15 secs 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s ok 12 /actions/dbus/bug679509 1109s # Start of export tests 1109s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1109s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s ok - glib/actions.test 1109s # Running test: glib/portal-support-none.test 1109s ok - glib/portal-support-none.test 1109s # Running test: glib/node.test 1109s ok - glib/node.test 1109s # Running test: glib/gsubprocess.test 1109s ok 13 /actions/dbus/export/error-handling 1109s # End of export tests 1109s # End of dbus tests 1109s # End of actions tests 1109s TAP version 14 1109s # random seed: R02S9411b21b0d9f863b8263b29912572bca 1109s 1..1 1109s # Start of portal-support tests 1109s ok 1 /portal-support/none 1109s # End of portal-support tests 1109s TAP version 14 1109s # random seed: R02S3e21f1305f5dad095ee7e75d04c72501 1109s 1..6 1109s # Start of node tests 1109s ok 1 /node/allocation 1109s ok 2 /node/construction 1109s ok 3 /node/traversal 1109s ok 4 /node/misc 1109s ok 5 /node/unlink 1109s ok 6 /node/copy 1109s # End of node tests 1109s TAP version 14 1109s # random seed: R02S85a0a2d5440c4126b4848bdd85ea41e6 1109s 1..84 1109s # Start of gsubprocess tests 1109s ok 1 /gsubprocess/noop 1109s ok 2 /gsubprocess/noop-all-to-null 1109s ok 3 /gsubprocess/noop-no-wait 1109s ok 4 /gsubprocess/noop-stdin-inherit 1109s ok 5 /gsubprocess/search-path 1109s ok 6 /gsubprocess/search-path-from-envp 1112s # Executing: glib/gsubprocess.test 1112s ok 7 /gsubprocess/signal 1112s # slow test /gsubprocess/signal executed in 3.18 secs 1112s ok 8 /gsubprocess/exit1 1112s ok 9 /gsubprocess/echo1 1112s ok 10 /gsubprocess/echo-merged 1112s ok 11 /gsubprocess/cat-utf8 1113s ok 12 /gsubprocess/cat-eof 1113s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1116s ok 13 /gsubprocess/multi1 1116s # slow test /gsubprocess/multi1 executed in 3.01 secs 1116s ok 14 /gsubprocess/communicate 1117s # Executing: glib/gsubprocess.test 1119s ok 15 /gsubprocess/terminate 1119s # slow test /gsubprocess/terminate executed in 2.97 secs 1119s ok 16 /gsubprocess/fail-initialization 1119s ok 17 /gsubprocess/env 1119s ok 18 /gsubprocess/cwd 1119s ok 19 /gsubprocess/launcher-close 1119s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1119s ok 20 /gsubprocess/stdout-file 1119s ok 21 /gsubprocess/stdout-fd 1119s ok 22 /gsubprocess/child-setup 1119s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1119s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1119s ok 23 /gsubprocess/launcher-environment 1119s # Start of exit1 tests 1119s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1119s ok 24 /gsubprocess/exit1/cancel 1119s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1119s ok 25 /gsubprocess/exit1/cancel_in_cb 1119s # End of exit1 tests 1119s # Start of communicate tests 1119s ok 26 /gsubprocess/communicate/cancelled 1119s ok 27 /gsubprocess/communicate/async 1119s ok 28 /gsubprocess/communicate/utf8 1119s # hello world 1119s ok 29 /gsubprocess/communicate/no-pipes 1119s ok 30 /gsubprocess/communicate/separate-stderr 1119s ok 31 /gsubprocess/communicate/stdout-only 1119s # hello world 1119s ok 32 /gsubprocess/communicate/stderr-only 1119s ok 33 /gsubprocess/communicate/stdout-silence 1119s ok 34 /gsubprocess/communicate/nothing 1119s # Start of async tests 1119s ok 35 /gsubprocess/communicate/async/cancelled 1119s # hello world 1119s ok 36 /gsubprocess/communicate/async/no-pipes 1119s ok 37 /gsubprocess/communicate/async/separate-stderr 1119s ok 38 /gsubprocess/communicate/async/stdout-only 1119s # hello world 1119s ok 39 /gsubprocess/communicate/async/stderr-only 1119s ok 40 /gsubprocess/communicate/async/stdout-silence 1119s # Start of cancelled tests 1119s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 1119s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 1119s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 1119s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 1119s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 1119s # End of cancelled tests 1119s # End of async tests 1119s # Start of utf8 tests 1119s ok 46 /gsubprocess/communicate/utf8/cancelled 1119s ok 47 /gsubprocess/communicate/utf8/async 1119s # hello world 1119s ok 48 /gsubprocess/communicate/utf8/no-pipes 1119s ok - glib/gsubprocess.test 1119s # Running test: glib/qdata.test 1119s ok - glib/qdata.test 1119s # Running test: glib/error.test 1119s ok - glib/error.test 1119s # Running test: glib/gdbus-method-invocation.test 1119s ok - glib/gdbus-method-invocation.test 1119s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1119s ok 49 /gsubprocess/communicate/utf8/separate-stderr 1119s ok 50 /gsubprocess/communicate/utf8/stdout-only 1119s # hello world 1119s ok 51 /gsubprocess/communicate/utf8/stderr-only 1119s ok 52 /gsubprocess/communicate/utf8/stdout-silence 1119s ok 53 /gsubprocess/communicate/utf8/invalid 1119s # Start of async tests 1119s ok 54 /gsubprocess/communicate/utf8/async/cancelled 1119s # hello world 1119s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 1119s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 1119s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 1119s # hello world 1119s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 1119s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 1119s ok 60 /gsubprocess/communicate/utf8/async/invalid 1119s # Start of cancelled tests 1119s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1119s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1119s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1119s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1119s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1119s # End of cancelled tests 1119s # End of async tests 1119s # Start of cancelled tests 1119s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 1119s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1119s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 1119s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 1119s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1119s # End of cancelled tests 1119s # End of utf8 tests 1119s # Start of cancelled tests 1119s ok 71 /gsubprocess/communicate/cancelled/no-pipes 1119s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 1119s ok 73 /gsubprocess/communicate/cancelled/stdout-only 1119s ok 74 /gsubprocess/communicate/cancelled/stderr-only 1119s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 1119s # End of cancelled tests 1119s # End of communicate tests 1119s # Start of env tests 1119s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1119s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1119s ok 76 /gsubprocess/env/inherit 1119s # End of env tests 1119s # Start of pass-fd tests 1119s ok 77 /gsubprocess/pass-fd/basic 1119s ok 78 /gsubprocess/pass-fd/empty-child-setup 1119s ok 79 /gsubprocess/pass-fd/inherit-fds 1119s # End of pass-fd tests 1119s # Start of fd-conflation tests 1119s ok 80 /gsubprocess/fd-conflation/basic 1119s ok 81 /gsubprocess/fd-conflation/empty-child-setup 1119s ok 82 /gsubprocess/fd-conflation/inherit-fds 1119s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 1119s # End of fd-conflation tests 1119s # Start of exit-status tests 1119s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1119s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1119s ok 84 /gsubprocess/exit-status/trapped 1119s # End of exit-status tests 1119s # End of gsubprocess tests 1119s TAP version 14 1119s # random seed: R02S293176caf98ce3526af0b01680f2526c 1119s 1..2 1119s # Start of qdata tests 1119s ok 1 /qdata/threaded 1119s ok 2 /qdata/dup 1119s # End of qdata tests 1119s TAP version 14 1119s # random seed: R02S1d54befac8f6633482d745e4bdd66dfd 1119s 1..3 1119s # Start of error tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_QIBCK3/error/from-errno/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_QIBCK3/error/from-errno/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_QIBCK3/error/from-errno/.dirs/system-config1:/tmp/test_error_QIBCK3/error/from-errno/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_QIBCK3/error/from-errno/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_QIBCK3/error/from-errno/.dirs/system-data1:/tmp/test_error_QIBCK3/error/from-errno/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_QIBCK3/error/from-errno/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_QIBCK3/error/from-errno/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_QIBCK3/error/from-errno/.dirs/runtime 1119s ok 1 /error/from-errno 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_QIBCK3/error/from-file-error/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_QIBCK3/error/from-file-error/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_QIBCK3/error/from-file-error/.dirs/system-config1:/tmp/test_error_QIBCK3/error/from-file-error/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_QIBCK3/error/from-file-error/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_QIBCK3/error/from-file-error/.dirs/system-data1:/tmp/test_error_QIBCK3/error/from-file-error/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_QIBCK3/error/from-file-error/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_QIBCK3/error/from-file-error/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_QIBCK3/error/from-file-error/.dirs/runtime 1119s ok 2 /error/from-file-error 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_QIBCK3/error/from-win32-error/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_QIBCK3/error/from-win32-error/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_QIBCK3/error/from-win32-error/.dirs/system-config1:/tmp/test_error_QIBCK3/error/from-win32-error/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_QIBCK3/error/from-win32-error/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_QIBCK3/error/from-win32-error/.dirs/system-data1:/tmp/test_error_QIBCK3/error/from-win32-error/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_QIBCK3/error/from-win32-error/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_QIBCK3/error/from-win32-error/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_QIBCK3/error/from-win32-error/.dirs/runtime 1119s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1119s # End of error tests 1119s TAP version 14 1119s # random seed: R02Sf22a7bc8ae7d8255272f8acde1e14c52 1119s 1..1 1119s # Start of gdbus tests 1119s # Start of method-invocation tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_L19BK3/gdbus/method-invocation/return/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_L19BK3/gdbus/method-invocation/return/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_L19BK3/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_L19BK3/gdbus/method-invocation/return/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_L19BK3/gdbus/method-invocation/return/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_L19BK3/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_L19BK3/gdbus/method-invocation/return/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_L19BK3/gdbus/method-invocation/return/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_L19BK3/gdbus/method-invocation/return/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_L19BK3/gdbus/method-invocation/return/.dirs/runtime 1119s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1119s # Calling org.freedesktop.DBus.Properties.Get 1119s # Calling org.freedesktop.DBus.Properties.Get 1119s # Calling org.freedesktop.DBus.Properties.Get 1119s # Calling org.freedesktop.DBus.Properties.Set 1119s # Calling org.freedesktop.DBus.Properties.GetAll 1119s # Calling org.example.Foo.WrongReturnType 1119s # Calling org.example.Foo.GetFDs 1119s # Calling org.example.Foo.GetFDs 1119s # Calling org.example.Foo.ReturnError 1119s # Calling org.example.Foo.CloseBeforeReturning 1119s ok 1 /gdbus/method-invocation/return 1119s # End of method-invocation tests 1119s # End of gdbus tests 1119s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1119s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1119s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1119s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1119s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1119s TAP version 14 1119s # random seed: R02S8170a9cc531fe9b105e172efa8d9e8dc 1119s 1..8 1119s # Start of gdbus tests 1119s # Start of codegen tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/annotations/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/annotations/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/annotations/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/annotations/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/annotations/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/annotations/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/annotations/.dirs/state 1119s ok - glib/gdbus-test-codegen-min-required-2-64.test 1119s # Running test: glib/gobject-query.py.test 1119s ok - glib/gobject-query.py.test 1119s # Running test: glib/hook.test 1119s ok - glib/hook.test 1119s # Running test: glib/gdbus-peer-object-manager.test 1119s ok - glib/gdbus-peer-object-manager.test 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/annotations/.dirs/runtime 1119s ok 1 /gdbus/codegen/annotations 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/interface_stability/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/interface_stability/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/interface_stability/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/interface_stability/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/interface_stability/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/interface_stability/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/interface_stability/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/interface_stability/.dirs/runtime 1119s ok 2 /gdbus/codegen/interface_stability 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/object-manager/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/object-manager/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/object-manager/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/object-manager/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/object-manager/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/object-manager/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/object-manager/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/object-manager/.dirs/runtime 1119s ok 3 /gdbus/codegen/object-manager 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/property-naming/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/property-naming/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/property-naming/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/property-naming/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/property-naming/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/property-naming/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/property-naming/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/property-naming/.dirs/runtime 1119s ok 4 /gdbus/codegen/property-naming 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/autocleanups/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/autocleanups/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/autocleanups/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/autocleanups/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/autocleanups/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/autocleanups/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/autocleanups/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/autocleanups/.dirs/runtime 1119s ok 5 /gdbus/codegen/autocleanups 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/deprecations/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/deprecations/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/deprecations/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/deprecations/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/deprecations/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/deprecations/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/deprecations/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/deprecations/.dirs/runtime 1119s ok 6 /gdbus/codegen/deprecations 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/standalone-interface-info/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/standalone-interface-info/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/standalone-interface-info/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/standalone-interface-info/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/standalone-interface-info/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1119s ok 7 /gdbus/codegen/standalone-interface-info 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/unix-fd-list/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/unix-fd-list/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/unix-fd-list/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/unix-fd-list/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/unix-fd-list/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1TZDK3/gdbus/codegen/unix-fd-list/.dirs/runtime 1119s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1119s ok 8 /gdbus/codegen/unix-fd-list 1119s # End of codegen tests 1119s # End of gdbus tests 1119s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1119s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1119s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1119s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1119s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1119s TAP version 13 1119s ok 1 __main__.TestGobjectQuery.test_froots 1119s # gobject-query: /usr/bin/gobject-query 1119s # tmpdir: /tmp/tmpg7uqv5oj 1119s # Running: ['/usr/bin/gobject-query', 'froots'] 1119s # Return code: 0 1119s # Output: 1119s # ├void 1119s # ├GInterface 1119s # │ └GTypePlugin 1119s # ├gchar 1119s # ├guchar 1119s # ├gboolean 1119s # ├gint 1119s # ├guint 1119s # ├glong 1119s # ├gulong 1119s # ├gint64 1119s # ├guint64 1119s # ├GEnum 1119s # ├GFlags 1119s # ├gfloat 1119s # ├gdouble 1119s # ├gchararray 1119s # ├gpointer 1119s # │ └GType 1119s # ├GBoxed 1119s # │ └GValueArray 1119s # ├GParam 1119s # │ ├GParamChar 1119s # │ ├GParamUChar 1119s # │ ├GParamBoolean 1119s # │ ├GParamInt 1119s # │ ├GParamUInt 1119s # │ ├GParamLong 1119s # │ ├GParamULong 1119s # │ ├GParamInt64 1119s # │ ├GParamUInt64 1119s # │ ├GParamUnichar 1119s # │ ├GParamEnum 1119s # │ ├GParamFlags 1119s # │ ├GParamFloat 1119s # │ ├GParamDouble 1119s # │ ├GParamString 1119s # │ ├GParamParam 1119s # │ ├GParamBoxed 1119s # │ ├GParamPointer 1119s # │ ├GParamValueArray 1119s # │ ├GParamObject 1119s # │ ├GParamOverride 1119s # │ ├GParamGType 1119s # │ └GParamVariant 1119s # ├GObject 1119s # └GVariant 1119s # Error: 1119s ok 2 __main__.TestGobjectQuery.test_help 1119s # gobject-query: /usr/bin/gobject-query 1119s # tmpdir: /tmp/tmpvqqnoy_c 1119s # Running: ['/usr/bin/gobject-query', '--help'] 1119s # Return code: 0 1119s # Output: 1119s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1119s # -r specify root type 1119s # -n don't descend type tree 1119s # -h show help 1119s # -b specify indent string 1119s # -i specify incremental indent string 1119s # -s specify line spacing 1119s # qualifiers: 1119s # froots iterate over fundamental roots 1119s # tree print type tree 1119s # Error: 1119s ok 3 __main__.TestGobjectQuery.test_tree 1119s # gobject-query: /usr/bin/gobject-query 1119s # tmpdir: /tmp/tmpmsuyzwvt 1119s # Running: ['/usr/bin/gobject-query', 'tree'] 1119s # Return code: 0 1119s # Output: 1119s # GObject 1119s # Error: 1119s ok 4 __main__.TestGobjectQuery.test_version 1119s # gobject-query: /usr/bin/gobject-query 1119s # tmpdir: /tmp/tmpmb_xaa9u 1119s # Running: ['/usr/bin/gobject-query', '--version'] 1119s # Return code: 0 1119s # Output: 1119s # 2.87.2 1119s # Error: 1119s 1..4 1119s TAP version 14 1119s # random seed: R02Sf59d6feb76aa8025a94f7c2f9c476d75 1119s 1..2 1119s # Start of hook tests 1119s ok 1 /hook/basics 1119s ok 2 /hook/corner-cases 1119s # End of hook tests 1119s TAP version 14 1119s # random seed: R02Se38fca180ba96b35ea115487d593777b 1119s 1..2 1119s # Start of gdbus tests 1119s # Start of peer-object-manager tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/normal/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/normal/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/normal/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/normal/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/normal/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/normal/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/normal/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/normal/.dirs/runtime 1119s ok 1 /gdbus/peer-object-manager/normal 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/root/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/root/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/root/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/root/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/root/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/root/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/root/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_MMOGK3/gdbus/peer-object-manager/root/.dirs/runtime 1119s ok 2 /gdbus/peer-object-manager/root 1119s # End of peer-object-manager tests 1119s # End of gdbus tests 1119s # Running test: glib/dynamictype.test 1119s ok - glib/dynamictype.test 1119s # Running test: glib/utils-unisolated.test 1119s ok - glib/utils-unisolated.test 1119s # Running test: glib/gdbus-sasl.test 1119s ok - glib/gdbus-sasl.test 1119s # Running test: glib/utils-c-89.test 1119s TAP version 14 1119s # random seed: R02S3e991ae8ea5d6073d799c8ada15bf49a 1119s 1..2 1119s # Start of gobject tests 1119s ok 1 /gobject/dynamic-type 1119s # Start of dynamic-type tests 1119s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1119s ok 2 /gobject/dynamic-type/query 1119s # End of dynamic-type tests 1119s # End of gobject tests 1119s TAP version 14 1119s # random seed: R02Sa256d18c24e11a670eb4436ab6f8e6f7 1119s 1..1 1119s # Start of utils tests 1119s ok 1 /utils/xdgdirs 1119s # End of utils tests 1119s TAP version 14 1119s # random seed: R02S2335f64c13b9fe83b3f167207c9959f4 1119s 1..1 1119s # Start of gdbus tests 1119s # Start of sasl tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_H1EIK3/gdbus/sasl/server/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_H1EIK3/gdbus/sasl/server/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_H1EIK3/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_H1EIK3/gdbus/sasl/server/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_H1EIK3/gdbus/sasl/server/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_H1EIK3/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_H1EIK3/gdbus/sasl/server/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_H1EIK3/gdbus/sasl/server/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_H1EIK3/gdbus/sasl/server/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_H1EIK3/gdbus/sasl/server/.dirs/runtime 1119s # New handshake: EXTERNAL with incorrect initial response 1119s # C:“AUTH EXTERNAL 30” 1119s # Expect: /^REJECTED.*$/ 1119s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1119s # New handshake: EXTERNAL without initial response, failing to authenticate 1119s # C:“AUTH EXTERNAL” 1119s # Expect: /^DATA$/ 1119s # S:“DATA” 1119s # C:“DATA 30” 1119s # Expect: /^REJECTED.*$/ 1119s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1119s # New handshake: EXTERNAL with initial response 1119s # C:“AUTH EXTERNAL 31303030” 1119s # Expect: /^OK [0-9a-f]+$/ 1119s # S:“OK bf6da3a73304e6d8086f0c876988b67e” 1119s # New handshake: EXTERNAL without initial response 1119s # C:“AUTH EXTERNAL” 1119s # Expect: /^DATA$/ 1119s # S:“DATA” 1119s # C:“DATA 31303030” 1119s # Expect: /^OK [0-9a-f]+$/ 1119s # S:“OK bf6da3a73304e6d8086f0c876988b67e” 1119s # New handshake: EXTERNAL with empty authorization identity 1119s # C:“AUTH EXTERNAL” 1119s # Expect: /^DATA$/ 1119s # S:“DATA” 1119s # C:“DATA” 1119s # Expect: /^OK [0-9a-f]+$/ 1119s # S:“OK bf6da3a73304e6d8086f0c876988b67e” 1119s # New handshake: EXTERNAL with empty authorization identity and whitespace 1119s # C:“AUTH EXTERNAL” 1119s # Expect: /^DATA$/ 1119s # S:“DATA” 1119s # C:“DATA ” 1119s # Expect: /^OK [0-9a-f]+$/ 1119s # S:“OK bf6da3a73304e6d8086f0c876988b67e” 1119s ok 1 /gdbus/sasl/server 1119s # End of sasl tests 1119s # End of gdbus tests 1119s TAP version 14 1119s # random seed: R02S7a84205d80531ec8867921db8b86d89c 1119s 1..41 1119s # Start of utils tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/language-names/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/language-names/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/language-names/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/language-names/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/language-names/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/language-names/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/language-names/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/language-names/.dirs/runtime 1119s ok 1 /utils/language-names 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/locale-variants/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/locale-variants/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/locale-variants/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/locale-variants/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/locale-variants/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/locale-variants/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/locale-variants/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/locale-variants/.dirs/runtime 1119s # Testing locale ‘en’ 1119s # Testing locale ‘sr@latin’ 1119s # Testing locale ‘fr_BE’ 1119s # Testing locale ‘sr_SR@latin’ 1119s # Testing locale ‘sr_SR@latin.UTF-8’ 1119s # Testing locale ‘sr@latin_invalid’ 1119s # Testing locale ‘sr.UTF-8@latin’ 1119s # Testing locale ‘sr.UTF-8_latin’ 1119s # Testing locale ‘sr.UTF-8@latin_invalid’ 1119s ok 2 /utils/locale-variants 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/version/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/version/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/version/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/version/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/version/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/version/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/version/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/version/.dirs/runtime 1119s ok 3 /utils/version 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/appname/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/appname/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/appname/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/appname/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/appname/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/appname/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/appname/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/appname/.dirs/runtime 1119s ok 4 /utils/appname 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/prgname-thread-safety/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/prgname-thread-safety/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/prgname-thread-safety/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/prgname-thread-safety/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/prgname-thread-safety/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/prgname-thread-safety/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/prgname-thread-safety/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/prgname-thread-safety/.dirs/runtime 1119s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1119s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1119s ok 5 /utils/prgname-thread-safety 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/tmpdir/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/tmpdir/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/tmpdir/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/tmpdir/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/tmpdir/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/tmpdir/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/tmpdir/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/tmpdir/.dirs/runtime 1119s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1119s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1119s Unable to clean up temporary directory /tmp/test_utils-c-89_6A9HK3/utils/tmpdir: No such file or directory 1119s ok 6 /utils/tmpdir 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/basic_bits/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/basic_bits/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/basic_bits/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/basic_bits/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/basic_bits/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/basic_bits/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/basic_bits/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/basic_bits/.dirs/runtime 1119s ok 7 /utils/basic_bits 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/bits/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/bits/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/bits/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/bits/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/bits/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/bits/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/bits/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/bits/.dirs/runtime 1119s ok 8 /utils/bits 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/swap/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/swap/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/swap/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/swap/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/swap/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/swap/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/swap/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/swap/.dirs/runtime 1119s ok 9 /utils/swap 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/find-program/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/find-program/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/find-program/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/find-program/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/find-program/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/find-program/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/find-program/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/find-program/.dirs/runtime 1119s ok 10 /utils/find-program 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/find-program-for-path/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/find-program-for-path/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/find-program-for-path/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/find-program-for-path/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/find-program-for-path/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/find-program-for-path/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/find-program-for-path/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/find-program-for-path/.dirs/runtime 1119s ok 11 /utils/find-program-for-path 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/debug/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/debug/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/debug/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/debug/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/debug/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/debug/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/debug/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/debug/.dirs/runtime 1119s Unable to clean up temporary directory /tmp/test_utils-c-89_6A9HK3/utils/debug: No such file or directory 1119s ok 12 /utils/debug 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/codeset/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/codeset/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/codeset/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/codeset/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/codeset/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/codeset/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/codeset/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/codeset/.dirs/runtime 1119s ok 13 /utils/codeset 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/codeset2/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/codeset2/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/codeset2/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/codeset2/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/codeset2/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/codeset2/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/codeset2/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/codeset2/.dirs/runtime 1119s Unable to clean up temporary directory /tmp/test_utils-c-89_6A9HK3/utils/codeset2: No such file or directory 1119s ok 14 /utils/codeset2 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/console-charset/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/console-charset/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/console-charset/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/console-charset/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/console-charset/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/console-charset/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/console-charset/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/console-charset/.dirs/runtime 1119s ok 15 /utils/console-charset 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/gettext/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/gettext/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/gettext/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/gettext/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/gettext/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/gettext/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/gettext/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/gettext/.dirs/runtime 1119s ok 16 /utils/gettext 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/username/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/username/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/username/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/username/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/username/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/username/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/username/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/username/.dirs/runtime 1119s ok 17 /utils/username 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/realname/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/realname/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/realname/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/realname/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/realname/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/realname/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/realname/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/realname/.dirs/runtime 1119s ok 18 /utils/realname 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/hostname/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/hostname/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/hostname/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/hostname/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/hostname/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/hostname/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/hostname/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/hostname/.dirs/runtime 1119s ok 19 /utils/hostname 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/os-info/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/os-info/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/os-info/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/os-info/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/os-info/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/os-info/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/os-info/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/os-info/.dirs/runtime 1119s # NAME: Ubuntu 1119s ok 20 /utils/os-info 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/.dirs/runtime 1119s ok 21 /utils/clear-pointer 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer-cast/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer-cast/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/clear-pointer-cast/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer-cast/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/clear-pointer-cast/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer-cast/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer-cast/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer-cast/.dirs/runtime 1119s ok 22 /utils/clear-pointer-cast 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/take-pointer/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/take-pointer/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/take-pointer/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/take-pointer/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/take-pointer/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/take-pointer/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/take-pointer/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/take-pointer/.dirs/runtime 1119s ok 23 /utils/take-pointer 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-source/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-source/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/clear-source/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-source/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/clear-source/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-source/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-source/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/clear-source/.dirs/runtime 1119s ok 24 /utils/clear-source 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/misc-mem/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/misc-mem/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/misc-mem/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/misc-mem/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/misc-mem/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/misc-mem/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/misc-mem/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/misc-mem/.dirs/runtime 1119s ok 25 /utils/misc-mem 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/.dirs/runtime 1119s # /utils/aligned-mem summary: Aligned memory allocator 1119s # Alignment must not be zero 1119s # Alignment must be a power of two 1119s # Alignment must be a multiple of sizeof(void*) 1119s ok 26 /utils/aligned-mem 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/free-sized/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/free-sized/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/free-sized/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/free-sized/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/free-sized/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/free-sized/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/free-sized/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/free-sized/.dirs/runtime 1119s # /utils/free-sized summary: Check that g_free_sized() works 1119s ok 27 /utils/free-sized 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/nullify/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/nullify/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/nullify/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/nullify/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/nullify/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/nullify/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/nullify/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/nullify/.dirs/runtime 1119s ok 28 /utils/nullify 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/atexit/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/atexit/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/atexit/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/atexit/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/atexit/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/atexit/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/atexit/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/atexit/.dirs/runtime 1119s Unable to clean up temporary directory /tmp/test_utils-c-89_6A9HK3/utils/atexit: No such file or directory 1119s ok 29 /utils/atexit 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/check-setuid/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/check-setuid/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/check-setuid/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/check-setuid/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/check-setuid/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/check-setuid/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/check-setuid/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/check-setuid/.dirs/runtime 1119s ok 30 /utils/check-setuid 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/int-limits/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/int-limits/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/int-limits/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/int-limits/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/int-limits/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/int-limits/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/int-limits/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/int-limits/.dirs/runtime 1119s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1119s ok 31 /utils/int-limits 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-list/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-list/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/clear-list/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-list/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/clear-list/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-list/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-list/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/clear-list/.dirs/runtime 1119s ok 32 /utils/clear-list 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-slist/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-slist/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/clear-slist/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-slist/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/clear-slist/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-slist/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-slist/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/clear-slist/.dirs/runtime 1119s ok 33 /utils/clear-slist 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/steal-handle-id/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/steal-handle-id/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/steal-handle-id/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/steal-handle-id/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/steal-handle-id/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/steal-handle-id/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/steal-handle-id/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/steal-handle-id/.dirs/runtime 1119s ok 34 /utils/steal-handle-id 1119s # Start of user-special-dirs tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/desktop/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/desktop/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/desktop/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/desktop/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/desktop/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/desktop/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/desktop/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/desktop/.dirs/runtime 1119s ok 35 /utils/user-special-dirs/desktop 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/load-unlocked/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/load-unlocked/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/load-unlocked/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/load-unlocked/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1119s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1119s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1119s Unable to clean up temporary directory /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/load-unlocked: No such file or directory 1119s ok 36 /utils/user-special-dirs/load-unlocked 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/reload-leaks/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/reload-leaks/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/reload-leaks/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/reload-leaks/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1119s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1119s Unable to clean up temporary directory /tmp/test_utils-c-89_6A9HK3/utils/user-special-dirs/reload-leaks: No such file or directory 1119s ok 37 /utils/user-special-dirs/reload-leaks 1119s # End of user-special-dirs tests 1119s # Start of clear-pointer tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/side-effects/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/side-effects/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/side-effects/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/side-effects/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/side-effects/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/side-effects/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/side-effects/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/clear-pointer/side-effects/.dirs/runtime 1119s ok 38 /utils/clear-pointer/side-effects 1119s # End of clear-pointer tests 1119s # Start of aligned-mem tests 1119s ok - glib/utils-c-89.test 1119s # Running test: glib/cxx-17.test 1119s ok - glib/cxx-17.test 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/alignment/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/alignment/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/alignment/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/alignment/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/alignment/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/alignment/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/alignment/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/alignment/.dirs/runtime 1119s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1119s ok 39 /utils/aligned-mem/alignment 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/zeroed/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/zeroed/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/zeroed/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/zeroed/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/zeroed/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/zeroed/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/zeroed/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/zeroed/.dirs/runtime 1119s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1119s ok 40 /utils/aligned-mem/zeroed 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/free-sized/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/free-sized/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/free-sized/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/free-sized/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/free-sized/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/free-sized/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/free-sized/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_6A9HK3/utils/aligned-mem/free-sized/.dirs/runtime 1119s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1119s ok 41 /utils/aligned-mem/free-sized 1119s # Start of subprocess tests 1119s # End of subprocess tests 1119s # End of aligned-mem tests 1119s # End of utils tests 1119s TAP version 14 1119s # random seed: R02S69570ec380a6d15860f213daa0a3f9b5 1119s 1..2 1119s # Start of gtask tests 1119s # 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. 1119s ok 1 /gtask/name 1119s # Start of name tests 1119s # 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. 1119s ok 2 /gtask/name/macro-wrapper 1119s # End of name tests 1119s # End of gtask tests 1119s # Running test: glib/rcbox.test 1119s ok - glib/rcbox.test 1119s # Running test: glib/gutils-user-database.test 1119s ok - glib/gutils-user-database.test 1119s # Running test: glib/notify-init.test 1119s TAP version 14 1119s # random seed: R02S5c0b37f3f18054adab0ad39390a18819 1119s 1..8 1119s # Start of rcbox tests 1119s ok 1 /rcbox/new 1119s # global_point = 0xc4026aaa0540 1119s ok 2 /rcbox/release-full 1119s # global_point_a = 0xc4026aaa0540 1119s # global_point_b = 0xc4026aaa0610 1119s ok 3 /rcbox/dup 1119s ok 4 /rcbox/alignment 1119s # End of rcbox tests 1119s # Start of atomic-rcbox tests 1119s ok 5 /atomic-rcbox/new 1119s # global_point = 0xc4026aaa0610 1119s ok 6 /atomic-rcbox/release-full 1119s # global_point_a = 0xc4026aaa0610 1119s # global_point_b = 0xc4026aaa0540 1119s ok 7 /atomic-rcbox/dup 1119s ok 8 /atomic-rcbox/alignment 1119s # End of atomic-rcbox tests 1119s TAP version 14 1119s # random seed: R02S206ce34dcb0cdc34e53e75b4cc3688d0 1119s 1..1 1119s # Start of gutils tests 1119s ok 1 /gutils/get_user_database_entry 1119s # End of gutils tests 1119s TAP version 14 1119s # random seed: R02S1d65b7d280df22bdbd2f55d967186cbc 1119s 1..1 1119s # Start of properties tests 1119s ok - glib/notify-init.test 1119s # Running test: glib/file-thumbnail.test 1119s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1119s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1119s ok 1 /properties/notify-in-init 1119s # End of properties tests 1119s TAP version 14 1119s # random seed: R02S23a843059731905669c3d4f3335a7109 1119s 1..7 1119s # Start of file-thumbnail tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/fail/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/fail/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_TNZJK3/file-thumbnail/fail/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/fail/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_TNZJK3/file-thumbnail/fail/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/fail/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/fail/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/fail/.dirs/runtime 1119s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1119s # Created test thumbnail at /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1119s ok 1 /file-thumbnail/fail 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/size-priority/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/size-priority/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_TNZJK3/file-thumbnail/size-priority/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/size-priority/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_TNZJK3/file-thumbnail/size-priority/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/size-priority/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/size-priority/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/size-priority/.dirs/runtime 1119s # Created test thumbnail at /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1119s # Created test thumbnail at /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1119s # Created test thumbnail at /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1119s # Created test thumbnail at /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1119s # Created test thumbnail at /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1119s ok 2 /file-thumbnail/size-priority 1119s # Start of valid tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/normal/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/normal/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/normal/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/normal/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/normal/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/normal/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/normal/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/normal/.dirs/runtime 1119s # Created test thumbnail at /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1119s ok 3 /file-thumbnail/valid/normal 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/large/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/large/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/large/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/large/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/large/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/large/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/large/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/large/.dirs/runtime 1119s # Created test thumbnail at /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1119s ok 4 /file-thumbnail/valid/large 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/x-large/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/x-large/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/x-large/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/x-large/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/x-large/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/x-large/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/x-large/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/x-large/.dirs/runtime 1119s # Created test thumbnail at /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1119s ok 5 /file-thumbnail/valid/x-large 1119s ok - glib/file-thumbnail.test 1119s # Running test: glib/utf8-private.test 1119s ok - glib/utf8-private.test 1119s # Running test: glib/portal-support-snap-classic.test 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/xx-large/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/xx-large/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/xx-large/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/xx-large/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/xx-large/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/xx-large/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/xx-large/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/xx-large/.dirs/runtime 1119s # Created test thumbnail at /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1119s ok 6 /file-thumbnail/valid/xx-large 1119s # End of valid tests 1119s # Start of unknown tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/unknown/super-large/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/unknown/super-large/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_TNZJK3/file-thumbnail/unknown/super-large/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/unknown/super-large/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_TNZJK3/file-thumbnail/unknown/super-large/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/unknown/super-large/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/unknown/super-large/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/unknown/super-large/.dirs/runtime 1119s # Created test thumbnail at /tmp/test_file-thumbnail_TNZJK3/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1119s ok 7 /file-thumbnail/unknown/super-large 1119s # End of unknown tests 1119s # End of file-thumbnail tests 1119s TAP version 14 1119s # random seed: R02S3cfdf096b810e141678ec47edbf1f76f 1119s 1..2 1119s # Start of utf8 tests 1119s ok 1 /utf8/utf8-to-utf16-make-valid 1119s ok 2 /utf8/utf8-to-utf16-make-valid-backtrack 1119s # End of utf8 tests 1119s ok - glib/portal-support-snap-classic.test 1119s # Running test: glib/ifaceproperties.test 1119s ok - glib/ifaceproperties.test 1119s # Running test: glib/notify-init2.test 1119s ok - glib/notify-init2.test 1119s # Running test: glib/keyfile.test 1119s TAP version 14 1119s # random seed: R02S1317168a88153767e45850384868ad44 1119s 1..3 1119s # Start of portal-support tests 1119s # Start of snap-classic tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/no-snapctl/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/no-snapctl/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/no-snapctl/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/no-snapctl/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/no-snapctl/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/no-snapctl/.dirs/runtime 1119s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/no-snapctl: No such file or directory 1119s ok 1 /portal-support/snap-classic/no-snapctl 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/none/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/none/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/none/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/none/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/none/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/none/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/none/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/none/.dirs/runtime 1119s # Created snap.yaml in /tmp/test_portal-support-snap-classic_UBXIK3/meta/snap.yaml 1119s # Created snapctl in /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/none/.dirs/runtime/snapctl 1119s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/none: No such file or directory 1119s ok 2 /portal-support/snap-classic/none 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/all/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/all/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/all/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/all/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/all/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/all/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/all/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/all/.dirs/runtime 1119s # Created snap.yaml in /tmp/test_portal-support-snap-classic_UBXIK3/meta/snap.yaml 1119s # Created snapctl in /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/all/.dirs/runtime/snapctl 1119s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_UBXIK3/portal-support/snap-classic/all: No such file or directory 1119s ok 3 /portal-support/snap-classic/all 1119s # End of snap-classic tests 1119s # End of portal-support tests 1119s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_UBXIK3: No such file or directory 1119s TAP version 14 1119s # random seed: R02S63bdde7611aca68d34cc170f2dd33c66 1119s 1..7 1119s # Start of interface tests 1119s # Start of properties tests 1119s ok 1 /interface/properties/set 1119s ok 2 /interface/properties/notify 1119s ok 3 /interface/properties/find-overridden 1119s ok 4 /interface/properties/list-overridden 1119s ok 5 /interface/properties/find-interface 1119s ok 6 /interface/properties/list-interface 1119s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1119s ok 7 /interface/properties/not-overridden 1119s # End of properties tests 1119s # End of interface tests 1119s TAP version 14 1119s # random seed: R02S6eac0f335c08a53e671cc70f4e41f2d6 1119s 1..1 1119s # Start of properties tests 1119s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1119s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1119s ok 1 /properties/notify-in-init2 1119s # End of properties tests 1119s TAP version 14 1119s # random seed: R02S0d4bea1288ef4b487dcfa4ab48bec041 1119s 1..36 1119s # Start of keyfile tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/line-ends/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/line-ends/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/line-ends/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/line-ends/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/line-ends/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/line-ends/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/line-ends/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/line-ends/.dirs/runtime 1119s ok 1 /keyfile/line-ends 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/whitespace/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/whitespace/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/whitespace/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/whitespace/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/whitespace/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/whitespace/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/whitespace/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/whitespace/.dirs/runtime 1119s ok 2 /keyfile/whitespace 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/comments/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/comments/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/comments/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/comments/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/comments/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/comments/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/comments/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/comments/.dirs/runtime 1119s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1119s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1119s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1119s ok 3 /keyfile/comments 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/listing/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/listing/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/listing/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/listing/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/listing/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/listing/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/listing/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/listing/.dirs/runtime 1119s ok 4 /keyfile/listing 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/string/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/string/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/string/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/string/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/string/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/string/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/string/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/string/.dirs/runtime 1119s ok 5 /keyfile/string 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/boolean/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/boolean/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/boolean/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/boolean/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/boolean/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/boolean/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/boolean/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/boolean/.dirs/runtime 1119s ok 6 /keyfile/boolean 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/number/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/number/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/number/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/number/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/number/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/number/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/number/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/number/.dirs/runtime 1119s ok 7 /keyfile/number 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/locale-string/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/locale-string/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/locale-string/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/locale-string/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/locale-string/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/locale-string/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/locale-string/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/locale-string/.dirs/runtime 1119s ok 8 /keyfile/locale-string 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/lists/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/lists/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/lists/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/lists/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/lists/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/lists/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/lists/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/lists/.dirs/runtime 1119s ok 9 /keyfile/lists 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/lists-set-get/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/lists-set-get/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/lists-set-get/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/lists-set-get/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/lists-set-get/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/lists-set-get/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/lists-set-get/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/lists-set-get/.dirs/runtime 1119s ok 10 /keyfile/lists-set-get 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/group-remove/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/group-remove/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/group-remove/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/group-remove/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/group-remove/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/group-remove/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/group-remove/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/group-remove/.dirs/runtime 1119s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1119s ok 11 /keyfile/group-remove 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/key-remove/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/key-remove/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/key-remove/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/key-remove/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/key-remove/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/key-remove/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/key-remove/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/key-remove/.dirs/runtime 1119s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1119s ok 12 /keyfile/key-remove 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/groups/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/groups/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/groups/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/groups/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/groups/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/groups/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/groups/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/groups/.dirs/runtime 1119s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1119s ok 13 /keyfile/groups 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-keys/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-keys/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/duplicate-keys/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-keys/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/duplicate-keys/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-keys/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-keys/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-keys/.dirs/runtime 1119s ok 14 /keyfile/duplicate-keys 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups/.dirs/runtime 1119s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1119s ok 15 /keyfile/duplicate-groups 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups2/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups2/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups2/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups2/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups2/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups2/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups2/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/duplicate-groups2/.dirs/runtime 1119s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1119s ok 16 /keyfile/duplicate-groups2 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/group-names/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/group-names/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/group-names/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/group-names/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/group-names/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/group-names/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/group-names/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/group-names/.dirs/runtime 1119s ok 17 /keyfile/group-names 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/key-names/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/key-names/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/key-names/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/key-names/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/key-names/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/key-names/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/key-names/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/key-names/.dirs/runtime 1119s ok 18 /keyfile/key-names 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/reload/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/reload/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/reload/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/reload/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/reload/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/reload/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/reload/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/reload/.dirs/runtime 1119s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1119s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1119s ok 19 /keyfile/reload 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/int64/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/int64/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/int64/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/int64/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/int64/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/int64/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/int64/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/int64/.dirs/runtime 1119s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1119s ok 20 /keyfile/int64 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/load/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/load/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/load/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/load/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/load/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/load/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/load/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/load/.dirs/runtime 1119s ok 21 /keyfile/load 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/save/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/save/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/save/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/save/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/save/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/save/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/save/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/save/.dirs/runtime 1119s ok 22 /keyfile/save 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/load-fail/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/load-fail/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/load-fail/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/load-fail/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/load-fail/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/load-fail/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/load-fail/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/load-fail/.dirs/runtime 1119s ok 23 /keyfile/load-fail 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/non-utf8/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/non-utf8/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/non-utf8/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/non-utf8/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/non-utf8/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/non-utf8/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/non-utf8/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/non-utf8/.dirs/runtime 1119s ok 24 /keyfile/non-utf8 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/page-boundary/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/page-boundary/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/page-boundary/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/page-boundary/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/page-boundary/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/page-boundary/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/page-boundary/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/page-boundary/.dirs/runtime 1119s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1119s ok 25 /keyfile/page-boundary 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/ref/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/ref/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/ref/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/ref/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/ref/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/ref/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/ref/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/ref/.dirs/runtime 1119s ok 26 /keyfile/ref 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/replace-value/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/replace-value/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/replace-value/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/replace-value/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/replace-value/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/replace-value/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/replace-value/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/replace-value/.dirs/runtime 1119s ok 27 /keyfile/replace-value 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/list-separator/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/list-separator/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/list-separator/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/list-separator/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/list-separator/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/list-separator/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/list-separator/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/list-separator/.dirs/runtime 1119s ok 28 /keyfile/list-separator 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/empty-string/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/empty-string/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/empty-string/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/empty-string/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/empty-string/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/empty-string/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/empty-string/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/empty-string/.dirs/runtime 1119s ok 29 /keyfile/empty-string 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/limbo/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/limbo/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/limbo/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/limbo/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/limbo/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/limbo/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/limbo/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/limbo/.dirs/runtime 1119s ok 30 /keyfile/limbo 1119s ok - glib/keyfile.test 1119s # Running test: glib/portal-support-flatpak-network-only.test 1119s ok - glib/portal-support-flatpak-network-only.test 1119s # Running test: glib/union-info.test 1119s ok - glib/union-info.test 1119s # Running test: glib/testing.test 1119s ok - glib/testing.test 1119s # Running test: glib/atomic-c-89.test 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/utf8/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/utf8/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/utf8/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/utf8/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/utf8/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/utf8/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/utf8/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/utf8/.dirs/runtime 1119s # Testing invalid encoding ‘non-UTF-8’ 1119s # Testing invalid encoding ‘UTF’ 1119s # Testing invalid encoding ‘UTF-9’ 1119s ok 31 /keyfile/utf8 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/roundtrip/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/roundtrip/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/roundtrip/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/roundtrip/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/roundtrip/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/roundtrip/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/roundtrip/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/roundtrip/.dirs/runtime 1119s ok 32 /keyfile/roundtrip 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/bytes/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/bytes/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/bytes/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/bytes/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/bytes/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/bytes/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/bytes/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/bytes/.dirs/runtime 1119s ok 33 /keyfile/bytes 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/get-locale/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/get-locale/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/get-locale/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/get-locale/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/get-locale/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/get-locale/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/get-locale/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/get-locale/.dirs/runtime 1119s ok 34 /keyfile/get-locale 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/free-when-not-last-ref/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/free-when-not-last-ref/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/free-when-not-last-ref/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/free-when-not-last-ref/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/free-when-not-last-ref/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/free-when-not-last-ref/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/free-when-not-last-ref/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/free-when-not-last-ref/.dirs/runtime 1119s ok 35 /keyfile/free-when-not-last-ref 1119s # Start of locale-string tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_1WDJK3/keyfile/locale-string/multiple-loads/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/locale-string/multiple-loads/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_1WDJK3/keyfile/locale-string/multiple-loads/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_1WDJK3/keyfile/locale-string/multiple-loads/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_1WDJK3/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_1WDJK3/keyfile/locale-string/multiple-loads/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_1WDJK3/keyfile/locale-string/multiple-loads/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_1WDJK3/keyfile/locale-string/multiple-loads/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_1WDJK3/keyfile/locale-string/multiple-loads/.dirs/runtime 1119s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1119s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1119s ok 36 /keyfile/locale-string/multiple-loads 1119s # End of locale-string tests 1119s # End of keyfile tests 1119s TAP version 14 1119s # random seed: R02Sf6aae73ff1021fdaee83fc27eeec6116 1119s 1..1 1119s # Start of portal-support tests 1119s # Start of flatpak tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_KX5KK3/portal-support/flatpak/network/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_KX5KK3/portal-support/flatpak/network/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_KX5KK3/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_KX5KK3/portal-support/flatpak/network/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_KX5KK3/portal-support/flatpak/network/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_KX5KK3/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_KX5KK3/portal-support/flatpak/network/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_KX5KK3/portal-support/flatpak/network/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_KX5KK3/portal-support/flatpak/network/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_KX5KK3/portal-support/flatpak/network/.dirs/runtime 1119s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_KX5KK3/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1119s ok 1 /portal-support/flatpak/network 1119s # End of flatpak tests 1119s # End of portal-support tests 1119s TAP version 14 1119s # random seed: R02S1e20b0641deb2562357bbc5475f4f907 1119s 1..2 1119s # Start of union-info tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_UXNLK3/union-info/basic/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_UXNLK3/union-info/basic/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_UXNLK3/union-info/basic/.dirs/system-config1:/tmp/test_union-info_UXNLK3/union-info/basic/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_UXNLK3/union-info/basic/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_UXNLK3/union-info/basic/.dirs/system-data1:/tmp/test_union-info_UXNLK3/union-info/basic/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_UXNLK3/union-info/basic/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_UXNLK3/union-info/basic/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_UXNLK3/union-info/basic/.dirs/runtime 1119s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1119s # /union-info/basic summary: Test basic properties of GIUnionInfo 1119s ok 1 /union-info/basic 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_UXNLK3/union-info/methods/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_UXNLK3/union-info/methods/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_UXNLK3/union-info/methods/.dirs/system-config1:/tmp/test_union-info_UXNLK3/union-info/methods/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_UXNLK3/union-info/methods/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_UXNLK3/union-info/methods/.dirs/system-data1:/tmp/test_union-info_UXNLK3/union-info/methods/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_UXNLK3/union-info/methods/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_UXNLK3/union-info/methods/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_UXNLK3/union-info/methods/.dirs/runtime 1119s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1119s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1119s ok 2 /union-info/methods 1119s # End of union-info tests 1119s TAP version 14 1119s # random seed: R02Sf8ce3aecd2a5637efd29ca44c5add5d3 1119s 1..1 1119s # Start of assert tests 1119s ok 1 /assert/finalize_object 1119s # Start of finalize_object tests 1119s # Start of subprocess tests 1119s # End of subprocess tests 1119s # End of finalize_object tests 1119s # End of assert tests 1119s TAP version 14 1119s # random seed: R02Sbc65fbf59f0c88bb0e396f4ed4e2c535 1119s 1..2 1119s # Start of atomic tests 1119s ok 1 /atomic/types 1119s ok 2 /atomic/threaded 1119s # End of atomic tests 1119s ok - glib/atomic-c-89.test 1119s # Running test: glib/gdbus-close-pending.test 1119s TAP version 14 1119s # random seed: R02Sb1106a1d73f91e34e781456cd01a79f4 1119s 1..2 1119s # Start of gdbus tests 1119s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_0GUMK3/gdbus/close-pending/.dirs/home 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_0GUMK3/gdbus/close-pending/.dirs/cache 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_0GUMK3/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_0GUMK3/gdbus/close-pending/.dirs/system-config2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_0GUMK3/gdbus/close-pending/.dirs/config 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_0GUMK3/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_0GUMK3/gdbus/close-pending/.dirs/system-data2 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_0GUMK3/gdbus/close-pending/.dirs/data 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_0GUMK3/gdbus/close-pending/.dirs/state 1119s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_0GUMK3/gdbus/close-pending/.dirs/runtime 1120s ok 1 /gdbus/close-pending 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_0GUMK3/gdbus/unref-pending/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_0GUMK3/gdbus/unref-pending/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_0GUMK3/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_0GUMK3/gdbus/unref-pending/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_0GUMK3/gdbus/unref-pending/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_0GUMK3/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_0GUMK3/gdbus/unref-pending/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_0GUMK3/gdbus/unref-pending/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_0GUMK3/gdbus/unref-pending/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_0GUMK3/gdbus/unref-pending/.dirs/runtime 1120s ok 2 /gdbus/unref-pending 1120s # End of gdbus tests 1120s ok - glib/gdbus-close-pending.test 1120s # Running test: glib/unicode.test 1120s TAP version 14 1120s # random seed: R02Sba240444988a9002923021848f7b8a7b 1120s 1..41 1120s # Start of unicode tests 1120s ok 1 /unicode/alnum 1120s ok 2 /unicode/alpha 1120s ok 3 /unicode/break-type 1120s ok 4 /unicode/canonical-decomposition 1120s ok 5 /unicode/casefold 1120s # Converting 'i' => 'İ' (line 6) 1120s # Converting 'I' => 'I' (line 7) 1120s # Converting 'İ' => 'İ' (line 8) 1120s # Converting 'i' => 'İ' (line 9) 1120s # Converting 'I' => 'I' (line 10) 1120s # Converting 'İ' => 'İ' (line 11) 1120s # Converting 'ᾁ' => 'ἉΙ' (line 13) 1120s # Converting 'ᾁ' => 'ἉΙ' (line 14) 1120s # Converting 'ΜΆΙΟΣ ' => 'ΜΆΙΟΣ ' (line 16) 1120s # Converting 'ΜΆΙΟΣ' => 'ΜΆΙΟΣ' (line 17) 1120s # Converting 'ΣΙΓΜΑ' => 'ΣΙΓΜΑ' (line 18) 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Converting 'iė' => 'IE' (line 32) 1120s # Converting 'iė' => 'IE' (line 33) 1120s # Converting 'Ì' => 'Ì' (line 34) 1120s # Converting 'Í' => 'Í' (line 35) 1120s # Converting 'Ĩ' => 'Ĩ' (line 36) 1120s # Converting 'Í' => 'Í' (line 37) 1120s # Converting 'Ì' => 'Ì' (line 38) 1120s # Converting 'Ĩ' => 'Ĩ' (line 39) 1120s # Converting 'Į́' => 'Į́' (line 40) 1120s # Converting 'J́' => 'J́' (line 41) 1120s # Converting 'Į́' => 'Į́' (line 42) 1120s # Converting 'affl' => 'AFFL' (line 44) 1120s # Converting 'A' => 'A' (line 48) 1120s # Converting 'B' => 'B' (line 49) 1120s # Converting 'C' => 'C' (line 50) 1120s # Converting 'D' => 'D' (line 51) 1120s # Converting 'E' => 'E' (line 52) 1120s # Converting 'F' => 'F' (line 53) 1120s # Converting 'G' => 'G' (line 54) 1120s # Converting 'H' => 'H' (line 55) 1120s # Converting 'I' => 'I' (line 56) 1120s # Converting 'J' => 'J' (line 57) 1120s # Converting 'K' => 'K' (line 58) 1120s # Converting 'L' => 'L' (line 59) 1120s # Converting 'M' => 'M' (line 60) 1120s # Converting 'N' => 'N' (line 61) 1120s # Converting 'O' => 'O' (line 62) 1120s # Converting 'P' => 'P' (line 63) 1120s # Converting 'Q' => 'Q' (line 64) 1120s # Converting 'R' => 'R' (line 65) 1120s # Converting 'S' => 'S' (line 66) 1120s # Converting 'T' => 'T' (line 67) 1120s # Converting 'U' => 'U' (line 68) 1120s # Converting 'V' => 'V' (line 69) 1120s # Converting 'W' => 'W' (line 70) 1120s # Converting 'X' => 'X' (line 71) 1120s # Converting 'Y' => 'Y' (line 72) 1120s # Converting 'Z' => 'Z' (line 73) 1120s # Converting 'a' => 'A' (line 74) 1120s # Converting 'b' => 'B' (line 75) 1120s # Converting 'c' => 'C' (line 76) 1120s # Converting 'd' => 'D' (line 77) 1120s # Converting 'e' => 'E' (line 78) 1120s # Converting 'f' => 'F' (line 79) 1120s # Converting 'g' => 'G' (line 80) 1120s # Converting 'h' => 'H' (line 81) 1120s # Converting 'i' => 'I' (line 82) 1120s # Converting 'j' => 'J' (line 83) 1120s # Converting 'k' => 'K' (line 84) 1120s # Converting 'l' => 'L' (line 85) 1120s # Converting 'm' => 'M' (line 86) 1120s # Converting 'n' => 'N' (line 87) 1120s # Converting 'o' => 'O' (line 88) 1120s # Converting 'p' => 'P' (line 89) 1120s # Converting 'q' => 'Q' (line 90) 1120s # Converting 'r' => 'R' (line 91) 1120s # Converting 's' => 'S' (line 92) 1120s # Converting 't' => 'T' (line 93) 1120s # Converting 'u' => 'U' (line 94) 1120s # Converting 'v' => 'V' (line 95) 1120s # Converting 'w' => 'W' (line 96) 1120s # Converting 'x' => 'X' (line 97) 1120s # Converting 'y' => 'Y' (line 98) 1120s # Converting 'z' => 'Z' (line 99) 1120s # Converting 'µ' => 'Μ' (line 100) 1120s # Converting 'À' => 'À' (line 101) 1120s # Converting 'Á' => 'Á' (line 102) 1120s # Converting 'Â' => 'Â' (line 103) 1120s # Converting 'Ã' => 'Ã' (line 104) 1120s # Converting 'Ä' => 'Ä' (line 105) 1120s # Converting 'Å' => 'Å' (line 106) 1120s # Converting 'Æ' => 'Æ' (line 107) 1120s # Converting 'Ç' => 'Ç' (line 108) 1120s # Converting 'È' => 'È' (line 109) 1120s # Converting 'É' => 'É' (line 110) 1120s # Converting 'Ê' => 'Ê' (line 111) 1120s # Converting 'Ë' => 'Ë' (line 112) 1120s # Converting 'Ì' => 'Ì' (line 113) 1120s # Converting 'Í' => 'Í' (line 114) 1120s # Converting 'Î' => 'Î' (line 115) 1120s # Converting 'Ï' => 'Ï' (line 116) 1120s # Converting 'Ð' => 'Ð' (line 117) 1120s # Converting 'Ñ' => 'Ñ' (line 118) 1120s # Converting 'Ò' => 'Ò' (line 119) 1120s # Converting 'Ó' => 'Ó' (line 120) 1120s # Converting 'Ô' => 'Ô' (line 121) 1120s # Converting 'Õ' => 'Õ' (line 122) 1120s # Converting 'Ö' => 'Ö' (line 123) 1120s # Converting 'Ø' => 'Ø' (line 124) 1120s # Converting 'Ù' => 'Ù' (line 125) 1120s # Converting 'Ú' => 'Ú' (line 126) 1120s # Converting 'Û' => 'Û' (line 127) 1120s # Converting 'Ü' => 'Ü' (line 128) 1120s # Converting 'Ý' => 'Ý' (line 129) 1120s # Converting 'Þ' => 'Þ' (line 130) 1120s # Converting 'ß' => 'SS' (line 131) 1120s # Converting 'à' => 'À' (line 132) 1120s # Converting 'á' => 'Á' (line 133) 1120s # Converting 'â' => 'Â' (line 134) 1120s # Converting 'ã' => 'Ã' (line 135) 1120s # Converting 'ä' => 'Ä' (line 136) 1120s # Converting 'å' => 'Å' (line 137) 1120s # Converting 'æ' => 'Æ' (line 138) 1120s # Converting 'ç' => 'Ç' (line 139) 1120s # Converting 'è' => 'È' (line 140) 1120s # Converting 'é' => 'É' (line 141) 1120s # Converting 'ê' => 'Ê' (line 142) 1120s # Converting 'ë' => 'Ë' (line 143) 1120s # Converting 'ì' => 'Ì' (line 144) 1120s # Converting 'í' => 'Í' (line 145) 1120s # Converting 'î' => 'Î' (line 146) 1120s # Converting 'ï' => 'Ï' (line 147) 1120s # Converting 'ð' => 'Ð' (line 148) 1120s # Converting 'ñ' => 'Ñ' (line 149) 1120s # Converting 'ò' => 'Ò' (line 150) 1120s # Converting 'ó' => 'Ó' (line 151) 1120s # Converting 'ô' => 'Ô' (line 152) 1120s # Converting 'õ' => 'Õ' (line 153) 1120s # Converting 'ö' => 'Ö' (line 154) 1120s # Converting 'ø' => 'Ø' (line 155) 1120s # Converting 'ù' => 'Ù' (line 156) 1120s # Converting 'ú' => 'Ú' (line 157) 1120s # Converting 'û' => 'Û' (line 158) 1120s # Converting 'ü' => 'Ü' (line 159) 1120s # Converting 'ý' => 'Ý' (line 160) 1120s # Converting 'þ' => 'Þ' (line 161) 1120s # Converting 'ÿ' => 'Ÿ' (line 162) 1120s # Converting 'Ā' => 'Ā' (line 163) 1120s # Converting 'ā' => 'Ā' (line 164) 1120s # Converting 'Ă' => 'Ă' (line 165) 1120s # Converting 'ă' => 'Ă' (line 166) 1120s # Converting 'Ą' => 'Ą' (line 167) 1120s # Converting 'ą' => 'Ą' (line 168) 1120s # Converting 'Ć' => 'Ć' (line 169) 1120s # Converting 'ć' => 'Ć' (line 170) 1120s # Converting 'Ĉ' => 'Ĉ' (line 171) 1120s # Converting 'ĉ' => 'Ĉ' (line 172) 1120s # Converting 'Ċ' => 'Ċ' (line 173) 1120s # Converting 'ċ' => 'Ċ' (line 174) 1120s # Converting 'Č' => 'Č' (line 175) 1120s # Converting 'č' => 'Č' (line 176) 1120s # Converting 'Ď' => 'Ď' (line 177) 1120s # Converting 'ď' => 'Ď' (line 178) 1120s # Converting 'Đ' => 'Đ' (line 179) 1120s # Converting 'đ' => 'Đ' (line 180) 1120s # Converting 'Ē' => 'Ē' (line 181) 1120s # Converting 'ē' => 'Ē' (line 182) 1120s # Converting 'Ĕ' => 'Ĕ' (line 183) 1120s # Converting 'ĕ' => 'Ĕ' (line 184) 1120s # Converting 'Ė' => 'Ė' (line 185) 1120s # Converting 'ė' => 'Ė' (line 186) 1120s # Converting 'Ę' => 'Ę' (line 187) 1120s # Converting 'ę' => 'Ę' (line 188) 1120s # Converting 'Ě' => 'Ě' (line 189) 1120s # Converting 'ě' => 'Ě' (line 190) 1120s # Converting 'Ĝ' => 'Ĝ' (line 191) 1120s # Converting 'ĝ' => 'Ĝ' (line 192) 1120s # Converting 'Ğ' => 'Ğ' (line 193) 1120s # Converting 'ğ' => 'Ğ' (line 194) 1120s # Converting 'Ġ' => 'Ġ' (line 195) 1120s # Converting 'ġ' => 'Ġ' (line 196) 1120s # Converting 'Ģ' => 'Ģ' (line 197) 1120s # Converting 'ģ' => 'Ģ' (line 198) 1120s # Converting 'Ĥ' => 'Ĥ' (line 199) 1120s # Converting 'ĥ' => 'Ĥ' (line 200) 1120s # Converting 'Ħ' => 'Ħ' (line 201) 1120s # Converting 'ħ' => 'Ħ' (line 202) 1120s # Converting 'Ĩ' => 'Ĩ' (line 203) 1120s # Converting 'ĩ' => 'Ĩ' (line 204) 1120s # Converting 'Ī' => 'Ī' (line 205) 1120s # Converting 'ī' => 'Ī' (line 206) 1120s # Converting 'Ĭ' => 'Ĭ' (line 207) 1120s # Converting 'ĭ' => 'Ĭ' (line 208) 1120s # Converting 'Į' => 'Į' (line 209) 1120s # Converting 'į' => 'Į' (line 210) 1120s # Converting 'İ' => 'İ' (line 211) 1120s # Converting 'ı' => 'I' (line 212) 1120s # Converting 'IJ' => 'IJ' (line 213) 1120s # Converting 'ij' => 'IJ' (line 214) 1120s # Converting 'Ĵ' => 'Ĵ' (line 215) 1120s # Converting 'ĵ' => 'Ĵ' (line 216) 1120s # Converting 'Ķ' => 'Ķ' (line 217) 1120s # Converting 'ķ' => 'Ķ' (line 218) 1120s # Converting 'ĸ' => 'ĸ' (line 219) 1120s # Converting 'Ĺ' => 'Ĺ' (line 220) 1120s # Converting 'ĺ' => 'Ĺ' (line 221) 1120s # Converting 'Ļ' => 'Ļ' (line 222) 1120s # Converting 'ļ' => 'Ļ' (line 223) 1120s # Converting 'Ľ' => 'Ľ' (line 224) 1120s # Converting 'ľ' => 'Ľ' (line 225) 1120s # Converting 'Ŀ' => 'Ŀ' (line 226) 1120s # Converting 'ŀ' => 'Ŀ' (line 227) 1120s # Converting 'Ł' => 'Ł' (line 228) 1120s # Converting 'ł' => 'Ł' (line 229) 1120s # Converting 'Ń' => 'Ń' (line 230) 1120s # Converting 'ń' => 'Ń' (line 231) 1120s # Converting 'Ņ' => 'Ņ' (line 232) 1120s # Converting 'ņ' => 'Ņ' (line 233) 1120s # Converting 'Ň' => 'Ň' (line 234) 1120s # Converting 'ň' => 'Ň' (line 235) 1120s # Converting 'ʼn' => 'ʼN' (line 236) 1120s # Converting 'Ŋ' => 'Ŋ' (line 237) 1120s # Converting 'ŋ' => 'Ŋ' (line 238) 1120s # Converting 'Ō' => 'Ō' (line 239) 1120s # Converting 'ō' => 'Ō' (line 240) 1120s # Converting 'Ŏ' => 'Ŏ' (line 241) 1120s # Converting 'ŏ' => 'Ŏ' (line 242) 1120s # Converting 'Ő' => 'Ő' (line 243) 1120s # Converting 'ő' => 'Ő' (line 244) 1120s # Converting 'Œ' => 'Œ' (line 245) 1120s # Converting 'œ' => 'Œ' (line 246) 1120s # Converting 'Ŕ' => 'Ŕ' (line 247) 1120s # Converting 'ŕ' => 'Ŕ' (line 248) 1120s # Converting 'Ŗ' => 'Ŗ' (line 249) 1120s # Converting 'ŗ' => 'Ŗ' (line 250) 1120s # Converting 'Ř' => 'Ř' (line 251) 1120s # Converting 'ř' => 'Ř' (line 252) 1120s # Converting 'Ś' => 'Ś' (line 253) 1120s # Converting 'ś' => 'Ś' (line 254) 1120s # Converting 'Ŝ' => 'Ŝ' (line 255) 1120s # Converting 'ŝ' => 'Ŝ' (line 256) 1120s # Converting 'Ş' => 'Ş' (line 257) 1120s # Converting 'ş' => 'Ş' (line 258) 1120s # Converting 'Š' => 'Š' (line 259) 1120s # Converting 'š' => 'Š' (line 260) 1120s # Converting 'Ţ' => 'Ţ' (line 261) 1120s # Converting 'ţ' => 'Ţ' (line 262) 1120s # Converting 'Ť' => 'Ť' (line 263) 1120s # Converting 'ť' => 'Ť' (line 264) 1120s # Converting 'Ŧ' => 'Ŧ' (line 265) 1120s # Converting 'ŧ' => 'Ŧ' (line 266) 1120s # Converting 'Ũ' => 'Ũ' (line 267) 1120s # Converting 'ũ' => 'Ũ' (line 268) 1120s # Converting 'Ū' => 'Ū' (line 269) 1120s # Converting 'ū' => 'Ū' (line 270) 1120s # Converting 'Ŭ' => 'Ŭ' (line 271) 1120s # Converting 'ŭ' => 'Ŭ' (line 272) 1120s # Converting 'Ů' => 'Ů' (line 273) 1120s # Converting 'ů' => 'Ů' (line 274) 1120s # Converting 'Ű' => 'Ű' (line 275) 1120s # Converting 'ű' => 'Ű' (line 276) 1120s # Converting 'Ų' => 'Ų' (line 277) 1120s # Converting 'ų' => 'Ų' (line 278) 1120s # Converting 'Ŵ' => 'Ŵ' (line 279) 1120s # Converting 'ŵ' => 'Ŵ' (line 280) 1120s # Converting 'Ŷ' => 'Ŷ' (line 281) 1120s # Converting 'ŷ' => 'Ŷ' (line 282) 1120s # Converting 'Ÿ' => 'Ÿ' (line 283) 1120s # Converting 'Ź' => 'Ź' (line 284) 1120s # Converting 'ź' => 'Ź' (line 285) 1120s # Converting 'Ż' => 'Ż' (line 286) 1120s # Converting 'ż' => 'Ż' (line 287) 1120s # Converting 'Ž' => 'Ž' (line 288) 1120s # Converting 'ž' => 'Ž' (line 289) 1120s # Converting 'ſ' => 'S' (line 290) 1120s # Converting 'ƀ' => 'Ƀ' (line 291) 1120s # Converting 'Ɓ' => 'Ɓ' (line 292) 1120s # Converting 'Ƃ' => 'Ƃ' (line 293) 1120s # Converting 'ƃ' => 'Ƃ' (line 294) 1120s # Converting 'Ƅ' => 'Ƅ' (line 295) 1120s # Converting 'ƅ' => 'Ƅ' (line 296) 1120s # Converting 'Ɔ' => 'Ɔ' (line 297) 1120s # Converting 'Ƈ' => 'Ƈ' (line 298) 1120s # Converting 'ƈ' => 'Ƈ' (line 299) 1120s # Converting 'Ɖ' => 'Ɖ' (line 300) 1120s # Converting 'Ɗ' => 'Ɗ' (line 301) 1120s # Converting 'Ƌ' => 'Ƌ' (line 302) 1120s # Converting 'ƌ' => 'Ƌ' (line 303) 1120s # Converting 'ƍ' => 'ƍ' (line 304) 1120s # Converting 'Ǝ' => 'Ǝ' (line 305) 1120s # Converting 'Ə' => 'Ə' (line 306) 1120s # Converting 'Ɛ' => 'Ɛ' (line 307) 1120s # Converting 'Ƒ' => 'Ƒ' (line 308) 1120s # Converting 'ƒ' => 'Ƒ' (line 309) 1120s # Converting 'Ɠ' => 'Ɠ' (line 310) 1120s # Converting 'Ɣ' => 'Ɣ' (line 311) 1120s # Converting 'ƕ' => 'Ƕ' (line 312) 1120s # Converting 'Ɩ' => 'Ɩ' (line 313) 1120s # Converting 'Ɨ' => 'Ɨ' (line 314) 1120s # Converting 'Ƙ' => 'Ƙ' (line 315) 1120s # Converting 'ƙ' => 'Ƙ' (line 316) 1120s # Converting 'ƚ' => 'Ƚ' (line 317) 1120s # Converting 'ƛ' => 'Ƛ' (line 318) 1120s # Converting 'Ɯ' => 'Ɯ' (line 319) 1120s # Converting 'Ɲ' => 'Ɲ' (line 320) 1120s # Converting 'ƞ' => 'Ƞ' (line 321) 1120s # Converting 'Ɵ' => 'Ɵ' (line 322) 1120s # Converting 'Ơ' => 'Ơ' (line 323) 1120s # Converting 'ơ' => 'Ơ' (line 324) 1120s # Converting 'Ƣ' => 'Ƣ' (line 325) 1120s # Converting 'ƣ' => 'Ƣ' (line 326) 1120s # Converting 'Ƥ' => 'Ƥ' (line 327) 1120s # Converting 'ƥ' => 'Ƥ' (line 328) 1120s # Converting 'Ʀ' => 'Ʀ' (line 329) 1120s # Converting 'Ƨ' => 'Ƨ' (line 330) 1120s # Converting 'ƨ' => 'Ƨ' (line 331) 1120s # Converting 'Ʃ' => 'Ʃ' (line 332) 1120s # Converting 'ƪ' => 'ƪ' (line 333) 1120s # Converting 'ƫ' => 'ƫ' (line 334) 1120s # Converting 'Ƭ' => 'Ƭ' (line 335) 1120s # Converting 'ƭ' => 'Ƭ' (line 336) 1120s # Converting 'Ʈ' => 'Ʈ' (line 337) 1120s # Converting 'Ư' => 'Ư' (line 338) 1120s # Converting 'ư' => 'Ư' (line 339) 1120s # Converting 'Ʊ' => 'Ʊ' (line 340) 1120s # Converting 'Ʋ' => 'Ʋ' (line 341) 1120s # Converting 'Ƴ' => 'Ƴ' (line 342) 1120s # Converting 'ƴ' => 'Ƴ' (line 343) 1120s # Converting 'Ƶ' => 'Ƶ' (line 344) 1120s # Converting 'ƶ' => 'Ƶ' (line 345) 1120s # Converting 'Ʒ' => 'Ʒ' (line 346) 1120s # Converting 'Ƹ' => 'Ƹ' (line 347) 1120s # Converting 'ƹ' => 'Ƹ' (line 348) 1120s # Converting 'ƺ' => 'ƺ' (line 349) 1120s # Converting 'Ƽ' => 'Ƽ' (line 350) 1120s # Converting 'ƽ' => 'Ƽ' (line 351) 1120s # Converting 'ƾ' => 'ƾ' (line 352) 1120s # Converting 'ƿ' => 'Ƿ' (line 353) 1120s # Converting 'DŽ' => 'DŽ' (line 354) 1120s # Converting 'Dž' => 'DŽ' (line 355) 1120s # Converting 'dž' => 'DŽ' (line 356) 1120s # Converting 'LJ' => 'LJ' (line 357) 1120s # Converting 'Lj' => 'LJ' (line 358) 1120s # Converting 'lj' => 'LJ' (line 359) 1120s # Converting 'NJ' => 'NJ' (line 360) 1120s # Converting 'Nj' => 'NJ' (line 361) 1120s # Converting 'nj' => 'NJ' (line 362) 1120s # Converting 'Ǎ' => 'Ǎ' (line 363) 1120s # Converting 'ǎ' => 'Ǎ' (line 364) 1120s # Converting 'Ǐ' => 'Ǐ' (line 365) 1120s # Converting 'ǐ' => 'Ǐ' (line 366) 1120s # Converting 'Ǒ' => 'Ǒ' (line 367) 1120s # Converting 'ǒ' => 'Ǒ' (line 368) 1120s # Converting 'Ǔ' => 'Ǔ' (line 369) 1120s # Converting 'ǔ' => 'Ǔ' (line 370) 1120s # Converting 'Ǖ' => 'Ǖ' (line 371) 1120s # Converting 'ǖ' => 'Ǖ' (line 372) 1120s # Converting 'Ǘ' => 'Ǘ' (line 373) 1120s # Converting 'ǘ' => 'Ǘ' (line 374) 1120s # Converting 'Ǚ' => 'Ǚ' (line 375) 1120s # Converting 'ǚ' => 'Ǚ' (line 376) 1120s # Converting 'Ǜ' => 'Ǜ' (line 377) 1120s # Converting 'ǜ' => 'Ǜ' (line 378) 1120s # Converting 'ǝ' => 'Ǝ' (line 379) 1120s # Converting 'Ǟ' => 'Ǟ' (line 380) 1120s # Converting 'ǟ' => 'Ǟ' (line 381) 1120s # Converting 'Ǡ' => 'Ǡ' (line 382) 1120s # Converting 'ǡ' => 'Ǡ' (line 383) 1120s # Converting 'Ǣ' => 'Ǣ' (line 384) 1120s # Converting 'ǣ' => 'Ǣ' (line 385) 1120s # Converting 'Ǥ' => 'Ǥ' (line 386) 1120s # Converting 'ǥ' => 'Ǥ' (line 387) 1120s # Converting 'Ǧ' => 'Ǧ' (line 388) 1120s # Converting 'ǧ' => 'Ǧ' (line 389) 1120s # Converting 'Ǩ' => 'Ǩ' (line 390) 1120s # Converting 'ǩ' => 'Ǩ' (line 391) 1120s # Converting 'Ǫ' => 'Ǫ' (line 392) 1120s # Converting 'ǫ' => 'Ǫ' (line 393) 1120s # Converting 'Ǭ' => 'Ǭ' (line 394) 1120s # Converting 'ǭ' => 'Ǭ' (line 395) 1120s # Converting 'Ǯ' => 'Ǯ' (line 396) 1120s # Converting 'ǯ' => 'Ǯ' (line 397) 1120s # Converting 'ǰ' => 'J̌' (line 398) 1120s # Converting 'DZ' => 'DZ' (line 399) 1120s # Converting 'Dz' => 'DZ' (line 400) 1120s # Converting 'dz' => 'DZ' (line 401) 1120s # Converting 'Ǵ' => 'Ǵ' (line 402) 1120s # Converting 'ǵ' => 'Ǵ' (line 403) 1120s # Converting 'Ƕ' => 'Ƕ' (line 404) 1120s # Converting 'Ƿ' => 'Ƿ' (line 405) 1120s # Converting 'Ǹ' => 'Ǹ' (line 406) 1120s # Converting 'ǹ' => 'Ǹ' (line 407) 1120s # Converting 'Ǻ' => 'Ǻ' (line 408) 1120s # Converting 'ǻ' => 'Ǻ' (line 409) 1120s # Converting 'Ǽ' => 'Ǽ' (line 410) 1120s # Converting 'ǽ' => 'Ǽ' (line 411) 1120s # Converting 'Ǿ' => 'Ǿ' (line 412) 1120s # Converting 'ǿ' => 'Ǿ' (line 413) 1120s # Converting 'Ȁ' => 'Ȁ' (line 414) 1120s # Converting 'ȁ' => 'Ȁ' (line 415) 1120s # Converting 'Ȃ' => 'Ȃ' (line 416) 1120s # Converting 'ȃ' => 'Ȃ' (line 417) 1120s # Converting 'Ȅ' => 'Ȅ' (line 418) 1120s # Converting 'ȅ' => 'Ȅ' (line 419) 1120s # Converting 'Ȇ' => 'Ȇ' (line 420) 1120s # Converting 'ȇ' => 'Ȇ' (line 421) 1120s # Converting 'Ȉ' => 'Ȉ' (line 422) 1120s # Converting 'ȉ' => 'Ȉ' (line 423) 1120s # Converting 'Ȋ' => 'Ȋ' (line 424) 1120s # Converting 'ȋ' => 'Ȋ' (line 425) 1120s # Converting 'Ȍ' => 'Ȍ' (line 426) 1120s # Converting 'ȍ' => 'Ȍ' (line 427) 1120s # Converting 'Ȏ' => 'Ȏ' (line 428) 1120s # Converting 'ȏ' => 'Ȏ' (line 429) 1120s # Converting 'Ȑ' => 'Ȑ' (line 430) 1120s # Converting 'ȑ' => 'Ȑ' (line 431) 1120s # Converting 'Ȓ' => 'Ȓ' (line 432) 1120s # Converting 'ȓ' => 'Ȓ' (line 433) 1120s # Converting 'Ȕ' => 'Ȕ' (line 434) 1120s # Converting 'ȕ' => 'Ȕ' (line 435) 1120s # Converting 'Ȗ' => 'Ȗ' (line 436) 1120s # Converting 'ȗ' => 'Ȗ' (line 437) 1120s # Converting 'Ș' => 'Ș' (line 438) 1120s # Converting 'ș' => 'Ș' (line 439) 1120s # Converting 'Ț' => 'Ț' (line 440) 1120s # Converting 'ț' => 'Ț' (line 441) 1120s # Converting 'Ȝ' => 'Ȝ' (line 442) 1120s # Converting 'ȝ' => 'Ȝ' (line 443) 1120s # Converting 'Ȟ' => 'Ȟ' (line 444) 1120s # Converting 'ȟ' => 'Ȟ' (line 445) 1120s # Converting 'Ƞ' => 'Ƞ' (line 446) 1120s # Converting 'ȡ' => 'ȡ' (line 447) 1120s # Converting 'Ȣ' => 'Ȣ' (line 448) 1120s # Converting 'ȣ' => 'Ȣ' (line 449) 1120s # Converting 'Ȥ' => 'Ȥ' (line 450) 1120s # Converting 'ȥ' => 'Ȥ' (line 451) 1120s # Converting 'Ȧ' => 'Ȧ' (line 452) 1120s # Converting 'ȧ' => 'Ȧ' (line 453) 1120s # Converting 'Ȩ' => 'Ȩ' (line 454) 1120s # Converting 'ȩ' => 'Ȩ' (line 455) 1120s # Converting 'Ȫ' => 'Ȫ' (line 456) 1120s # Converting 'ȫ' => 'Ȫ' (line 457) 1120s # Converting 'Ȭ' => 'Ȭ' (line 458) 1120s # Converting 'ȭ' => 'Ȭ' (line 459) 1120s # Converting 'Ȯ' => 'Ȯ' (line 460) 1120s # Converting 'ȯ' => 'Ȯ' (line 461) 1120s # Converting 'Ȱ' => 'Ȱ' (line 462) 1120s # Converting 'ȱ' => 'Ȱ' (line 463) 1120s # Converting 'Ȳ' => 'Ȳ' (line 464) 1120s # Converting 'ȳ' => 'Ȳ' (line 465) 1120s # Converting 'ȴ' => 'ȴ' (line 466) 1120s # Converting 'ȵ' => 'ȵ' (line 467) 1120s # Converting 'ȶ' => 'ȶ' (line 468) 1120s # Converting 'ȷ' => 'ȷ' (line 469) 1120s # Converting 'ȸ' => 'ȸ' (line 470) 1120s # Converting 'ȹ' => 'ȹ' (line 471) 1120s # Converting 'Ⱥ' => 'Ⱥ' (line 472) 1120s # Converting 'Ȼ' => 'Ȼ' (line 473) 1120s # Converting 'ȼ' => 'Ȼ' (line 474) 1120s # Converting 'Ƚ' => 'Ƚ' (line 475) 1120s # Converting 'Ⱦ' => 'Ⱦ' (line 476) 1120s # Converting 'ȿ' => 'Ȿ' (line 477) 1120s # Converting 'ɀ' => 'Ɀ' (line 478) 1120s # Converting 'Ɂ' => 'Ɂ' (line 479) 1120s # Converting 'ɂ' => 'Ɂ' (line 480) 1120s # Converting 'Ƀ' => 'Ƀ' (line 481) 1120s # Converting 'Ʉ' => 'Ʉ' (line 482) 1120s # Converting 'Ʌ' => 'Ʌ' (line 483) 1120s # Converting 'Ɇ' => 'Ɇ' (line 484) 1120s # Converting 'ɇ' => 'Ɇ' (line 485) 1120s # Converting 'Ɉ' => 'Ɉ' (line 486) 1120s # Converting 'ɉ' => 'Ɉ' (line 487) 1120s # Converting 'Ɋ' => 'Ɋ' (line 488) 1120s # Converting 'ɋ' => 'Ɋ' (line 489) 1120s # Converting 'Ɍ' => 'Ɍ' (line 490) 1120s # Converting 'ɍ' => 'Ɍ' (line 491) 1120s # Converting 'Ɏ' => 'Ɏ' (line 492) 1120s # Converting 'ɏ' => 'Ɏ' (line 493) 1120s # Converting 'ɐ' => 'Ɐ' (line 494) 1120s # Converting 'ɑ' => 'Ɑ' (line 495) 1120s # Converting 'ɒ' => 'Ɒ' (line 496) 1120s # Converting 'ɓ' => 'Ɓ' (line 497) 1120s # Converting 'ɔ' => 'Ɔ' (line 498) 1120s # Converting 'ɕ' => 'ɕ' (line 499) 1120s # Converting 'ɖ' => 'Ɖ' (line 500) 1120s # Converting 'ɗ' => 'Ɗ' (line 501) 1120s # Converting 'ɘ' => 'ɘ' (line 502) 1120s # Converting 'ə' => 'Ə' (line 503) 1120s # Converting 'ɚ' => 'ɚ' (line 504) 1120s # Converting 'ɛ' => 'Ɛ' (line 505) 1120s # Converting 'ɜ' => 'Ɜ' (line 506) 1120s # Converting 'ɝ' => 'ɝ' (line 507) 1120s # Converting 'ɞ' => 'ɞ' (line 508) 1120s # Converting 'ɟ' => 'ɟ' (line 509) 1120s # Converting 'ɠ' => 'Ɠ' (line 510) 1120s # Converting 'ɡ' => 'Ɡ' (line 511) 1120s # Converting 'ɢ' => 'ɢ' (line 512) 1120s # Converting 'ɣ' => 'Ɣ' (line 513) 1120s # Converting 'ɤ' => 'Ɤ' (line 514) 1120s # Converting 'ɥ' => 'Ɥ' (line 515) 1120s # Converting 'ɦ' => 'Ɦ' (line 516) 1120s # Converting 'ɧ' => 'ɧ' (line 517) 1120s # Converting 'ɨ' => 'Ɨ' (line 518) 1120s # Converting 'ɩ' => 'Ɩ' (line 519) 1120s # Converting 'ɪ' => 'Ɪ' (line 520) 1120s # Converting 'ɫ' => 'Ɫ' (line 521) 1120s # Converting 'ɬ' => 'Ɬ' (line 522) 1120s # Converting 'ɭ' => 'ɭ' (line 523) 1120s # Converting 'ɮ' => 'ɮ' (line 524) 1120s # Converting 'ɯ' => 'Ɯ' (line 525) 1120s # Converting 'ɰ' => 'ɰ' (line 526) 1120s # Converting 'ɱ' => 'Ɱ' (line 527) 1120s # Converting 'ɲ' => 'Ɲ' (line 528) 1120s # Converting 'ɳ' => 'ɳ' (line 529) 1120s # Converting 'ɴ' => 'ɴ' (line 530) 1120s # Converting 'ɵ' => 'Ɵ' (line 531) 1120s # Converting 'ɶ' => 'ɶ' (line 532) 1120s # Converting 'ɷ' => 'ɷ' (line 533) 1120s # Converting 'ɸ' => 'ɸ' (line 534) 1120s # Converting 'ɹ' => 'ɹ' (line 535) 1120s # Converting 'ɺ' => 'ɺ' (line 536) 1120s # Converting 'ɻ' => 'ɻ' (line 537) 1120s # Converting 'ɼ' => 'ɼ' (line 538) 1120s # Converting 'ɽ' => 'Ɽ' (line 539) 1120s # Converting 'ɾ' => 'ɾ' (line 540) 1120s # Converting 'ɿ' => 'ɿ' (line 541) 1120s # Converting 'ʀ' => 'Ʀ' (line 542) 1120s # Converting 'ʁ' => 'ʁ' (line 543) 1120s # Converting 'ʂ' => 'Ʂ' (line 544) 1120s # Converting 'ʃ' => 'Ʃ' (line 545) 1120s # Converting 'ʄ' => 'ʄ' (line 546) 1120s # Converting 'ʅ' => 'ʅ' (line 547) 1120s # Converting 'ʆ' => 'ʆ' (line 548) 1120s # Converting 'ʇ' => 'Ʇ' (line 549) 1120s # Converting 'ʈ' => 'Ʈ' (line 550) 1120s # Converting 'ʉ' => 'Ʉ' (line 551) 1120s # Converting 'ʊ' => 'Ʊ' (line 552) 1120s # Converting 'ʋ' => 'Ʋ' (line 553) 1120s # Converting 'ʌ' => 'Ʌ' (line 554) 1120s # Converting 'ʍ' => 'ʍ' (line 555) 1120s # Converting 'ʎ' => 'ʎ' (line 556) 1120s # Converting 'ʏ' => 'ʏ' (line 557) 1120s # Converting 'ʐ' => 'ʐ' (line 558) 1120s # Converting 'ʑ' => 'ʑ' (line 559) 1120s # Converting 'ʒ' => 'Ʒ' (line 560) 1120s # Converting 'ʓ' => 'ʓ' (line 561) 1120s # Converting 'ʖ' => 'ʖ' (line 562) 1120s # Converting 'ʗ' => 'ʗ' (line 563) 1120s # Converting 'ʘ' => 'ʘ' (line 564) 1120s # Converting 'ʙ' => 'ʙ' (line 565) 1120s # Converting 'ʚ' => 'ʚ' (line 566) 1120s # Converting 'ʛ' => 'ʛ' (line 567) 1120s # Converting 'ʜ' => 'ʜ' (line 568) 1120s # Converting 'ʝ' => 'Ʝ' (line 569) 1120s # Converting 'ʞ' => 'Ʞ' (line 570) 1120s # Converting 'ʟ' => 'ʟ' (line 571) 1120s # Converting 'ʠ' => 'ʠ' (line 572) 1120s # Converting 'ʡ' => 'ʡ' (line 573) 1120s # Converting 'ʢ' => 'ʢ' (line 574) 1120s # Converting 'ʣ' => 'ʣ' (line 575) 1120s # Converting 'ʤ' => 'ʤ' (line 576) 1120s # Converting 'ʥ' => 'ʥ' (line 577) 1120s # Converting 'ʦ' => 'ʦ' (line 578) 1120s # Converting 'ʧ' => 'ʧ' (line 579) 1120s # Converting 'ʨ' => 'ʨ' (line 580) 1120s # Converting 'ʩ' => 'ʩ' (line 581) 1120s # Converting 'ʪ' => 'ʪ' (line 582) 1120s # Converting 'ʫ' => 'ʫ' (line 583) 1120s # Converting 'ʬ' => 'ʬ' (line 584) 1120s # Converting 'ʭ' => 'ʭ' (line 585) 1120s # Converting 'ʮ' => 'ʮ' (line 586) 1120s # Converting 'ʯ' => 'ʯ' (line 587) 1120s # Converting 'Ͱ' => 'Ͱ' (line 588) 1120s # Converting 'ͱ' => 'Ͱ' (line 589) 1120s # Converting 'Ͳ' => 'Ͳ' (line 590) 1120s # Converting 'ͳ' => 'Ͳ' (line 591) 1120s # Converting 'Ͷ' => 'Ͷ' (line 592) 1120s # Converting 'ͷ' => 'Ͷ' (line 593) 1120s # Converting 'ͻ' => 'Ͻ' (line 594) 1120s # Converting 'ͼ' => 'Ͼ' (line 595) 1120s # Converting 'ͽ' => 'Ͽ' (line 596) 1120s # Converting 'Ϳ' => 'Ϳ' (line 597) 1120s # Converting 'Ά' => 'Ά' (line 598) 1120s # Converting 'Έ' => 'Έ' (line 599) 1120s # Converting 'Ή' => 'Ή' (line 600) 1120s # Converting 'Ί' => 'Ί' (line 601) 1120s # Converting 'Ό' => 'Ό' (line 602) 1120s # Converting 'Ύ' => 'Ύ' (line 603) 1120s # Converting 'Ώ' => 'Ώ' (line 604) 1120s # Converting 'ΐ' => 'Ϊ́' (line 605) 1120s # Converting 'Α' => 'Α' (line 606) 1120s # Converting 'Β' => 'Β' (line 607) 1120s # Converting 'Γ' => 'Γ' (line 608) 1120s # Converting 'Δ' => 'Δ' (line 609) 1120s # Converting 'Ε' => 'Ε' (line 610) 1120s # Converting 'Ζ' => 'Ζ' (line 611) 1120s # Converting 'Η' => 'Η' (line 612) 1120s # Converting 'Θ' => 'Θ' (line 613) 1120s # Converting 'Ι' => 'Ι' (line 614) 1120s # Converting 'Κ' => 'Κ' (line 615) 1120s # Converting 'Λ' => 'Λ' (line 616) 1120s # Converting 'Μ' => 'Μ' (line 617) 1120s # Converting 'Ν' => 'Ν' (line 618) 1120s # Converting 'Ξ' => 'Ξ' (line 619) 1120s # Converting 'Ο' => 'Ο' (line 620) 1120s # Converting 'Π' => 'Π' (line 621) 1120s # Converting 'Ρ' => 'Ρ' (line 622) 1120s # Converting 'Τ' => 'Τ' (line 623) 1120s # Converting 'Υ' => 'Υ' (line 624) 1120s # Converting 'Φ' => 'Φ' (line 625) 1120s # Converting 'Χ' => 'Χ' (line 626) 1120s # Converting 'Ψ' => 'Ψ' (line 627) 1120s # Converting 'Ω' => 'Ω' (line 628) 1120s # Converting 'Ϊ' => 'Ϊ' (line 629) 1120s # Converting 'Ϋ' => 'Ϋ' (line 630) 1120s # Converting 'ά' => 'Ά' (line 631) 1120s # Converting 'έ' => 'Έ' (line 632) 1120s # Converting 'ή' => 'Ή' (line 633) 1120s # Converting 'ί' => 'Ί' (line 634) 1120s # Converting 'ΰ' => 'Ϋ́' (line 635) 1120s # Converting 'α' => 'Α' (line 636) 1120s # Converting 'β' => 'Β' (line 637) 1120s # Converting 'γ' => 'Γ' (line 638) 1120s # Converting 'δ' => 'Δ' (line 639) 1120s # Converting 'ε' => 'Ε' (line 640) 1120s # Converting 'ζ' => 'Ζ' (line 641) 1120s # Converting 'η' => 'Η' (line 642) 1120s # Converting 'θ' => 'Θ' (line 643) 1120s # Converting 'ι' => 'Ι' (line 644) 1120s # Converting 'κ' => 'Κ' (line 645) 1120s # Converting 'λ' => 'Λ' (line 646) 1120s # Converting 'μ' => 'Μ' (line 647) 1120s # Converting 'ν' => 'Ν' (line 648) 1120s # Converting 'ξ' => 'Ξ' (line 649) 1120s # Converting 'ο' => 'Ο' (line 650) 1120s # Converting 'π' => 'Π' (line 651) 1120s # Converting 'ρ' => 'Ρ' (line 652) 1120s # Converting 'ς' => 'Σ' (line 653) 1120s # Converting 'σ' => 'Σ' (line 654) 1120s # Converting 'τ' => 'Τ' (line 655) 1120s # Converting 'υ' => 'Υ' (line 656) 1120s # Converting 'φ' => 'Φ' (line 657) 1120s # Converting 'χ' => 'Χ' (line 658) 1120s # Converting 'ψ' => 'Ψ' (line 659) 1120s # Converting 'ω' => 'Ω' (line 660) 1120s # Converting 'ϊ' => 'Ϊ' (line 661) 1120s # Converting 'ϋ' => 'Ϋ' (line 662) 1120s # Converting 'ό' => 'Ό' (line 663) 1120s # Converting 'ύ' => 'Ύ' (line 664) 1120s # Converting 'ώ' => 'Ώ' (line 665) 1120s # Converting 'Ϗ' => 'Ϗ' (line 666) 1120s # Converting 'ϐ' => 'Β' (line 667) 1120s # Converting 'ϑ' => 'Θ' (line 668) 1120s # Converting 'ϒ' => 'ϒ' (line 669) 1120s # Converting 'ϓ' => 'ϓ' (line 670) 1120s # Converting 'ϔ' => 'ϔ' (line 671) 1120s # Converting 'ϕ' => 'Φ' (line 672) 1120s # Converting 'ϖ' => 'Π' (line 673) 1120s # Converting 'ϗ' => 'Ϗ' (line 674) 1120s # Converting 'Ϙ' => 'Ϙ' (line 675) 1120s # Converting 'ϙ' => 'Ϙ' (line 676) 1120s # Converting 'Ϛ' => 'Ϛ' (line 677) 1120s # Converting 'ϛ' => 'Ϛ' (line 678) 1120s # Converting 'Ϝ' => 'Ϝ' (line 679) 1120s # Converting 'ϝ' => 'Ϝ' (line 680) 1120s # Converting 'Ϟ' => 'Ϟ' (line 681) 1120s # Converting 'ϟ' => 'Ϟ' (line 682) 1120s # Converting 'Ϡ' => 'Ϡ' (line 683) 1120s # Converting 'ϡ' => 'Ϡ' (line 684) 1120s # Converting 'Ϣ' => 'Ϣ' (line 685) 1120s # Converting 'ϣ' => 'Ϣ' (line 686) 1120s # Converting 'Ϥ' => 'Ϥ' (line 687) 1120s # Converting 'ϥ' => 'Ϥ' (line 688) 1120s # Converting 'Ϧ' => 'Ϧ' (line 689) 1120s # Converting 'ϧ' => 'Ϧ' (line 690) 1120s # Converting 'Ϩ' => 'Ϩ' (line 691) 1120s # Converting 'ϩ' => 'Ϩ' (line 692) 1120s # Converting 'Ϫ' => 'Ϫ' (line 693) 1120s # Converting 'ϫ' => 'Ϫ' (line 694) 1120s # Converting 'Ϭ' => 'Ϭ' (line 695) 1120s # Converting 'ϭ' => 'Ϭ' (line 696) 1120s # Converting 'Ϯ' => 'Ϯ' (line 697) 1120s # Converting 'ϯ' => 'Ϯ' (line 698) 1120s # Converting 'ϰ' => 'Κ' (line 699) 1120s # Converting 'ϱ' => 'Ρ' (line 700) 1120s # Converting 'ϲ' => 'Ϲ' (line 701) 1120s # Converting 'ϳ' => 'Ϳ' (line 702) 1120s # Converting 'ϴ' => 'ϴ' (line 703) 1120s # Converting 'ϵ' => 'Ε' (line 704) 1120s # Converting 'Ϸ' => 'Ϸ' (line 705) 1120s # Converting 'ϸ' => 'Ϸ' (line 706) 1120s # Converting 'Ϲ' => 'Ϲ' (line 707) 1120s # Converting 'Ϻ' => 'Ϻ' (line 708) 1120s # Converting 'ϻ' => 'Ϻ' (line 709) 1120s # Converting 'ϼ' => 'ϼ' (line 710) 1120s # Converting 'Ͻ' => 'Ͻ' (line 711) 1120s # Converting 'Ͼ' => 'Ͼ' (line 712) 1120s # Converting 'Ͽ' => 'Ͽ' (line 713) 1120s # Converting 'Ѐ' => 'Ѐ' (line 714) 1120s # Converting 'Ё' => 'Ё' (line 715) 1120s # Converting 'Ђ' => 'Ђ' (line 716) 1120s # Converting 'Ѓ' => 'Ѓ' (line 717) 1120s # Converting 'Є' => 'Є' (line 718) 1120s # Converting 'Ѕ' => 'Ѕ' (line 719) 1120s # Converting 'І' => 'І' (line 720) 1120s # Converting 'Ї' => 'Ї' (line 721) 1120s # Converting 'Ј' => 'Ј' (line 722) 1120s # Converting 'Љ' => 'Љ' (line 723) 1120s # Converting 'Њ' => 'Њ' (line 724) 1120s # Converting 'Ћ' => 'Ћ' (line 725) 1120s # Converting 'Ќ' => 'Ќ' (line 726) 1120s # Converting 'Ѝ' => 'Ѝ' (line 727) 1120s # Converting 'Ў' => 'Ў' (line 728) 1120s # Converting 'Џ' => 'Џ' (line 729) 1120s # Converting 'А' => 'А' (line 730) 1120s # Converting 'Б' => 'Б' (line 731) 1120s # Converting 'В' => 'В' (line 732) 1120s # Converting 'Г' => 'Г' (line 733) 1120s # Converting 'Д' => 'Д' (line 734) 1120s # Converting 'Е' => 'Е' (line 735) 1120s # Converting 'Ж' => 'Ж' (line 736) 1120s # Converting 'З' => 'З' (line 737) 1120s # Converting 'И' => 'И' (line 738) 1120s # Converting 'Й' => 'Й' (line 739) 1120s # Converting 'К' => 'К' (line 740) 1120s # Converting 'Л' => 'Л' (line 741) 1120s # Converting 'М' => 'М' (line 742) 1120s # Converting 'Н' => 'Н' (line 743) 1120s # Converting 'О' => 'О' (line 744) 1120s # Converting 'П' => 'П' (line 745) 1120s # Converting 'Р' => 'Р' (line 746) 1120s # Converting 'С' => 'С' (line 747) 1120s # Converting 'Т' => 'Т' (line 748) 1120s # Converting 'У' => 'У' (line 749) 1120s # Converting 'Ф' => 'Ф' (line 750) 1120s # Converting 'Х' => 'Х' (line 751) 1120s # Converting 'Ц' => 'Ц' (line 752) 1120s # Converting 'Ч' => 'Ч' (line 753) 1120s # Converting 'Ш' => 'Ш' (line 754) 1120s # Converting 'Щ' => 'Щ' (line 755) 1120s # Converting 'Ъ' => 'Ъ' (line 756) 1120s # Converting 'Ы' => 'Ы' (line 757) 1120s # Converting 'Ь' => 'Ь' (line 758) 1120s # Converting 'Э' => 'Э' (line 759) 1120s # Converting 'Ю' => 'Ю' (line 760) 1120s # Converting 'Я' => 'Я' (line 761) 1120s # Converting 'а' => 'А' (line 762) 1120s # Converting 'б' => 'Б' (line 763) 1120s # Converting 'в' => 'В' (line 764) 1120s # Converting 'г' => 'Г' (line 765) 1120s # Converting 'д' => 'Д' (line 766) 1120s # Converting 'е' => 'Е' (line 767) 1120s # Converting 'ж' => 'Ж' (line 768) 1120s # Converting 'з' => 'З' (line 769) 1120s # Converting 'и' => 'И' (line 770) 1120s # Converting 'й' => 'Й' (line 771) 1120s # Converting 'к' => 'К' (line 772) 1120s # Converting 'л' => 'Л' (line 773) 1120s # Converting 'м' => 'М' (line 774) 1120s # Converting 'н' => 'Н' (line 775) 1120s # Converting 'о' => 'О' (line 776) 1120s # Converting 'п' => 'П' (line 777) 1120s # Converting 'р' => 'Р' (line 778) 1120s # Converting 'с' => 'С' (line 779) 1120s # Converting 'т' => 'Т' (line 780) 1120s # Converting 'у' => 'У' (line 781) 1120s # Converting 'ф' => 'Ф' (line 782) 1120s # Converting 'х' => 'Х' (line 783) 1120s # Converting 'ц' => 'Ц' (line 784) 1120s # Converting 'ч' => 'Ч' (line 785) 1120s # Converting 'ш' => 'Ш' (line 786) 1120s # Converting 'щ' => 'Щ' (line 787) 1120s # Converting 'ъ' => 'Ъ' (line 788) 1120s # Converting 'ы' => 'Ы' (line 789) 1120s # Converting 'ь' => 'Ь' (line 790) 1120s # Converting 'э' => 'Э' (line 791) 1120s # Converting 'ю' => 'Ю' (line 792) 1120s # Converting 'я' => 'Я' (line 793) 1120s # Converting 'ѐ' => 'Ѐ' (line 794) 1120s # Converting 'ё' => 'Ё' (line 795) 1120s # Converting 'ђ' => 'Ђ' (line 796) 1120s # Converting 'ѓ' => 'Ѓ' (line 797) 1120s # Converting 'є' => 'Є' (line 798) 1120s # Converting 'ѕ' => 'Ѕ' (line 799) 1120s # Converting 'і' => 'І' (line 800) 1120s # Converting 'ї' => 'Ї' (line 801) 1120s # Converting 'ј' => 'Ј' (line 802) 1120s # Converting 'љ' => 'Љ' (line 803) 1120s # Converting 'њ' => 'Њ' (line 804) 1120s # Converting 'ћ' => 'Ћ' (line 805) 1120s # Converting 'ќ' => 'Ќ' (line 806) 1120s # Converting 'ѝ' => 'Ѝ' (line 807) 1120s # Converting 'ў' => 'Ў' (line 808) 1120s # Converting 'џ' => 'Џ' (line 809) 1120s # Converting 'Ѡ' => 'Ѡ' (line 810) 1120s # Converting 'ѡ' => 'Ѡ' (line 811) 1120s # Converting 'Ѣ' => 'Ѣ' (line 812) 1120s # Converting 'ѣ' => 'Ѣ' (line 813) 1120s # Converting 'Ѥ' => 'Ѥ' (line 814) 1120s # Converting 'ѥ' => 'Ѥ' (line 815) 1120s # Converting 'Ѧ' => 'Ѧ' (line 816) 1120s # Converting 'ѧ' => 'Ѧ' (line 817) 1120s # Converting 'Ѩ' => 'Ѩ' (line 818) 1120s # Converting 'ѩ' => 'Ѩ' (line 819) 1120s # Converting 'Ѫ' => 'Ѫ' (line 820) 1120s # Converting 'ѫ' => 'Ѫ' (line 821) 1120s # Converting 'Ѭ' => 'Ѭ' (line 822) 1120s # Converting 'ѭ' => 'Ѭ' (line 823) 1120s # Converting 'Ѯ' => 'Ѯ' (line 824) 1120s # Converting 'ѯ' => 'Ѯ' (line 825) 1120s # Converting 'Ѱ' => 'Ѱ' (line 826) 1120s # Converting 'ѱ' => 'Ѱ' (line 827) 1120s # Converting 'Ѳ' => 'Ѳ' (line 828) 1120s # Converting 'ѳ' => 'Ѳ' (line 829) 1120s # Converting 'Ѵ' => 'Ѵ' (line 830) 1120s # Converting 'ѵ' => 'Ѵ' (line 831) 1120s # Converting 'Ѷ' => 'Ѷ' (line 832) 1120s # Converting 'ѷ' => 'Ѷ' (line 833) 1120s # Converting 'Ѹ' => 'Ѹ' (line 834) 1120s # Converting 'ѹ' => 'Ѹ' (line 835) 1120s # Converting 'Ѻ' => 'Ѻ' (line 836) 1120s # Converting 'ѻ' => 'Ѻ' (line 837) 1120s # Converting 'Ѽ' => 'Ѽ' (line 838) 1120s # Converting 'ѽ' => 'Ѽ' (line 839) 1120s # Converting 'Ѿ' => 'Ѿ' (line 840) 1120s # Converting 'ѿ' => 'Ѿ' (line 841) 1120s # Converting 'Ҁ' => 'Ҁ' (line 842) 1120s # Converting 'ҁ' => 'Ҁ' (line 843) 1120s # Converting 'Ҋ' => 'Ҋ' (line 844) 1120s # Converting 'ҋ' => 'Ҋ' (line 845) 1120s # Converting 'Ҍ' => 'Ҍ' (line 846) 1120s # Converting 'ҍ' => 'Ҍ' (line 847) 1120s # Converting 'Ҏ' => 'Ҏ' (line 848) 1120s # Converting 'ҏ' => 'Ҏ' (line 849) 1120s # Converting 'Ґ' => 'Ґ' (line 850) 1120s # Converting 'ґ' => 'Ґ' (line 851) 1120s # Converting 'Ғ' => 'Ғ' (line 852) 1120s # Converting 'ғ' => 'Ғ' (line 853) 1120s # Converting 'Ҕ' => 'Ҕ' (line 854) 1120s # Converting 'ҕ' => 'Ҕ' (line 855) 1120s # Converting 'Җ' => 'Җ' (line 856) 1120s # Converting 'җ' => 'Җ' (line 857) 1120s # Converting 'Ҙ' => 'Ҙ' (line 858) 1120s # Converting 'ҙ' => 'Ҙ' (line 859) 1120s # Converting 'Қ' => 'Қ' (line 860) 1120s # Converting 'қ' => 'Қ' (line 861) 1120s # Converting 'Ҝ' => 'Ҝ' (line 862) 1120s # Converting 'ҝ' => 'Ҝ' (line 863) 1120s # Converting 'Ҟ' => 'Ҟ' (line 864) 1120s # Converting 'ҟ' => 'Ҟ' (line 865) 1120s # Converting 'Ҡ' => 'Ҡ' (line 866) 1120s # Converting 'ҡ' => 'Ҡ' (line 867) 1120s # Converting 'Ң' => 'Ң' (line 868) 1120s # Converting 'ң' => 'Ң' (line 869) 1120s # Converting 'Ҥ' => 'Ҥ' (line 870) 1120s # Converting 'ҥ' => 'Ҥ' (line 871) 1120s # Converting 'Ҧ' => 'Ҧ' (line 872) 1120s # Converting 'ҧ' => 'Ҧ' (line 873) 1120s # Converting 'Ҩ' => 'Ҩ' (line 874) 1120s # Converting 'ҩ' => 'Ҩ' (line 875) 1120s # Converting 'Ҫ' => 'Ҫ' (line 876) 1120s # Converting 'ҫ' => 'Ҫ' (line 877) 1120s # Converting 'Ҭ' => 'Ҭ' (line 878) 1120s # Converting 'ҭ' => 'Ҭ' (line 879) 1120s # Converting 'Ү' => 'Ү' (line 880) 1120s # Converting 'ү' => 'Ү' (line 881) 1120s # Converting 'Ұ' => 'Ұ' (line 882) 1120s # Converting 'ұ' => 'Ұ' (line 883) 1120s # Converting 'Ҳ' => 'Ҳ' (line 884) 1120s # Converting 'ҳ' => 'Ҳ' (line 885) 1120s # Converting 'Ҵ' => 'Ҵ' (line 886) 1120s # Converting 'ҵ' => 'Ҵ' (line 887) 1120s # Converting 'Ҷ' => 'Ҷ' (line 888) 1120s # Converting 'ҷ' => 'Ҷ' (line 889) 1120s # Converting 'Ҹ' => 'Ҹ' (line 890) 1120s # Converting 'ҹ' => 'Ҹ' (line 891) 1120s # Converting 'Һ' => 'Һ' (line 892) 1120s # Converting 'һ' => 'Һ' (line 893) 1120s # Converting 'Ҽ' => 'Ҽ' (line 894) 1120s # Converting 'ҽ' => 'Ҽ' (line 895) 1120s # Converting 'Ҿ' => 'Ҿ' (line 896) 1120s # Converting 'ҿ' => 'Ҿ' (line 897) 1120s # Converting 'Ӏ' => 'Ӏ' (line 898) 1120s # Converting 'Ӂ' => 'Ӂ' (line 899) 1120s # Converting 'ӂ' => 'Ӂ' (line 900) 1120s # Converting 'Ӄ' => 'Ӄ' (line 901) 1120s # Converting 'ӄ' => 'Ӄ' (line 902) 1120s # Converting 'Ӆ' => 'Ӆ' (line 903) 1120s # Converting 'ӆ' => 'Ӆ' (line 904) 1120s # Converting 'Ӈ' => 'Ӈ' (line 905) 1120s # Converting 'ӈ' => 'Ӈ' (line 906) 1120s # Converting 'Ӊ' => 'Ӊ' (line 907) 1120s # Converting 'ӊ' => 'Ӊ' (line 908) 1120s # Converting 'Ӌ' => 'Ӌ' (line 909) 1120s # Converting 'ӌ' => 'Ӌ' (line 910) 1120s # Converting 'Ӎ' => 'Ӎ' (line 911) 1120s # Converting 'ӎ' => 'Ӎ' (line 912) 1120s # Converting 'ӏ' => 'Ӏ' (line 913) 1120s # Converting 'Ӑ' => 'Ӑ' (line 914) 1120s # Converting 'ӑ' => 'Ӑ' (line 915) 1120s # Converting 'Ӓ' => 'Ӓ' (line 916) 1120s # Converting 'ӓ' => 'Ӓ' (line 917) 1120s # Converting 'Ӕ' => 'Ӕ' (line 918) 1120s # Converting 'ӕ' => 'Ӕ' (line 919) 1120s # Converting 'Ӗ' => 'Ӗ' (line 920) 1120s # Converting 'ӗ' => 'Ӗ' (line 921) 1120s # Converting 'Ә' => 'Ә' (line 922) 1120s # Converting 'ә' => 'Ә' (line 923) 1120s # Converting 'Ӛ' => 'Ӛ' (line 924) 1120s # Converting 'ӛ' => 'Ӛ' (line 925) 1120s # Converting 'Ӝ' => 'Ӝ' (line 926) 1120s # Converting 'ӝ' => 'Ӝ' (line 927) 1120s # Converting 'Ӟ' => 'Ӟ' (line 928) 1120s # Converting 'ӟ' => 'Ӟ' (line 929) 1120s # Converting 'Ӡ' => 'Ӡ' (line 930) 1120s # Converting 'ӡ' => 'Ӡ' (line 931) 1120s # Converting 'Ӣ' => 'Ӣ' (line 932) 1120s # Converting 'ӣ' => 'Ӣ' (line 933) 1120s # Converting 'Ӥ' => 'Ӥ' (line 934) 1120s # Converting 'ӥ' => 'Ӥ' (line 935) 1120s # Converting 'Ӧ' => 'Ӧ' (line 936) 1120s # Converting 'ӧ' => 'Ӧ' (line 937) 1120s # Converting 'Ө' => 'Ө' (line 938) 1120s # Converting 'ө' => 'Ө' (line 939) 1120s # Converting 'Ӫ' => 'Ӫ' (line 940) 1120s # Converting 'ӫ' => 'Ӫ' (line 941) 1120s # Converting 'Ӭ' => 'Ӭ' (line 942) 1120s # Converting 'ӭ' => 'Ӭ' (line 943) 1120s # Converting 'Ӯ' => 'Ӯ' (line 944) 1120s # Converting 'ӯ' => 'Ӯ' (line 945) 1120s # Converting 'Ӱ' => 'Ӱ' (line 946) 1120s # Converting 'ӱ' => 'Ӱ' (line 947) 1120s # Converting 'Ӳ' => 'Ӳ' (line 948) 1120s # Converting 'ӳ' => 'Ӳ' (line 949) 1120s # Converting 'Ӵ' => 'Ӵ' (line 950) 1120s # Converting 'ӵ' => 'Ӵ' (line 951) 1120s # Converting 'Ӷ' => 'Ӷ' (line 952) 1120s # Converting 'ӷ' => 'Ӷ' (line 953) 1120s # Converting 'Ӹ' => 'Ӹ' (line 954) 1120s # Converting 'ӹ' => 'Ӹ' (line 955) 1120s # Converting 'Ӻ' => 'Ӻ' (line 956) 1120s # Converting 'ӻ' => 'Ӻ' (line 957) 1120s # Converting 'Ӽ' => 'Ӽ' (line 958) 1120s # Converting 'ӽ' => 'Ӽ' (line 959) 1120s # Converting 'Ӿ' => 'Ӿ' (line 960) 1120s # Converting 'ӿ' => 'Ӿ' (line 961) 1120s # Converting 'Ԁ' => 'Ԁ' (line 962) 1120s # Converting 'ԁ' => 'Ԁ' (line 963) 1120s # Converting 'Ԃ' => 'Ԃ' (line 964) 1120s # Converting 'ԃ' => 'Ԃ' (line 965) 1120s # Converting 'Ԅ' => 'Ԅ' (line 966) 1120s # Converting 'ԅ' => 'Ԅ' (line 967) 1120s # Converting 'Ԇ' => 'Ԇ' (line 968) 1120s # Converting 'ԇ' => 'Ԇ' (line 969) 1120s # Converting 'Ԉ' => 'Ԉ' (line 970) 1120s # Converting 'ԉ' => 'Ԉ' (line 971) 1120s # Converting 'Ԋ' => 'Ԋ' (line 972) 1120s # Converting 'ԋ' => 'Ԋ' (line 973) 1120s # Converting 'Ԍ' => 'Ԍ' (line 974) 1120s # Converting 'ԍ' => 'Ԍ' (line 975) 1120s # Converting 'Ԏ' => 'Ԏ' (line 976) 1120s # Converting 'ԏ' => 'Ԏ' (line 977) 1120s # Converting 'Ԑ' => 'Ԑ' (line 978) 1120s # Converting 'ԑ' => 'Ԑ' (line 979) 1120s # Converting 'Ԓ' => 'Ԓ' (line 980) 1120s # Converting 'ԓ' => 'Ԓ' (line 981) 1120s # Converting 'Ԕ' => 'Ԕ' (line 982) 1120s # Converting 'ԕ' => 'Ԕ' (line 983) 1120s # Converting 'Ԗ' => 'Ԗ' (line 984) 1120s # Converting 'ԗ' => 'Ԗ' (line 985) 1120s # Converting 'Ԙ' => 'Ԙ' (line 986) 1120s # Converting 'ԙ' => 'Ԙ' (line 987) 1120s # Converting 'Ԛ' => 'Ԛ' (line 988) 1120s # Converting 'ԛ' => 'Ԛ' (line 989) 1120s # Converting 'Ԝ' => 'Ԝ' (line 990) 1120s # Converting 'ԝ' => 'Ԝ' (line 991) 1120s # Converting 'Ԟ' => 'Ԟ' (line 992) 1120s # Converting 'ԟ' => 'Ԟ' (line 993) 1120s # Converting 'Ԡ' => 'Ԡ' (line 994) 1120s # Converting 'ԡ' => 'Ԡ' (line 995) 1120s # Converting 'Ԣ' => 'Ԣ' (line 996) 1120s # Converting 'ԣ' => 'Ԣ' (line 997) 1120s # Converting 'Ԥ' => 'Ԥ' (line 998) 1120s # Converting 'ԥ' => 'Ԥ' (line 999) 1120s # Converting 'Ԧ' => 'Ԧ' (line 1000) 1120s # Converting 'ԧ' => 'Ԧ' (line 1001) 1120s # Converting 'Ԩ' => 'Ԩ' (line 1002) 1120s # Converting 'ԩ' => 'Ԩ' (line 1003) 1120s # Converting 'Ԫ' => 'Ԫ' (line 1004) 1120s # Converting 'ԫ' => 'Ԫ' (line 1005) 1120s # Converting 'Ԭ' => 'Ԭ' (line 1006) 1120s # Converting 'ԭ' => 'Ԭ' (line 1007) 1120s # Converting 'Ԯ' => 'Ԯ' (line 1008) 1120s # Converting 'ԯ' => 'Ԯ' (line 1009) 1120s # Converting 'Ա' => 'Ա' (line 1010) 1120s # Converting 'Բ' => 'Բ' (line 1011) 1120s # Converting 'Գ' => 'Գ' (line 1012) 1120s # Converting 'Դ' => 'Դ' (line 1013) 1120s # Converting 'Ե' => 'Ե' (line 1014) 1120s # Converting 'Զ' => 'Զ' (line 1015) 1120s # Converting 'Է' => 'Է' (line 1016) 1120s # Converting 'Ը' => 'Ը' (line 1017) 1120s # Converting 'Թ' => 'Թ' (line 1018) 1120s # Converting 'Ժ' => 'Ժ' (line 1019) 1120s # Converting 'Ի' => 'Ի' (line 1020) 1120s # Converting 'Լ' => 'Լ' (line 1021) 1120s # Converting 'Խ' => 'Խ' (line 1022) 1120s # Converting 'Ծ' => 'Ծ' (line 1023) 1120s # Converting 'Կ' => 'Կ' (line 1024) 1120s # Converting 'Հ' => 'Հ' (line 1025) 1120s # Converting 'Ձ' => 'Ձ' (line 1026) 1120s # Converting 'Ղ' => 'Ղ' (line 1027) 1120s # Converting 'Ճ' => 'Ճ' (line 1028) 1120s # Converting 'Մ' => 'Մ' (line 1029) 1120s # Converting 'Յ' => 'Յ' (line 1030) 1120s # Converting 'Ն' => 'Ն' (line 1031) 1120s # Converting 'Շ' => 'Շ' (line 1032) 1120s # Converting 'Ո' => 'Ո' (line 1033) 1120s # Converting 'Չ' => 'Չ' (line 1034) 1120s # Converting 'Պ' => 'Պ' (line 1035) 1120s # Converting 'Ջ' => 'Ջ' (line 1036) 1120s # Converting 'Ռ' => 'Ռ' (line 1037) 1120s # Converting 'Ս' => 'Ս' (line 1038) 1120s # Converting 'Վ' => 'Վ' (line 1039) 1120s # Converting 'Տ' => 'Տ' (line 1040) 1120s # Converting 'Ր' => 'Ր' (line 1041) 1120s # Converting 'Ց' => 'Ց' (line 1042) 1120s # Converting 'Ւ' => 'Ւ' (line 1043) 1120s # Converting 'Փ' => 'Փ' (line 1044) 1120s # Converting 'Ք' => 'Ք' (line 1045) 1120s # Converting 'Օ' => 'Օ' (line 1046) 1120s # Converting 'Ֆ' => 'Ֆ' (line 1047) 1120s # Converting 'ՠ' => 'ՠ' (line 1048) 1120s # Converting 'ա' => 'Ա' (line 1049) 1120s # Converting 'բ' => 'Բ' (line 1050) 1120s # Converting 'գ' => 'Գ' (line 1051) 1120s # Converting 'դ' => 'Դ' (line 1052) 1120s # Converting 'ե' => 'Ե' (line 1053) 1120s # Converting 'զ' => 'Զ' (line 1054) 1120s # Converting 'է' => 'Է' (line 1055) 1120s # Converting 'ը' => 'Ը' (line 1056) 1120s # Converting 'թ' => 'Թ' (line 1057) 1120s # Converting 'ժ' => 'Ժ' (line 1058) 1120s # Converting 'ի' => 'Ի' (line 1059) 1120s # Converting 'լ' => 'Լ' (line 1060) 1120s # Converting 'խ' => 'Խ' (line 1061) 1120s # Converting 'ծ' => 'Ծ' (line 1062) 1120s # Converting 'կ' => 'Կ' (line 1063) 1120s # Converting 'հ' => 'Հ' (line 1064) 1120s # Converting 'ձ' => 'Ձ' (line 1065) 1120s # Converting 'ղ' => 'Ղ' (line 1066) 1120s # Converting 'ճ' => 'Ճ' (line 1067) 1120s # Converting 'մ' => 'Մ' (line 1068) 1120s # Converting 'յ' => 'Յ' (line 1069) 1120s # Converting 'ն' => 'Ն' (line 1070) 1120s # Converting 'շ' => 'Շ' (line 1071) 1120s # Converting 'ո' => 'Ո' (line 1072) 1120s # Converting 'չ' => 'Չ' (line 1073) 1120s # Converting 'պ' => 'Պ' (line 1074) 1120s # Converting 'ջ' => 'Ջ' (line 1075) 1120s # Converting 'ռ' => 'Ռ' (line 1076) 1120s # Converting 'ս' => 'Ս' (line 1077) 1120s # Converting 'վ' => 'Վ' (line 1078) 1120s # Converting 'տ' => 'Տ' (line 1079) 1120s # Converting 'ր' => 'Ր' (line 1080) 1120s # Converting 'ց' => 'Ց' (line 1081) 1120s # Converting 'ւ' => 'Ւ' (line 1082) 1120s # Converting 'փ' => 'Փ' (line 1083) 1120s # Converting 'ք' => 'Ք' (line 1084) 1120s # Converting 'օ' => 'Օ' (line 1085) 1120s # Converting 'ֆ' => 'Ֆ' (line 1086) 1120s # Converting 'և' => 'ԵՒ' (line 1087) 1120s # Converting 'ֈ' => 'ֈ' (line 1088) 1120s # Converting 'Ⴀ' => 'Ⴀ' (line 1089) 1120s # Converting 'Ⴁ' => 'Ⴁ' (line 1090) 1120s # Converting 'Ⴂ' => 'Ⴂ' (line 1091) 1120s # Converting 'Ⴃ' => 'Ⴃ' (line 1092) 1120s # Converting 'Ⴄ' => 'Ⴄ' (line 1093) 1120s # Converting 'Ⴅ' => 'Ⴅ' (line 1094) 1120s # Converting 'Ⴆ' => 'Ⴆ' (line 1095) 1120s # Converting 'Ⴇ' => 'Ⴇ' (line 1096) 1120s # Converting 'Ⴈ' => 'Ⴈ' (line 1097) 1120s # Converting 'Ⴉ' => 'Ⴉ' (line 1098) 1120s # Converting 'Ⴊ' => 'Ⴊ' (line 1099) 1120s # Converting 'Ⴋ' => 'Ⴋ' (line 1100) 1120s # Converting 'Ⴌ' => 'Ⴌ' (line 1101) 1120s # Converting 'Ⴍ' => 'Ⴍ' (line 1102) 1120s # Converting 'Ⴎ' => 'Ⴎ' (line 1103) 1120s # Converting 'Ⴏ' => 'Ⴏ' (line 1104) 1120s # Converting 'Ⴐ' => 'Ⴐ' (line 1105) 1120s # Converting 'Ⴑ' => 'Ⴑ' (line 1106) 1120s # Converting 'Ⴒ' => 'Ⴒ' (line 1107) 1120s # Converting 'Ⴓ' => 'Ⴓ' (line 1108) 1120s # Converting 'Ⴔ' => 'Ⴔ' (line 1109) 1120s # Converting 'Ⴕ' => 'Ⴕ' (line 1110) 1120s # Converting 'Ⴖ' => 'Ⴖ' (line 1111) 1120s # Converting 'Ⴗ' => 'Ⴗ' (line 1112) 1120s # Converting 'Ⴘ' => 'Ⴘ' (line 1113) 1120s # Converting 'Ⴙ' => 'Ⴙ' (line 1114) 1120s # Converting 'Ⴚ' => 'Ⴚ' (line 1115) 1120s # Converting 'Ⴛ' => 'Ⴛ' (line 1116) 1120s # Converting 'Ⴜ' => 'Ⴜ' (line 1117) 1120s # Converting 'Ⴝ' => 'Ⴝ' (line 1118) 1120s # Converting 'Ⴞ' => 'Ⴞ' (line 1119) 1120s # Converting 'Ⴟ' => 'Ⴟ' (line 1120) 1120s # Converting 'Ⴠ' => 'Ⴠ' (line 1121) 1120s # Converting 'Ⴡ' => 'Ⴡ' (line 1122) 1120s # Converting 'Ⴢ' => 'Ⴢ' (line 1123) 1120s # Converting 'Ⴣ' => 'Ⴣ' (line 1124) 1120s # Converting 'Ⴤ' => 'Ⴤ' (line 1125) 1120s # Converting 'Ⴥ' => 'Ⴥ' (line 1126) 1120s # Converting 'Ⴧ' => 'Ⴧ' (line 1127) 1120s # Converting 'Ⴭ' => 'Ⴭ' (line 1128) 1120s # Converting 'ა' => 'Ა' (line 1129) 1120s # Converting 'ბ' => 'Ბ' (line 1130) 1120s # Converting 'გ' => 'Გ' (line 1131) 1120s # Converting 'დ' => 'Დ' (line 1132) 1120s # Converting 'ე' => 'Ე' (line 1133) 1120s # Converting 'ვ' => 'Ვ' (line 1134) 1120s # Converting 'ზ' => 'Ზ' (line 1135) 1120s # Converting 'თ' => 'Თ' (line 1136) 1120s # Converting 'ი' => 'Ი' (line 1137) 1120s # Converting 'კ' => 'Კ' (line 1138) 1120s # Converting 'ლ' => 'Ლ' (line 1139) 1120s # Converting 'მ' => 'Მ' (line 1140) 1120s # Converting 'ნ' => 'Ნ' (line 1141) 1120s # Converting 'ო' => 'Ო' (line 1142) 1120s # Converting 'პ' => 'Პ' (line 1143) 1120s # Converting 'ჟ' => 'Ჟ' (line 1144) 1120s # Converting 'რ' => 'Რ' (line 1145) 1120s # Converting 'ს' => 'Ს' (line 1146) 1120s # Converting 'ტ' => 'Ტ' (line 1147) 1120s # Converting 'უ' => 'Უ' (line 1148) 1120s # Converting 'ფ' => 'Ფ' (line 1149) 1120s # Converting 'ქ' => 'Ქ' (line 1150) 1120s # Converting 'ღ' => 'Ღ' (line 1151) 1120s # Converting 'ყ' => 'Ყ' (line 1152) 1120s # Converting 'შ' => 'Შ' (line 1153) 1120s # Converting 'ჩ' => 'Ჩ' (line 1154) 1120s # Converting 'ც' => 'Ც' (line 1155) 1120s # Converting 'ძ' => 'Ძ' (line 1156) 1120s # Converting 'წ' => 'Წ' (line 1157) 1120s # Converting 'ჭ' => 'Ჭ' (line 1158) 1120s # Converting 'ხ' => 'Ხ' (line 1159) 1120s # Converting 'ჯ' => 'Ჯ' (line 1160) 1120s # Converting 'ჰ' => 'Ჰ' (line 1161) 1120s # Converting 'ჱ' => 'Ჱ' (line 1162) 1120s # Converting 'ჲ' => 'Ჲ' (line 1163) 1120s # Converting 'ჳ' => 'Ჳ' (line 1164) 1120s # Converting 'ჴ' => 'Ჴ' (line 1165) 1120s # Converting 'ჵ' => 'Ჵ' (line 1166) 1120s # Converting 'ჶ' => 'Ჶ' (line 1167) 1120s # Converting 'ჷ' => 'Ჷ' (line 1168) 1120s # Converting 'ჸ' => 'Ჸ' (line 1169) 1120s # Converting 'ჹ' => 'Ჹ' (line 1170) 1120s # Converting 'ჺ' => 'Ჺ' (line 1171) 1120s # Converting 'ჽ' => 'Ჽ' (line 1172) 1120s # Converting 'ჾ' => 'Ჾ' (line 1173) 1120s # Converting 'ჿ' => 'Ჿ' (line 1174) 1120s # Converting 'Ꭰ' => 'Ꭰ' (line 1175) 1120s # Converting 'Ꭱ' => 'Ꭱ' (line 1176) 1120s # Converting 'Ꭲ' => 'Ꭲ' (line 1177) 1120s # Converting 'Ꭳ' => 'Ꭳ' (line 1178) 1120s # Converting 'Ꭴ' => 'Ꭴ' (line 1179) 1120s # Converting 'Ꭵ' => 'Ꭵ' (line 1180) 1120s # Converting 'Ꭶ' => 'Ꭶ' (line 1181) 1120s # Converting 'Ꭷ' => 'Ꭷ' (line 1182) 1120s # Converting 'Ꭸ' => 'Ꭸ' (line 1183) 1120s # Converting 'Ꭹ' => 'Ꭹ' (line 1184) 1120s # Converting 'Ꭺ' => 'Ꭺ' (line 1185) 1120s # Converting 'Ꭻ' => 'Ꭻ' (line 1186) 1120s # Converting 'Ꭼ' => 'Ꭼ' (line 1187) 1120s # Converting 'Ꭽ' => 'Ꭽ' (line 1188) 1120s # Converting 'Ꭾ' => 'Ꭾ' (line 1189) 1120s # Converting 'Ꭿ' => 'Ꭿ' (line 1190) 1120s # Converting 'Ꮀ' => 'Ꮀ' (line 1191) 1120s # Converting 'Ꮁ' => 'Ꮁ' (line 1192) 1120s # Converting 'Ꮂ' => 'Ꮂ' (line 1193) 1120s # Converting 'Ꮃ' => 'Ꮃ' (line 1194) 1120s # Converting 'Ꮄ' => 'Ꮄ' (line 1195) 1120s # Converting 'Ꮅ' => 'Ꮅ' (line 1196) 1120s # Converting 'Ꮆ' => 'Ꮆ' (line 1197) 1120s # Converting 'Ꮇ' => 'Ꮇ' (line 1198) 1120s # Converting 'Ꮈ' => 'Ꮈ' (line 1199) 1120s # Converting 'Ꮉ' => 'Ꮉ' (line 1200) 1120s # Converting 'Ꮊ' => 'Ꮊ' (line 1201) 1120s # Converting 'Ꮋ' => 'Ꮋ' (line 1202) 1120s # Converting 'Ꮌ' => 'Ꮌ' (line 1203) 1120s # Converting 'Ꮍ' => 'Ꮍ' (line 1204) 1120s # Converting 'Ꮎ' => 'Ꮎ' (line 1205) 1120s # Converting 'Ꮏ' => 'Ꮏ' (line 1206) 1120s # Converting 'Ꮐ' => 'Ꮐ' (line 1207) 1120s # Converting 'Ꮑ' => 'Ꮑ' (line 1208) 1120s # Converting 'Ꮒ' => 'Ꮒ' (line 1209) 1120s # Converting 'Ꮓ' => 'Ꮓ' (line 1210) 1120s # Converting 'Ꮔ' => 'Ꮔ' (line 1211) 1120s # Converting 'Ꮕ' => 'Ꮕ' (line 1212) 1120s # Converting 'Ꮖ' => 'Ꮖ' (line 1213) 1120s # Converting 'Ꮗ' => 'Ꮗ' (line 1214) 1120s # Converting 'Ꮘ' => 'Ꮘ' (line 1215) 1120s # Converting 'Ꮙ' => 'Ꮙ' (line 1216) 1120s # Converting 'Ꮚ' => 'Ꮚ' (line 1217) 1120s # Converting 'Ꮛ' => 'Ꮛ' (line 1218) 1120s # Converting 'Ꮜ' => 'Ꮜ' (line 1219) 1120s # Converting 'Ꮝ' => 'Ꮝ' (line 1220) 1120s # Converting 'Ꮞ' => 'Ꮞ' (line 1221) 1120s # Converting 'Ꮟ' => 'Ꮟ' (line 1222) 1120s # Converting 'Ꮠ' => 'Ꮠ' (line 1223) 1120s # Converting 'Ꮡ' => 'Ꮡ' (line 1224) 1120s # Converting 'Ꮢ' => 'Ꮢ' (line 1225) 1120s # Converting 'Ꮣ' => 'Ꮣ' (line 1226) 1120s # Converting 'Ꮤ' => 'Ꮤ' (line 1227) 1120s # Converting 'Ꮥ' => 'Ꮥ' (line 1228) 1120s # Converting 'Ꮦ' => 'Ꮦ' (line 1229) 1120s # Converting 'Ꮧ' => 'Ꮧ' (line 1230) 1120s # Converting 'Ꮨ' => 'Ꮨ' (line 1231) 1120s # Converting 'Ꮩ' => 'Ꮩ' (line 1232) 1120s # Converting 'Ꮪ' => 'Ꮪ' (line 1233) 1120s # Converting 'Ꮫ' => 'Ꮫ' (line 1234) 1120s # Converting 'Ꮬ' => 'Ꮬ' (line 1235) 1120s # Converting 'Ꮭ' => 'Ꮭ' (line 1236) 1120s # Converting 'Ꮮ' => 'Ꮮ' (line 1237) 1120s # Converting 'Ꮯ' => 'Ꮯ' (line 1238) 1120s # Converting 'Ꮰ' => 'Ꮰ' (line 1239) 1120s # Converting 'Ꮱ' => 'Ꮱ' (line 1240) 1120s # Converting 'Ꮲ' => 'Ꮲ' (line 1241) 1120s # Converting 'Ꮳ' => 'Ꮳ' (line 1242) 1120s # Converting 'Ꮴ' => 'Ꮴ' (line 1243) 1120s # Converting 'Ꮵ' => 'Ꮵ' (line 1244) 1120s # Converting 'Ꮶ' => 'Ꮶ' (line 1245) 1120s # Converting 'Ꮷ' => 'Ꮷ' (line 1246) 1120s # Converting 'Ꮸ' => 'Ꮸ' (line 1247) 1120s # Converting 'Ꮹ' => 'Ꮹ' (line 1248) 1120s # Converting 'Ꮺ' => 'Ꮺ' (line 1249) 1120s # Converting 'Ꮻ' => 'Ꮻ' (line 1250) 1120s # Converting 'Ꮼ' => 'Ꮼ' (line 1251) 1120s # Converting 'Ꮽ' => 'Ꮽ' (line 1252) 1120s # Converting 'Ꮾ' => 'Ꮾ' (line 1253) 1120s # Converting 'Ꮿ' => 'Ꮿ' (line 1254) 1120s # Converting 'Ᏸ' => 'Ᏸ' (line 1255) 1120s # Converting 'Ᏹ' => 'Ᏹ' (line 1256) 1120s # Converting 'Ᏺ' => 'Ᏺ' (line 1257) 1120s # Converting 'Ᏻ' => 'Ᏻ' (line 1258) 1120s # Converting 'Ᏼ' => 'Ᏼ' (line 1259) 1120s # Converting 'Ᏽ' => 'Ᏽ' (line 1260) 1120s # Converting 'ᏸ' => 'Ᏸ' (line 1261) 1120s # Converting 'ᏹ' => 'Ᏹ' (line 1262) 1120s # Converting 'ᏺ' => 'Ᏺ' (line 1263) 1120s # Converting 'ᏻ' => 'Ᏻ' (line 1264) 1120s # Converting 'ᏼ' => 'Ᏼ' (line 1265) 1120s # Converting 'ᏽ' => 'Ᏽ' (line 1266) 1120s # Converting 'ᲀ' => 'В' (line 1267) 1120s # Converting 'ᲁ' => 'Д' (line 1268) 1120s # Converting 'ᲂ' => 'О' (line 1269) 1120s # Converting 'ᲃ' => 'С' (line 1270) 1120s # Converting 'ᲄ' => 'Т' (line 1271) 1120s # Converting 'ᲅ' => 'Т' (line 1272) 1120s # Converting 'ᲆ' => 'Ъ' (line 1273) 1120s # Converting 'ᲇ' => 'Ѣ' (line 1274) 1120s # Converting 'ᲈ' => 'Ꙋ' (line 1275) 1120s # Converting 'Ᲊ' => 'Ᲊ' (line 1276) 1120s # Converting 'ᲊ' => 'Ᲊ' (line 1277) 1120s # Converting 'Ა' => 'Ა' (line 1278) 1120s # Converting 'Ბ' => 'Ბ' (line 1279) 1120s # Converting 'Გ' => 'Გ' (line 1280) 1120s # Converting 'Დ' => 'Დ' (line 1281) 1120s # Converting 'Ე' => 'Ე' (line 1282) 1120s # Converting 'Ვ' => 'Ვ' (line 1283) 1120s # Converting 'Ზ' => 'Ზ' (line 1284) 1120s # Converting 'Თ' => 'Თ' (line 1285) 1120s # Converting 'Ი' => 'Ი' (line 1286) 1120s # Converting 'Კ' => 'Კ' (line 1287) 1120s # Converting 'Ლ' => 'Ლ' (line 1288) 1120s # Converting 'Მ' => 'Მ' (line 1289) 1120s # Converting 'Ნ' => 'Ნ' (line 1290) 1120s # Converting 'Ო' => 'Ო' (line 1291) 1120s # Converting 'Პ' => 'Პ' (line 1292) 1120s # Converting 'Ჟ' => 'Ჟ' (line 1293) 1120s # Converting 'Რ' => 'Რ' (line 1294) 1120s # Converting 'Ს' => 'Ს' (line 1295) 1120s # Converting 'Ტ' => 'Ტ' (line 1296) 1120s # Converting 'Უ' => 'Უ' (line 1297) 1120s # Converting 'Ფ' => 'Ფ' (line 1298) 1120s # Converting 'Ქ' => 'Ქ' (line 1299) 1120s # Converting 'Ღ' => 'Ღ' (line 1300) 1120s # Converting 'Ყ' => 'Ყ' (line 1301) 1120s # Converting 'Შ' => 'Შ' (line 1302) 1120s # Converting 'Ჩ' => 'Ჩ' (line 1303) 1120s # Converting 'Ც' => 'Ც' (line 1304) 1120s # Converting 'Ძ' => 'Ძ' (line 1305) 1120s # Converting 'Წ' => 'Წ' (line 1306) 1120s # Converting 'Ჭ' => 'Ჭ' (line 1307) 1120s # Converting 'Ხ' => 'Ხ' (line 1308) 1120s # Converting 'Ჯ' => 'Ჯ' (line 1309) 1120s # Converting 'Ჰ' => 'Ჰ' (line 1310) 1120s # Converting 'Ჱ' => 'Ჱ' (line 1311) 1120s # Converting 'Ჲ' => 'Ჲ' (line 1312) 1120s # Converting 'Ჳ' => 'Ჳ' (line 1313) 1120s # Converting 'Ჴ' => 'Ჴ' (line 1314) 1120s # Converting 'Ჵ' => 'Ჵ' (line 1315) 1120s # Converting 'Ჶ' => 'Ჶ' (line 1316) 1120s # Converting 'Ჷ' => 'Ჷ' (line 1317) 1120s # Converting 'Ჸ' => 'Ჸ' (line 1318) 1120s # Converting 'Ჹ' => 'Ჹ' (line 1319) 1120s # Converting 'Ჺ' => 'Ჺ' (line 1320) 1120s # Converting 'Ჽ' => 'Ჽ' (line 1321) 1120s # Converting 'Ჾ' => 'Ჾ' (line 1322) 1120s # Converting 'Ჿ' => 'Ჿ' (line 1323) 1120s # Converting 'ᴀ' => 'ᴀ' (line 1324) 1120s # Converting 'ᴁ' => 'ᴁ' (line 1325) 1120s # Converting 'ᴂ' => 'ᴂ' (line 1326) 1120s # Converting 'ᴃ' => 'ᴃ' (line 1327) 1120s # Converting 'ᴄ' => 'ᴄ' (line 1328) 1120s # Converting 'ᴅ' => 'ᴅ' (line 1329) 1120s # Converting 'ᴆ' => 'ᴆ' (line 1330) 1120s # Converting 'ᴇ' => 'ᴇ' (line 1331) 1120s # Converting 'ᴈ' => 'ᴈ' (line 1332) 1120s # Converting 'ᴉ' => 'ᴉ' (line 1333) 1120s # Converting 'ᴊ' => 'ᴊ' (line 1334) 1120s # Converting 'ᴋ' => 'ᴋ' (line 1335) 1120s # Converting 'ᴌ' => 'ᴌ' (line 1336) 1120s # Converting 'ᴍ' => 'ᴍ' (line 1337) 1120s # Converting 'ᴎ' => 'ᴎ' (line 1338) 1120s # Converting 'ᴏ' => 'ᴏ' (line 1339) 1120s # Converting 'ᴐ' => 'ᴐ' (line 1340) 1120s # Converting 'ᴑ' => 'ᴑ' (line 1341) 1120s # Converting 'ᴒ' => 'ᴒ' (line 1342) 1120s # Converting 'ᴓ' => 'ᴓ' (line 1343) 1120s # Converting 'ᴔ' => 'ᴔ' (line 1344) 1120s # Converting 'ᴕ' => 'ᴕ' (line 1345) 1120s # Converting 'ᴖ' => 'ᴖ' (line 1346) 1120s # Converting 'ᴗ' => 'ᴗ' (line 1347) 1120s # Converting 'ᴘ' => 'ᴘ' (line 1348) 1120s # Converting 'ᴙ' => 'ᴙ' (line 1349) 1120s # Converting 'ᴚ' => 'ᴚ' (line 1350) 1120s # Converting 'ᴛ' => 'ᴛ' (line 1351) 1120s # Converting 'ᴜ' => 'ᴜ' (line 1352) 1120s # Converting 'ᴝ' => 'ᴝ' (line 1353) 1120s # Converting 'ᴞ' => 'ᴞ' (line 1354) 1120s # Converting 'ᴟ' => 'ᴟ' (line 1355) 1120s # Converting 'ᴠ' => 'ᴠ' (line 1356) 1120s # Converting 'ᴡ' => 'ᴡ' (line 1357) 1120s # Converting 'ᴢ' => 'ᴢ' (line 1358) 1120s # Converting 'ᴣ' => 'ᴣ' (line 1359) 1120s # Converting 'ᴤ' => 'ᴤ' (line 1360) 1120s # Converting 'ᴥ' => 'ᴥ' (line 1361) 1120s # Converting 'ᴦ' => 'ᴦ' (line 1362) 1120s # Converting 'ᴧ' => 'ᴧ' (line 1363) 1120s # Converting 'ᴨ' => 'ᴨ' (line 1364) 1120s # Converting 'ᴩ' => 'ᴩ' (line 1365) 1120s # Converting 'ᴪ' => 'ᴪ' (line 1366) 1120s # Converting 'ᴫ' => 'ᴫ' (line 1367) 1120s # Converting 'ᵫ' => 'ᵫ' (line 1368) 1120s # Converting 'ᵬ' => 'ᵬ' (line 1369) 1120s # Converting 'ᵭ' => 'ᵭ' (line 1370) 1120s # Converting 'ᵮ' => 'ᵮ' (line 1371) 1120s # Converting 'ᵯ' => 'ᵯ' (line 1372) 1120s # Converting 'ᵰ' => 'ᵰ' (line 1373) 1120s # Converting 'ᵱ' => 'ᵱ' (line 1374) 1120s # Converting 'ᵲ' => 'ᵲ' (line 1375) 1120s # Converting 'ᵳ' => 'ᵳ' (line 1376) 1120s # Converting 'ᵴ' => 'ᵴ' (line 1377) 1120s # Converting 'ᵵ' => 'ᵵ' (line 1378) 1120s # Converting 'ᵶ' => 'ᵶ' (line 1379) 1120s # Converting 'ᵷ' => 'ᵷ' (line 1380) 1120s # Converting 'ᵹ' => 'Ᵹ' (line 1381) 1120s # Converting 'ᵺ' => 'ᵺ' (line 1382) 1120s # Converting 'ᵻ' => 'ᵻ' (line 1383) 1120s # Converting 'ᵼ' => 'ᵼ' (line 1384) 1120s # Converting 'ᵽ' => 'Ᵽ' (line 1385) 1120s # Converting 'ᵾ' => 'ᵾ' (line 1386) 1120s # Converting 'ᵿ' => 'ᵿ' (line 1387) 1120s # Converting 'ᶀ' => 'ᶀ' (line 1388) 1120s # Converting 'ᶁ' => 'ᶁ' (line 1389) 1120s # Converting 'ᶂ' => 'ᶂ' (line 1390) 1120s # Converting 'ᶃ' => 'ᶃ' (line 1391) 1120s # Converting 'ᶄ' => 'ᶄ' (line 1392) 1120s # Converting 'ᶅ' => 'ᶅ' (line 1393) 1120s # Converting 'ᶆ' => 'ᶆ' (line 1394) 1120s # Converting 'ᶇ' => 'ᶇ' (line 1395) 1120s # Converting 'ᶈ' => 'ᶈ' (line 1396) 1120s # Converting 'ᶉ' => 'ᶉ' (line 1397) 1120s # Converting 'ᶊ' => 'ᶊ' (line 1398) 1120s # Converting 'ᶋ' => 'ᶋ' (line 1399) 1120s # Converting 'ᶌ' => 'ᶌ' (line 1400) 1120s # Converting 'ᶍ' => 'ᶍ' (line 1401) 1120s # Converting 'ᶎ' => 'Ᶎ' (line 1402) 1120s # Converting 'ᶏ' => 'ᶏ' (line 1403) 1120s # Converting 'ᶐ' => 'ᶐ' (line 1404) 1120s # Converting 'ᶑ' => 'ᶑ' (line 1405) 1120s # Converting 'ᶒ' => 'ᶒ' (line 1406) 1120s # Converting 'ᶓ' => 'ᶓ' (line 1407) 1120s # Converting 'ᶔ' => 'ᶔ' (line 1408) 1120s # Converting 'ᶕ' => 'ᶕ' (line 1409) 1120s # Converting 'ᶖ' => 'ᶖ' (line 1410) 1120s # Converting 'ᶗ' => 'ᶗ' (line 1411) 1120s # Converting 'ᶘ' => 'ᶘ' (line 1412) 1120s # Converting 'ᶙ' => 'ᶙ' (line 1413) 1120s # Converting 'ᶚ' => 'ᶚ' (line 1414) 1120s # Converting 'Ḁ' => 'Ḁ' (line 1415) 1120s # Converting 'ḁ' => 'Ḁ' (line 1416) 1120s # Converting 'Ḃ' => 'Ḃ' (line 1417) 1120s # Converting 'ḃ' => 'Ḃ' (line 1418) 1120s # Converting 'Ḅ' => 'Ḅ' (line 1419) 1120s # Converting 'ḅ' => 'Ḅ' (line 1420) 1120s # Converting 'Ḇ' => 'Ḇ' (line 1421) 1120s # Converting 'ḇ' => 'Ḇ' (line 1422) 1120s # Converting 'Ḉ' => 'Ḉ' (line 1423) 1120s # Converting 'ḉ' => 'Ḉ' (line 1424) 1120s # Converting 'Ḋ' => 'Ḋ' (line 1425) 1120s # Converting 'ḋ' => 'Ḋ' (line 1426) 1120s # Converting 'Ḍ' => 'Ḍ' (line 1427) 1120s # Converting 'ḍ' => 'Ḍ' (line 1428) 1120s # Converting 'Ḏ' => 'Ḏ' (line 1429) 1120s # Converting 'ḏ' => 'Ḏ' (line 1430) 1120s # Converting 'Ḑ' => 'Ḑ' (line 1431) 1120s # Converting 'ḑ' => 'Ḑ' (line 1432) 1120s # Converting 'Ḓ' => 'Ḓ' (line 1433) 1120s # Converting 'ḓ' => 'Ḓ' (line 1434) 1120s # Converting 'Ḕ' => 'Ḕ' (line 1435) 1120s # Converting 'ḕ' => 'Ḕ' (line 1436) 1120s # Converting 'Ḗ' => 'Ḗ' (line 1437) 1120s # Converting 'ḗ' => 'Ḗ' (line 1438) 1120s # Converting 'Ḙ' => 'Ḙ' (line 1439) 1120s # Converting 'ḙ' => 'Ḙ' (line 1440) 1120s # Converting 'Ḛ' => 'Ḛ' (line 1441) 1120s # Converting 'ḛ' => 'Ḛ' (line 1442) 1120s # Converting 'Ḝ' => 'Ḝ' (line 1443) 1120s # Converting 'ḝ' => 'Ḝ' (line 1444) 1120s # Converting 'Ḟ' => 'Ḟ' (line 1445) 1120s # Converting 'ḟ' => 'Ḟ' (line 1446) 1120s # Converting 'Ḡ' => 'Ḡ' (line 1447) 1120s # Converting 'ḡ' => 'Ḡ' (line 1448) 1120s # Converting 'Ḣ' => 'Ḣ' (line 1449) 1120s # Converting 'ḣ' => 'Ḣ' (line 1450) 1120s # Converting 'Ḥ' => 'Ḥ' (line 1451) 1120s # Converting 'ḥ' => 'Ḥ' (line 1452) 1120s # Converting 'Ḧ' => 'Ḧ' (line 1453) 1120s # Converting 'ḧ' => 'Ḧ' (line 1454) 1120s # Converting 'Ḩ' => 'Ḩ' (line 1455) 1120s # Converting 'ḩ' => 'Ḩ' (line 1456) 1120s # Converting 'Ḫ' => 'Ḫ' (line 1457) 1120s # Converting 'ḫ' => 'Ḫ' (line 1458) 1120s # Converting 'Ḭ' => 'Ḭ' (line 1459) 1120s # Converting 'ḭ' => 'Ḭ' (line 1460) 1120s # Converting 'Ḯ' => 'Ḯ' (line 1461) 1120s # Converting 'ḯ' => 'Ḯ' (line 1462) 1120s # Converting 'Ḱ' => 'Ḱ' (line 1463) 1120s # Converting 'ḱ' => 'Ḱ' (line 1464) 1120s # Converting 'Ḳ' => 'Ḳ' (line 1465) 1120s # Converting 'ḳ' => 'Ḳ' (line 1466) 1120s # Converting 'Ḵ' => 'Ḵ' (line 1467) 1120s # Converting 'ḵ' => 'Ḵ' (line 1468) 1120s # Converting 'Ḷ' => 'Ḷ' (line 1469) 1120s # Converting 'ḷ' => 'Ḷ' (line 1470) 1120s # Converting 'Ḹ' => 'Ḹ' (line 1471) 1120s # Converting 'ḹ' => 'Ḹ' (line 1472) 1120s # Converting 'Ḻ' => 'Ḻ' (line 1473) 1120s # Converting 'ḻ' => 'Ḻ' (line 1474) 1120s # Converting 'Ḽ' => 'Ḽ' (line 1475) 1120s # Converting 'ḽ' => 'Ḽ' (line 1476) 1120s # Converting 'Ḿ' => 'Ḿ' (line 1477) 1120s # Converting 'ḿ' => 'Ḿ' (line 1478) 1120s # Converting 'Ṁ' => 'Ṁ' (line 1479) 1120s # Converting 'ṁ' => 'Ṁ' (line 1480) 1120s # Converting 'Ṃ' => 'Ṃ' (line 1481) 1120s # Converting 'ṃ' => 'Ṃ' (line 1482) 1120s # Converting 'Ṅ' => 'Ṅ' (line 1483) 1120s # Converting 'ṅ' => 'Ṅ' (line 1484) 1120s # Converting 'Ṇ' => 'Ṇ' (line 1485) 1120s # Converting 'ṇ' => 'Ṇ' (line 1486) 1120s # Converting 'Ṉ' => 'Ṉ' (line 1487) 1120s # Converting 'ṉ' => 'Ṉ' (line 1488) 1120s # Converting 'Ṋ' => 'Ṋ' (line 1489) 1120s # Converting 'ṋ' => 'Ṋ' (line 1490) 1120s # Converting 'Ṍ' => 'Ṍ' (line 1491) 1120s # Converting 'ṍ' => 'Ṍ' (line 1492) 1120s # Converting 'Ṏ' => 'Ṏ' (line 1493) 1120s # Converting 'ṏ' => 'Ṏ' (line 1494) 1120s # Converting 'Ṑ' => 'Ṑ' (line 1495) 1120s # Converting 'ṑ' => 'Ṑ' (line 1496) 1120s # Converting 'Ṓ' => 'Ṓ' (line 1497) 1120s # Converting 'ṓ' => 'Ṓ' (line 1498) 1120s # Converting 'Ṕ' => 'Ṕ' (line 1499) 1120s # Converting 'ṕ' => 'Ṕ' (line 1500) 1120s # Converting 'Ṗ' => 'Ṗ' (line 1501) 1120s # Converting 'ṗ' => 'Ṗ' (line 1502) 1120s # Converting 'Ṙ' => 'Ṙ' (line 1503) 1120s # Converting 'ṙ' => 'Ṙ' (line 1504) 1120s # Converting 'Ṛ' => 'Ṛ' (line 1505) 1120s # Converting 'ṛ' => 'Ṛ' (line 1506) 1120s # Converting 'Ṝ' => 'Ṝ' (line 1507) 1120s # Converting 'ṝ' => 'Ṝ' (line 1508) 1120s # Converting 'Ṟ' => 'Ṟ' (line 1509) 1120s # Converting 'ṟ' => 'Ṟ' (line 1510) 1120s # Converting 'Ṡ' => 'Ṡ' (line 1511) 1120s # Converting 'ṡ' => 'Ṡ' (line 1512) 1120s # Converting 'Ṣ' => 'Ṣ' (line 1513) 1120s # Converting 'ṣ' => 'Ṣ' (line 1514) 1120s # Converting 'Ṥ' => 'Ṥ' (line 1515) 1120s # Converting 'ṥ' => 'Ṥ' (line 1516) 1120s # Converting 'Ṧ' => 'Ṧ' (line 1517) 1120s # Converting 'ṧ' => 'Ṧ' (line 1518) 1120s # Converting 'Ṩ' => 'Ṩ' (line 1519) 1120s # Converting 'ṩ' => 'Ṩ' (line 1520) 1120s # Converting 'Ṫ' => 'Ṫ' (line 1521) 1120s # Converting 'ṫ' => 'Ṫ' (line 1522) 1120s # Converting 'Ṭ' => 'Ṭ' (line 1523) 1120s # Converting 'ṭ' => 'Ṭ' (line 1524) 1120s # Converting 'Ṯ' => 'Ṯ' (line 1525) 1120s # Converting 'ṯ' => 'Ṯ' (line 1526) 1120s # Converting 'Ṱ' => 'Ṱ' (line 1527) 1120s # Converting 'ṱ' => 'Ṱ' (line 1528) 1120s # Converting 'Ṳ' => 'Ṳ' (line 1529) 1120s # Converting 'ṳ' => 'Ṳ' (line 1530) 1120s # Converting 'Ṵ' => 'Ṵ' (line 1531) 1120s # Converting 'ṵ' => 'Ṵ' (line 1532) 1120s # Converting 'Ṷ' => 'Ṷ' (line 1533) 1120s # Converting 'ṷ' => 'Ṷ' (line 1534) 1120s # Converting 'Ṹ' => 'Ṹ' (line 1535) 1120s # Converting 'ṹ' => 'Ṹ' (line 1536) 1120s # Converting 'Ṻ' => 'Ṻ' (line 1537) 1120s # Converting 'ṻ' => 'Ṻ' (line 1538) 1120s # Converting 'Ṽ' => 'Ṽ' (line 1539) 1120s # Converting 'ṽ' => 'Ṽ' (line 1540) 1120s # Converting 'Ṿ' => 'Ṿ' (line 1541) 1120s # Converting 'ṿ' => 'Ṿ' (line 1542) 1120s # Converting 'Ẁ' => 'Ẁ' (line 1543) 1120s # Converting 'ẁ' => 'Ẁ' (line 1544) 1120s # Converting 'Ẃ' => 'Ẃ' (line 1545) 1120s # Converting 'ẃ' => 'Ẃ' (line 1546) 1120s # Converting 'Ẅ' => 'Ẅ' (line 1547) 1120s # Converting 'ẅ' => 'Ẅ' (line 1548) 1120s # Converting 'Ẇ' => 'Ẇ' (line 1549) 1120s # Converting 'ẇ' => 'Ẇ' (line 1550) 1120s # Converting 'Ẉ' => 'Ẉ' (line 1551) 1120s # Converting 'ẉ' => 'Ẉ' (line 1552) 1120s # Converting 'Ẋ' => 'Ẋ' (line 1553) 1120s # Converting 'ẋ' => 'Ẋ' (line 1554) 1120s # Converting 'Ẍ' => 'Ẍ' (line 1555) 1120s # Converting 'ẍ' => 'Ẍ' (line 1556) 1120s # Converting 'Ẏ' => 'Ẏ' (line 1557) 1120s # Converting 'ẏ' => 'Ẏ' (line 1558) 1120s # Converting 'Ẑ' => 'Ẑ' (line 1559) 1120s # Converting 'ẑ' => 'Ẑ' (line 1560) 1120s # Converting 'Ẓ' => 'Ẓ' (line 1561) 1120s # Converting 'ẓ' => 'Ẓ' (line 1562) 1120s # Converting 'Ẕ' => 'Ẕ' (line 1563) 1120s # Converting 'ẕ' => 'Ẕ' (line 1564) 1120s # Converting 'ẖ' => 'H̱' (line 1565) 1120s # Converting 'ẗ' => 'T̈' (line 1566) 1120s # Converting 'ẘ' => 'W̊' (line 1567) 1120s # Converting 'ẙ' => 'Y̊' (line 1568) 1120s # Converting 'ẚ' => 'Aʾ' (line 1569) 1120s # Converting 'ẛ' => 'Ṡ' (line 1570) 1120s # Converting 'ẜ' => 'ẜ' (line 1571) 1120s # Converting 'ẝ' => 'ẝ' (line 1572) 1120s # Converting 'ẞ' => 'ẞ' (line 1573) 1120s # Converting 'ẟ' => 'ẟ' (line 1574) 1120s # Converting 'Ạ' => 'Ạ' (line 1575) 1120s # Converting 'ạ' => 'Ạ' (line 1576) 1120s # Converting 'Ả' => 'Ả' (line 1577) 1120s # Converting 'ả' => 'Ả' (line 1578) 1120s # Converting 'Ấ' => 'Ấ' (line 1579) 1120s # Converting 'ấ' => 'Ấ' (line 1580) 1120s # Converting 'Ầ' => 'Ầ' (line 1581) 1120s # Converting 'ầ' => 'Ầ' (line 1582) 1120s # Converting 'Ẩ' => 'Ẩ' (line 1583) 1120s # Converting 'ẩ' => 'Ẩ' (line 1584) 1120s # Converting 'Ẫ' => 'Ẫ' (line 1585) 1120s # Converting 'ẫ' => 'Ẫ' (line 1586) 1120s # Converting 'Ậ' => 'Ậ' (line 1587) 1120s # Converting 'ậ' => 'Ậ' (line 1588) 1120s # Converting 'Ắ' => 'Ắ' (line 1589) 1120s # Converting 'ắ' => 'Ắ' (line 1590) 1120s # Converting 'Ằ' => 'Ằ' (line 1591) 1120s # Converting 'ằ' => 'Ằ' (line 1592) 1120s # Converting 'Ẳ' => 'Ẳ' (line 1593) 1120s # Converting 'ẳ' => 'Ẳ' (line 1594) 1120s # Converting 'Ẵ' => 'Ẵ' (line 1595) 1120s # Converting 'ẵ' => 'Ẵ' (line 1596) 1120s # Converting 'Ặ' => 'Ặ' (line 1597) 1120s # Converting 'ặ' => 'Ặ' (line 1598) 1120s # Converting 'Ẹ' => 'Ẹ' (line 1599) 1120s # Converting 'ẹ' => 'Ẹ' (line 1600) 1120s # Converting 'Ẻ' => 'Ẻ' (line 1601) 1120s # Converting 'ẻ' => 'Ẻ' (line 1602) 1120s # Converting 'Ẽ' => 'Ẽ' (line 1603) 1120s # Converting 'ẽ' => 'Ẽ' (line 1604) 1120s # Converting 'Ế' => 'Ế' (line 1605) 1120s # Converting 'ế' => 'Ế' (line 1606) 1120s # Converting 'Ề' => 'Ề' (line 1607) 1120s # Converting 'ề' => 'Ề' (line 1608) 1120s # Converting 'Ể' => 'Ể' (line 1609) 1120s # Converting 'ể' => 'Ể' (line 1610) 1120s # Converting 'Ễ' => 'Ễ' (line 1611) 1120s # Converting 'ễ' => 'Ễ' (line 1612) 1120s # Converting 'Ệ' => 'Ệ' (line 1613) 1120s # Converting 'ệ' => 'Ệ' (line 1614) 1120s # Converting 'Ỉ' => 'Ỉ' (line 1615) 1120s # Converting 'ỉ' => 'Ỉ' (line 1616) 1120s # Converting 'Ị' => 'Ị' (line 1617) 1120s # Converting 'ị' => 'Ị' (line 1618) 1120s # Converting 'Ọ' => 'Ọ' (line 1619) 1120s # Converting 'ọ' => 'Ọ' (line 1620) 1120s # Converting 'Ỏ' => 'Ỏ' (line 1621) 1120s # Converting 'ỏ' => 'Ỏ' (line 1622) 1120s # Converting 'Ố' => 'Ố' (line 1623) 1120s # Converting 'ố' => 'Ố' (line 1624) 1120s # Converting 'Ồ' => 'Ồ' (line 1625) 1120s # Converting 'ồ' => 'Ồ' (line 1626) 1120s # Converting 'Ổ' => 'Ổ' (line 1627) 1120s # Converting 'ổ' => 'Ổ' (line 1628) 1120s # Converting 'Ỗ' => 'Ỗ' (line 1629) 1120s # Converting 'ỗ' => 'Ỗ' (line 1630) 1120s # Converting 'Ộ' => 'Ộ' (line 1631) 1120s # Converting 'ộ' => 'Ộ' (line 1632) 1120s # Converting 'Ớ' => 'Ớ' (line 1633) 1120s # Converting 'ớ' => 'Ớ' (line 1634) 1120s # Converting 'Ờ' => 'Ờ' (line 1635) 1120s # Converting 'ờ' => 'Ờ' (line 1636) 1120s # Converting 'Ở' => 'Ở' (line 1637) 1120s # Converting 'ở' => 'Ở' (line 1638) 1120s # Converting 'Ỡ' => 'Ỡ' (line 1639) 1120s # Converting 'ỡ' => 'Ỡ' (line 1640) 1120s # Converting 'Ợ' => 'Ợ' (line 1641) 1120s # Converting 'ợ' => 'Ợ' (line 1642) 1120s # Converting 'Ụ' => 'Ụ' (line 1643) 1120s # Converting 'ụ' => 'Ụ' (line 1644) 1120s # Converting 'Ủ' => 'Ủ' (line 1645) 1120s # Converting 'ủ' => 'Ủ' (line 1646) 1120s # Converting 'Ứ' => 'Ứ' (line 1647) 1120s # Converting 'ứ' => 'Ứ' (line 1648) 1120s # Converting 'Ừ' => 'Ừ' (line 1649) 1120s # Converting 'ừ' => 'Ừ' (line 1650) 1120s # Converting 'Ử' => 'Ử' (line 1651) 1120s # Converting 'ử' => 'Ử' (line 1652) 1120s # Converting 'Ữ' => 'Ữ' (line 1653) 1120s # Converting 'ữ' => 'Ữ' (line 1654) 1120s # Converting 'Ự' => 'Ự' (line 1655) 1120s # Converting 'ự' => 'Ự' (line 1656) 1120s # Converting 'Ỳ' => 'Ỳ' (line 1657) 1120s # Converting 'ỳ' => 'Ỳ' (line 1658) 1120s # Converting 'Ỵ' => 'Ỵ' (line 1659) 1120s # Converting 'ỵ' => 'Ỵ' (line 1660) 1120s # Converting 'Ỷ' => 'Ỷ' (line 1661) 1120s # Converting 'ỷ' => 'Ỷ' (line 1662) 1120s # Converting 'Ỹ' => 'Ỹ' (line 1663) 1120s # Converting 'ỹ' => 'Ỹ' (line 1664) 1120s # Converting 'Ỻ' => 'Ỻ' (line 1665) 1120s # Converting 'ỻ' => 'Ỻ' (line 1666) 1120s # Converting 'Ỽ' => 'Ỽ' (line 1667) 1120s # Converting 'ỽ' => 'Ỽ' (line 1668) 1120s # Converting 'Ỿ' => 'Ỿ' (line 1669) 1120s # Converting 'ỿ' => 'Ỿ' (line 1670) 1120s # Converting 'ἀ' => 'Ἀ' (line 1671) 1120s # Converting 'ἁ' => 'Ἁ' (line 1672) 1120s # Converting 'ἂ' => 'Ἂ' (line 1673) 1120s # Converting 'ἃ' => 'Ἃ' (line 1674) 1120s # Converting 'ἄ' => 'Ἄ' (line 1675) 1120s # Converting 'ἅ' => 'Ἅ' (line 1676) 1120s # Converting 'ἆ' => 'Ἆ' (line 1677) 1120s # Converting 'ἇ' => 'Ἇ' (line 1678) 1120s # Converting 'Ἀ' => 'Ἀ' (line 1679) 1120s # Converting 'Ἁ' => 'Ἁ' (line 1680) 1120s # Converting 'Ἂ' => 'Ἂ' (line 1681) 1120s # Converting 'Ἃ' => 'Ἃ' (line 1682) 1120s # Converting 'Ἄ' => 'Ἄ' (line 1683) 1120s # Converting 'Ἅ' => 'Ἅ' (line 1684) 1120s # Converting 'Ἆ' => 'Ἆ' (line 1685) 1120s # Converting 'Ἇ' => 'Ἇ' (line 1686) 1120s # Converting 'ἐ' => 'Ἐ' (line 1687) 1120s # Converting 'ἑ' => 'Ἑ' (line 1688) 1120s # Converting 'ἒ' => 'Ἒ' (line 1689) 1120s # Converting 'ἓ' => 'Ἓ' (line 1690) 1120s # Converting 'ἔ' => 'Ἔ' (line 1691) 1120s # Converting 'ἕ' => 'Ἕ' (line 1692) 1120s # Converting 'Ἐ' => 'Ἐ' (line 1693) 1120s # Converting 'Ἑ' => 'Ἑ' (line 1694) 1120s # Converting 'Ἒ' => 'Ἒ' (line 1695) 1120s # Converting 'Ἓ' => 'Ἓ' (line 1696) 1120s # Converting 'Ἔ' => 'Ἔ' (line 1697) 1120s # Converting 'Ἕ' => 'Ἕ' (line 1698) 1120s # Converting 'ἠ' => 'Ἠ' (line 1699) 1120s # Converting 'ἡ' => 'Ἡ' (line 1700) 1120s # Converting 'ἢ' => 'Ἢ' (line 1701) 1120s # Converting 'ἣ' => 'Ἣ' (line 1702) 1120s # Converting 'ἤ' => 'Ἤ' (line 1703) 1120s # Converting 'ἥ' => 'Ἥ' (line 1704) 1120s # Converting 'ἦ' => 'Ἦ' (line 1705) 1120s # Converting 'ἧ' => 'Ἧ' (line 1706) 1120s # Converting 'Ἠ' => 'Ἠ' (line 1707) 1120s # Converting 'Ἡ' => 'Ἡ' (line 1708) 1120s # Converting 'Ἢ' => 'Ἢ' (line 1709) 1120s # Converting 'Ἣ' => 'Ἣ' (line 1710) 1120s # Converting 'Ἤ' => 'Ἤ' (line 1711) 1120s # Converting 'Ἥ' => 'Ἥ' (line 1712) 1120s # Converting 'Ἦ' => 'Ἦ' (line 1713) 1120s # Converting 'Ἧ' => 'Ἧ' (line 1714) 1120s # Converting 'ἰ' => 'Ἰ' (line 1715) 1120s # Converting 'ἱ' => 'Ἱ' (line 1716) 1120s # Converting 'ἲ' => 'Ἲ' (line 1717) 1120s # Converting 'ἳ' => 'Ἳ' (line 1718) 1120s # Converting 'ἴ' => 'Ἴ' (line 1719) 1120s # Converting 'ἵ' => 'Ἵ' (line 1720) 1120s # Converting 'ἶ' => 'Ἶ' (line 1721) 1120s # Converting 'ἷ' => 'Ἷ' (line 1722) 1120s # Converting 'Ἰ' => 'Ἰ' (line 1723) 1120s # Converting 'Ἱ' => 'Ἱ' (line 1724) 1120s # Converting 'Ἲ' => 'Ἲ' (line 1725) 1120s # Converting 'Ἳ' => 'Ἳ' (line 1726) 1120s # Converting 'Ἴ' => 'Ἴ' (line 1727) 1120s # Converting 'Ἵ' => 'Ἵ' (line 1728) 1120s # Converting 'Ἶ' => 'Ἶ' (line 1729) 1120s # Converting 'Ἷ' => 'Ἷ' (line 1730) 1120s # Converting 'ὀ' => 'Ὀ' (line 1731) 1120s # Converting 'ὁ' => 'Ὁ' (line 1732) 1120s # Converting 'ὂ' => 'Ὂ' (line 1733) 1120s # Converting 'ὃ' => 'Ὃ' (line 1734) 1120s # Converting 'ὄ' => 'Ὄ' (line 1735) 1120s # Converting 'ὅ' => 'Ὅ' (line 1736) 1120s # Converting 'Ὀ' => 'Ὀ' (line 1737) 1120s # Converting 'Ὁ' => 'Ὁ' (line 1738) 1120s # Converting 'Ὂ' => 'Ὂ' (line 1739) 1120s # Converting 'Ὃ' => 'Ὃ' (line 1740) 1120s # Converting 'Ὄ' => 'Ὄ' (line 1741) 1120s # Converting 'Ὅ' => 'Ὅ' (line 1742) 1120s # Converting 'ὐ' => 'Υ̓' (line 1743) 1120s # Converting 'ὑ' => 'Ὑ' (line 1744) 1120s # Converting 'ὒ' => 'Υ̓̀' (line 1745) 1120s # Converting 'ὓ' => 'Ὓ' (line 1746) 1120s # Converting 'ὔ' => 'Υ̓́' (line 1747) 1120s # Converting 'ὕ' => 'Ὕ' (line 1748) 1120s # Converting 'ὖ' => 'Υ̓͂' (line 1749) 1120s # Converting 'ὗ' => 'Ὗ' (line 1750) 1120s # Converting 'Ὑ' => 'Ὑ' (line 1751) 1120s # Converting 'Ὓ' => 'Ὓ' (line 1752) 1120s # Converting 'Ὕ' => 'Ὕ' (line 1753) 1120s # Converting 'Ὗ' => 'Ὗ' (line 1754) 1120s # Converting 'ὠ' => 'Ὠ' (line 1755) 1120s # Converting 'ὡ' => 'Ὡ' (line 1756) 1120s # Converting 'ὢ' => 'Ὢ' (line 1757) 1120s # Converting 'ὣ' => 'Ὣ' (line 1758) 1120s # Converting 'ὤ' => 'Ὤ' (line 1759) 1120s # Converting 'ὥ' => 'Ὥ' (line 1760) 1120s # Converting 'ὦ' => 'Ὦ' (line 1761) 1120s # Converting 'ὧ' => 'Ὧ' (line 1762) 1120s # Converting 'Ὠ' => 'Ὠ' (line 1763) 1120s # Converting 'Ὡ' => 'Ὡ' (line 1764) 1120s # Converting 'Ὢ' => 'Ὢ' (line 1765) 1120s # Converting 'Ὣ' => 'Ὣ' (line 1766) 1120s # Converting 'Ὤ' => 'Ὤ' (line 1767) 1120s # Converting 'Ὥ' => 'Ὥ' (line 1768) 1120s # Converting 'Ὦ' => 'Ὦ' (line 1769) 1120s # Converting 'Ὧ' => 'Ὧ' (line 1770) 1120s # Converting 'ὰ' => 'Ὰ' (line 1771) 1120s # Converting 'ά' => 'Ά' (line 1772) 1120s # Converting 'ὲ' => 'Ὲ' (line 1773) 1120s # Converting 'έ' => 'Έ' (line 1774) 1120s # Converting 'ὴ' => 'Ὴ' (line 1775) 1120s # Converting 'ή' => 'Ή' (line 1776) 1120s # Converting 'ὶ' => 'Ὶ' (line 1777) 1120s # Converting 'ί' => 'Ί' (line 1778) 1120s # Converting 'ὸ' => 'Ὸ' (line 1779) 1120s # Converting 'ό' => 'Ό' (line 1780) 1120s # Converting 'ὺ' => 'Ὺ' (line 1781) 1120s # Converting 'ύ' => 'Ύ' (line 1782) 1120s # Converting 'ὼ' => 'Ὼ' (line 1783) 1120s # Converting 'ώ' => 'Ώ' (line 1784) 1120s # Converting 'ᾀ' => 'ἈΙ' (line 1785) 1120s # Converting 'ᾁ' => 'ἉΙ' (line 1786) 1120s # Converting 'ᾂ' => 'ἊΙ' (line 1787) 1120s # Converting 'ᾃ' => 'ἋΙ' (line 1788) 1120s # Converting 'ᾄ' => 'ἌΙ' (line 1789) 1120s # Converting 'ᾅ' => 'ἍΙ' (line 1790) 1120s # Converting 'ᾆ' => 'ἎΙ' (line 1791) 1120s # Converting 'ᾇ' => 'ἏΙ' (line 1792) 1120s # Converting 'ᾈ' => 'ἈΙ' (line 1793) 1120s # Converting 'ᾉ' => 'ἉΙ' (line 1794) 1120s # Converting 'ᾊ' => 'ἊΙ' (line 1795) 1120s # Converting 'ᾋ' => 'ἋΙ' (line 1796) 1120s # Converting 'ᾌ' => 'ἌΙ' (line 1797) 1120s # Converting 'ᾍ' => 'ἍΙ' (line 1798) 1120s # Converting 'ᾎ' => 'ἎΙ' (line 1799) 1120s # Converting 'ᾏ' => 'ἏΙ' (line 1800) 1120s # Converting 'ᾐ' => 'ἨΙ' (line 1801) 1120s # Converting 'ᾑ' => 'ἩΙ' (line 1802) 1120s # Converting 'ᾒ' => 'ἪΙ' (line 1803) 1120s # Converting 'ᾓ' => 'ἫΙ' (line 1804) 1120s # Converting 'ᾔ' => 'ἬΙ' (line 1805) 1120s # Converting 'ᾕ' => 'ἭΙ' (line 1806) 1120s # Converting 'ᾖ' => 'ἮΙ' (line 1807) 1120s # Converting 'ᾗ' => 'ἯΙ' (line 1808) 1120s # Converting 'ᾘ' => 'ἨΙ' (line 1809) 1120s # Converting 'ᾙ' => 'ἩΙ' (line 1810) 1120s # Converting 'ᾚ' => 'ἪΙ' (line 1811) 1120s # Converting 'ᾛ' => 'ἫΙ' (line 1812) 1120s # Converting 'ᾜ' => 'ἬΙ' (line 1813) 1120s # Converting 'ᾝ' => 'ἭΙ' (line 1814) 1120s # Converting 'ᾞ' => 'ἮΙ' (line 1815) 1120s # Converting 'ᾟ' => 'ἯΙ' (line 1816) 1120s # Converting 'ᾠ' => 'ὨΙ' (line 1817) 1120s # Converting 'ᾡ' => 'ὩΙ' (line 1818) 1120s # Converting 'ᾢ' => 'ὪΙ' (line 1819) 1120s # Converting 'ᾣ' => 'ὫΙ' (line 1820) 1120s # Converting 'ᾤ' => 'ὬΙ' (line 1821) 1120s # Converting 'ᾥ' => 'ὭΙ' (line 1822) 1120s # Converting 'ᾦ' => 'ὮΙ' (line 1823) 1120s # Converting 'ᾧ' => 'ὯΙ' (line 1824) 1120s # Converting 'ᾨ' => 'ὨΙ' (line 1825) 1120s # Converting 'ᾩ' => 'ὩΙ' (line 1826) 1120s # Converting 'ᾪ' => 'ὪΙ' (line 1827) 1120s # Converting 'ᾫ' => 'ὫΙ' (line 1828) 1120s # Converting 'ᾬ' => 'ὬΙ' (line 1829) 1120s # Converting 'ᾭ' => 'ὭΙ' (line 1830) 1120s # Converting 'ᾮ' => 'ὮΙ' (line 1831) 1120s # Converting 'ᾯ' => 'ὯΙ' (line 1832) 1120s # Converting 'ᾰ' => 'Ᾰ' (line 1833) 1120s # Converting 'ᾱ' => 'Ᾱ' (line 1834) 1120s # Converting 'ᾲ' => 'ᾺΙ' (line 1835) 1120s # Converting 'ᾳ' => 'ΑΙ' (line 1836) 1120s # Converting 'ᾴ' => 'ΆΙ' (line 1837) 1120s # Converting 'ᾶ' => 'Α͂' (line 1838) 1120s # Converting 'ᾷ' => 'Α͂Ι' (line 1839) 1120s # Converting 'Ᾰ' => 'Ᾰ' (line 1840) 1120s # Converting 'Ᾱ' => 'Ᾱ' (line 1841) 1120s # Converting 'Ὰ' => 'Ὰ' (line 1842) 1120s # Converting 'Ά' => 'Ά' (line 1843) 1120s # Converting 'ᾼ' => 'ΑΙ' (line 1844) 1120s # Converting 'ι' => 'Ι' (line 1845) 1120s # Converting 'ῂ' => 'ῊΙ' (line 1846) 1120s # Converting 'ῃ' => 'ΗΙ' (line 1847) 1120s # Converting 'ῄ' => 'ΉΙ' (line 1848) 1120s # Converting 'ῆ' => 'Η͂' (line 1849) 1120s # Converting 'ῇ' => 'Η͂Ι' (line 1850) 1120s # Converting 'Ὲ' => 'Ὲ' (line 1851) 1120s # Converting 'Έ' => 'Έ' (line 1852) 1120s # Converting 'Ὴ' => 'Ὴ' (line 1853) 1120s # Converting 'Ή' => 'Ή' (line 1854) 1120s # Converting 'ῌ' => 'ΗΙ' (line 1855) 1120s # Converting 'ῐ' => 'Ῐ' (line 1856) 1120s # Converting 'ῑ' => 'Ῑ' (line 1857) 1120s # Converting 'ῒ' => 'Ϊ̀' (line 1858) 1120s # Converting 'ΐ' => 'Ϊ́' (line 1859) 1120s # Converting 'ῖ' => 'Ι͂' (line 1860) 1120s # Converting 'ῗ' => 'Ϊ͂' (line 1861) 1120s # Converting 'Ῐ' => 'Ῐ' (line 1862) 1120s # Converting 'Ῑ' => 'Ῑ' (line 1863) 1120s # Converting 'Ὶ' => 'Ὶ' (line 1864) 1120s # Converting 'Ί' => 'Ί' (line 1865) 1120s # Converting 'ῠ' => 'Ῠ' (line 1866) 1120s # Converting 'ῡ' => 'Ῡ' (line 1867) 1120s # Converting 'ῢ' => 'Ϋ̀' (line 1868) 1120s # Converting 'ΰ' => 'Ϋ́' (line 1869) 1120s # Converting 'ῤ' => 'Ρ̓' (line 1870) 1120s # Converting 'ῥ' => 'Ῥ' (line 1871) 1120s # Converting 'ῦ' => 'Υ͂' (line 1872) 1120s # Converting 'ῧ' => 'Ϋ͂' (line 1873) 1120s # Converting 'Ῠ' => 'Ῠ' (line 1874) 1120s # Converting 'Ῡ' => 'Ῡ' (line 1875) 1120s # Converting 'Ὺ' => 'Ὺ' (line 1876) 1120s # Converting 'Ύ' => 'Ύ' (line 1877) 1120s # Converting 'Ῥ' => 'Ῥ' (line 1878) 1120s # Converting 'ῲ' => 'ῺΙ' (line 1879) 1120s # Converting 'ῳ' => 'ΩΙ' (line 1880) 1120s # Converting 'ῴ' => 'ΏΙ' (line 1881) 1120s # Converting 'ῶ' => 'Ω͂' (line 1882) 1120s # Converting 'ῷ' => 'Ω͂Ι' (line 1883) 1120s # Converting 'Ὸ' => 'Ὸ' (line 1884) 1120s # Converting 'Ό' => 'Ό' (line 1885) 1120s # Converting 'Ὼ' => 'Ὼ' (line 1886) 1120s # Converting 'Ώ' => 'Ώ' (line 1887) 1120s # Converting 'ῼ' => 'ΩΙ' (line 1888) 1120s # Converting 'ℂ' => 'ℂ' (line 1889) 1120s # Converting 'ℇ' => 'ℇ' (line 1890) 1120s # Converting 'ℊ' => 'ℊ' (line 1891) 1120s # Converting 'ℋ' => 'ℋ' (line 1892) 1120s # Converting 'ℌ' => 'ℌ' (line 1893) 1120s # Converting 'ℍ' => 'ℍ' (line 1894) 1120s # Converting 'ℎ' => 'ℎ' (line 1895) 1120s # Converting 'ℏ' => 'ℏ' (line 1896) 1120s # Converting 'ℐ' => 'ℐ' (line 1897) 1120s # Converting 'ℑ' => 'ℑ' (line 1898) 1120s # Converting 'ℒ' => 'ℒ' (line 1899) 1120s # Converting 'ℓ' => 'ℓ' (line 1900) 1120s # Converting 'ℕ' => 'ℕ' (line 1901) 1120s # Converting 'ℙ' => 'ℙ' (line 1902) 1120s # Converting 'ℚ' => 'ℚ' (line 1903) 1120s # Converting 'ℛ' => 'ℛ' (line 1904) 1120s # Converting 'ℜ' => 'ℜ' (line 1905) 1120s # Converting 'ℝ' => 'ℝ' (line 1906) 1120s # Converting 'ℤ' => 'ℤ' (line 1907) 1120s # Converting 'Ω' => 'Ω' (line 1908) 1120s # Converting 'ℨ' => 'ℨ' (line 1909) 1120s # Converting 'K' => 'K' (line 1910) 1120s # Converting 'Å' => 'Å' (line 1911) 1120s # Converting 'ℬ' => 'ℬ' (line 1912) 1120s # Converting 'ℭ' => 'ℭ' (line 1913) 1120s # Converting 'ℯ' => 'ℯ' (line 1914) 1120s # Converting 'ℰ' => 'ℰ' (line 1915) 1120s # Converting 'ℱ' => 'ℱ' (line 1916) 1120s # Converting 'Ⅎ' => 'Ⅎ' (line 1917) 1120s # Converting 'ℳ' => 'ℳ' (line 1918) 1120s # Converting 'ℴ' => 'ℴ' (line 1919) 1120s # Converting 'ℹ' => 'ℹ' (line 1920) 1120s # Converting 'ℼ' => 'ℼ' (line 1921) 1120s # Converting 'ℽ' => 'ℽ' (line 1922) 1120s # Converting 'ℾ' => 'ℾ' (line 1923) 1120s # Converting 'ℿ' => 'ℿ' (line 1924) 1120s # Converting 'ⅅ' => 'ⅅ' (line 1925) 1120s # Converting 'ⅆ' => 'ⅆ' (line 1926) 1120s # Converting 'ⅇ' => 'ⅇ' (line 1927) 1120s # Converting 'ⅈ' => 'ⅈ' (line 1928) 1120s # Converting 'ⅉ' => 'ⅉ' (line 1929) 1120s # Converting 'ⅎ' => 'Ⅎ' (line 1930) 1120s # Converting 'Ↄ' => 'Ↄ' (line 1931) 1120s # Converting 'ↄ' => 'Ↄ' (line 1932) 1120s # Converting 'Ⰰ' => 'Ⰰ' (line 1933) 1120s # Converting 'Ⰱ' => 'Ⰱ' (line 1934) 1120s # Converting 'Ⰲ' => 'Ⰲ' (line 1935) 1120s # Converting 'Ⰳ' => 'Ⰳ' (line 1936) 1120s # Converting 'Ⰴ' => 'Ⰴ' (line 1937) 1120s # Converting 'Ⰵ' => 'Ⰵ' (line 1938) 1120s # Converting 'Ⰶ' => 'Ⰶ' (line 1939) 1120s # Converting 'Ⰷ' => 'Ⰷ' (line 1940) 1120s # Converting 'Ⰸ' => 'Ⰸ' (line 1941) 1120s # Converting 'Ⰹ' => 'Ⰹ' (line 1942) 1120s # Converting 'Ⰺ' => 'Ⰺ' (line 1943) 1120s # Converting 'Ⰻ' => 'Ⰻ' (line 1944) 1120s # Converting 'Ⰼ' => 'Ⰼ' (line 1945) 1120s # Converting 'Ⰽ' => 'Ⰽ' (line 1946) 1120s # Converting 'Ⰾ' => 'Ⰾ' (line 1947) 1120s # Converting 'Ⰿ' => 'Ⰿ' (line 1948) 1120s # Converting 'Ⱀ' => 'Ⱀ' (line 1949) 1120s # Converting 'Ⱁ' => 'Ⱁ' (line 1950) 1120s # Converting 'Ⱂ' => 'Ⱂ' (line 1951) 1120s # Converting 'Ⱃ' => 'Ⱃ' (line 1952) 1120s # Converting 'Ⱄ' => 'Ⱄ' (line 1953) 1120s # Converting 'Ⱅ' => 'Ⱅ' (line 1954) 1120s # Converting 'Ⱆ' => 'Ⱆ' (line 1955) 1120s # Converting 'Ⱇ' => 'Ⱇ' (line 1956) 1120s # Converting 'Ⱈ' => 'Ⱈ' (line 1957) 1120s # Converting 'Ⱉ' => 'Ⱉ' (line 1958) 1120s # Converting 'Ⱊ' => 'Ⱊ' (line 1959) 1120s # Converting 'Ⱋ' => 'Ⱋ' (line 1960) 1120s # Converting 'Ⱌ' => 'Ⱌ' (line 1961) 1120s # Converting 'Ⱍ' => 'Ⱍ' (line 1962) 1120s # Converting 'Ⱎ' => 'Ⱎ' (line 1963) 1120s # Converting 'Ⱏ' => 'Ⱏ' (line 1964) 1120s # Converting 'Ⱐ' => 'Ⱐ' (line 1965) 1120s # Converting 'Ⱑ' => 'Ⱑ' (line 1966) 1120s # Converting 'Ⱒ' => 'Ⱒ' (line 1967) 1120s # Converting 'Ⱓ' => 'Ⱓ' (line 1968) 1120s # Converting 'Ⱔ' => 'Ⱔ' (line 1969) 1120s # Converting 'Ⱕ' => 'Ⱕ' (line 1970) 1120s # Converting 'Ⱖ' => 'Ⱖ' (line 1971) 1120s # Converting 'Ⱗ' => 'Ⱗ' (line 1972) 1120s # Converting 'Ⱘ' => 'Ⱘ' (line 1973) 1120s # Converting 'Ⱙ' => 'Ⱙ' (line 1974) 1120s # Converting 'Ⱚ' => 'Ⱚ' (line 1975) 1120s # Converting 'Ⱛ' => 'Ⱛ' (line 1976) 1120s # Converting 'Ⱜ' => 'Ⱜ' (line 1977) 1120s # Converting 'Ⱝ' => 'Ⱝ' (line 1978) 1120s # Converting 'Ⱞ' => 'Ⱞ' (line 1979) 1120s # Converting 'Ⱟ' => 'Ⱟ' (line 1980) 1120s # Converting 'ⰰ' => 'Ⰰ' (line 1981) 1120s # Converting 'ⰱ' => 'Ⰱ' (line 1982) 1120s # Converting 'ⰲ' => 'Ⰲ' (line 1983) 1120s # Converting 'ⰳ' => 'Ⰳ' (line 1984) 1120s # Converting 'ⰴ' => 'Ⰴ' (line 1985) 1120s # Converting 'ⰵ' => 'Ⰵ' (line 1986) 1120s # Converting 'ⰶ' => 'Ⰶ' (line 1987) 1120s # Converting 'ⰷ' => 'Ⰷ' (line 1988) 1120s # Converting 'ⰸ' => 'Ⰸ' (line 1989) 1120s # Converting 'ⰹ' => 'Ⰹ' (line 1990) 1120s # Converting 'ⰺ' => 'Ⰺ' (line 1991) 1120s # Converting 'ⰻ' => 'Ⰻ' (line 1992) 1120s # Converting 'ⰼ' => 'Ⰼ' (line 1993) 1120s # Converting 'ⰽ' => 'Ⰽ' (line 1994) 1120s # Converting 'ⰾ' => 'Ⰾ' (line 1995) 1120s # Converting 'ⰿ' => 'Ⰿ' (line 1996) 1120s # Converting 'ⱀ' => 'Ⱀ' (line 1997) 1120s # Converting 'ⱁ' => 'Ⱁ' (line 1998) 1120s # Converting 'ⱂ' => 'Ⱂ' (line 1999) 1120s # Converting 'ⱃ' => 'Ⱃ' (line 2000) 1120s # Converting 'ⱄ' => 'Ⱄ' (line 2001) 1120s # Converting 'ⱅ' => 'Ⱅ' (line 2002) 1120s # Converting 'ⱆ' => 'Ⱆ' (line 2003) 1120s # Converting 'ⱇ' => 'Ⱇ' (line 2004) 1120s # Converting 'ⱈ' => 'Ⱈ' (line 2005) 1120s # Converting 'ⱉ' => 'Ⱉ' (line 2006) 1120s # Converting 'ⱊ' => 'Ⱊ' (line 2007) 1120s # Converting 'ⱋ' => 'Ⱋ' (line 2008) 1120s # Converting 'ⱌ' => 'Ⱌ' (line 2009) 1120s # Converting 'ⱍ' => 'Ⱍ' (line 2010) 1120s # Converting 'ⱎ' => 'Ⱎ' (line 2011) 1120s # Converting 'ⱏ' => 'Ⱏ' (line 2012) 1120s # Converting 'ⱐ' => 'Ⱐ' (line 2013) 1120s # Converting 'ⱑ' => 'Ⱑ' (line 2014) 1120s # Converting 'ⱒ' => 'Ⱒ' (line 2015) 1120s # Converting 'ⱓ' => 'Ⱓ' (line 2016) 1120s # Converting 'ⱔ' => 'Ⱔ' (line 2017) 1120s # Converting 'ⱕ' => 'Ⱕ' (line 2018) 1120s # Converting 'ⱖ' => 'Ⱖ' (line 2019) 1120s # Converting 'ⱗ' => 'Ⱗ' (line 2020) 1120s # Converting 'ⱘ' => 'Ⱘ' (line 2021) 1120s # Converting 'ⱙ' => 'Ⱙ' (line 2022) 1120s # Converting 'ⱚ' => 'Ⱚ' (line 2023) 1120s # Converting 'ⱛ' => 'Ⱛ' (line 2024) 1120s # Converting 'ⱜ' => 'Ⱜ' (line 2025) 1120s # Converting 'ⱝ' => 'Ⱝ' (line 2026) 1120s # Converting 'ⱞ' => 'Ⱞ' (line 2027) 1120s # Converting 'ⱟ' => 'Ⱟ' (line 2028) 1120s # Converting 'Ⱡ' => 'Ⱡ' (line 2029) 1120s # Converting 'ⱡ' => 'Ⱡ' (line 2030) 1120s # Converting 'Ɫ' => 'Ɫ' (line 2031) 1120s # Converting 'Ᵽ' => 'Ᵽ' (line 2032) 1120s # Converting 'Ɽ' => 'Ɽ' (line 2033) 1120s # Converting 'ⱥ' => 'Ⱥ' (line 2034) 1120s # Converting 'ⱦ' => 'Ⱦ' (line 2035) 1120s # Converting 'Ⱨ' => 'Ⱨ' (line 2036) 1120s # Converting 'ⱨ' => 'Ⱨ' (line 2037) 1120s # Converting 'Ⱪ' => 'Ⱪ' (line 2038) 1120s # Converting 'ⱪ' => 'Ⱪ' (line 2039) 1120s # Converting 'Ⱬ' => 'Ⱬ' (line 2040) 1120s # Converting 'ⱬ' => 'Ⱬ' (line 2041) 1120s # Converting 'Ɑ' => 'Ɑ' (line 2042) 1120s # Converting 'Ɱ' => 'Ɱ' (line 2043) 1120s # Converting 'Ɐ' => 'Ɐ' (line 2044) 1120s # Converting 'Ɒ' => 'Ɒ' (line 2045) 1120s # Converting 'ⱱ' => 'ⱱ' (line 2046) 1120s # Converting 'Ⱳ' => 'Ⱳ' (line 2047) 1120s # Converting 'ⱳ' => 'Ⱳ' (line 2048) 1120s # Converting 'ⱴ' => 'ⱴ' (line 2049) 1120s # Converting 'Ⱶ' => 'Ⱶ' (line 2050) 1120s # Converting 'ⱶ' => 'Ⱶ' (line 2051) 1120s # Converting 'ⱷ' => 'ⱷ' (line 2052) 1120s # Converting 'ⱸ' => 'ⱸ' (line 2053) 1120s # Converting 'ⱹ' => 'ⱹ' (line 2054) 1120s # Converting 'ⱺ' => 'ⱺ' (line 2055) 1120s # Converting 'ⱻ' => 'ⱻ' (line 2056) 1120s # Converting 'Ȿ' => 'Ȿ' (line 2057) 1120s # Converting 'Ɀ' => 'Ɀ' (line 2058) 1120s # Converting 'Ⲁ' => 'Ⲁ' (line 2059) 1120s # Converting 'ⲁ' => 'Ⲁ' (line 2060) 1120s # Converting 'Ⲃ' => 'Ⲃ' (line 2061) 1120s # Converting 'ⲃ' => 'Ⲃ' (line 2062) 1120s # Converting 'Ⲅ' => 'Ⲅ' (line 2063) 1120s # Converting 'ⲅ' => 'Ⲅ' (line 2064) 1120s # Converting 'Ⲇ' => 'Ⲇ' (line 2065) 1120s # Converting 'ⲇ' => 'Ⲇ' (line 2066) 1120s # Converting 'Ⲉ' => 'Ⲉ' (line 2067) 1120s # Converting 'ⲉ' => 'Ⲉ' (line 2068) 1120s # Converting 'Ⲋ' => 'Ⲋ' (line 2069) 1120s # Converting 'ⲋ' => 'Ⲋ' (line 2070) 1120s # Converting 'Ⲍ' => 'Ⲍ' (line 2071) 1120s # Converting 'ⲍ' => 'Ⲍ' (line 2072) 1120s # Converting 'Ⲏ' => 'Ⲏ' (line 2073) 1120s # Converting 'ⲏ' => 'Ⲏ' (line 2074) 1120s # Converting 'Ⲑ' => 'Ⲑ' (line 2075) 1120s # Converting 'ⲑ' => 'Ⲑ' (line 2076) 1120s # Converting 'Ⲓ' => 'Ⲓ' (line 2077) 1120s # Converting 'ⲓ' => 'Ⲓ' (line 2078) 1120s # Converting 'Ⲕ' => 'Ⲕ' (line 2079) 1120s # Converting 'ⲕ' => 'Ⲕ' (line 2080) 1120s # Converting 'Ⲗ' => 'Ⲗ' (line 2081) 1120s # Converting 'ⲗ' => 'Ⲗ' (line 2082) 1120s # Converting 'Ⲙ' => 'Ⲙ' (line 2083) 1120s # Converting 'ⲙ' => 'Ⲙ' (line 2084) 1120s # Converting 'Ⲛ' => 'Ⲛ' (line 2085) 1120s # Converting 'ⲛ' => 'Ⲛ' (line 2086) 1120s # Converting 'Ⲝ' => 'Ⲝ' (line 2087) 1120s # Converting 'ⲝ' => 'Ⲝ' (line 2088) 1120s # Converting 'Ⲟ' => 'Ⲟ' (line 2089) 1120s # Converting 'ⲟ' => 'Ⲟ' (line 2090) 1120s # Converting 'Ⲡ' => 'Ⲡ' (line 2091) 1120s # Converting 'ⲡ' => 'Ⲡ' (line 2092) 1120s # Converting 'Ⲣ' => 'Ⲣ' (line 2093) 1120s # Converting 'ⲣ' => 'Ⲣ' (line 2094) 1120s # Converting 'Ⲥ' => 'Ⲥ' (line 2095) 1120s # Converting 'ⲥ' => 'Ⲥ' (line 2096) 1120s # Converting 'Ⲧ' => 'Ⲧ' (line 2097) 1120s # Converting 'ⲧ' => 'Ⲧ' (line 2098) 1120s # Converting 'Ⲩ' => 'Ⲩ' (line 2099) 1120s # Converting 'ⲩ' => 'Ⲩ' (line 2100) 1120s # Converting 'Ⲫ' => 'Ⲫ' (line 2101) 1120s # Converting 'ⲫ' => 'Ⲫ' (line 2102) 1120s # Converting 'Ⲭ' => 'Ⲭ' (line 2103) 1120s # Converting 'ⲭ' => 'Ⲭ' (line 2104) 1120s # Converting 'Ⲯ' => 'Ⲯ' (line 2105) 1120s # Converting 'ⲯ' => 'Ⲯ' (line 2106) 1120s # Converting 'Ⲱ' => 'Ⲱ' (line 2107) 1120s # Converting 'ⲱ' => 'Ⲱ' (line 2108) 1120s # Converting 'Ⲳ' => 'Ⲳ' (line 2109) 1120s # Converting 'ⲳ' => 'Ⲳ' (line 2110) 1120s # Converting 'Ⲵ' => 'Ⲵ' (line 2111) 1120s # Converting 'ⲵ' => 'Ⲵ' (line 2112) 1120s # Converting 'Ⲷ' => 'Ⲷ' (line 2113) 1120s # Converting 'ⲷ' => 'Ⲷ' (line 2114) 1120s # Converting 'Ⲹ' => 'Ⲹ' (line 2115) 1120s # Converting 'ⲹ' => 'Ⲹ' (line 2116) 1120s # Converting 'Ⲻ' => 'Ⲻ' (line 2117) 1120s # Converting 'ⲻ' => 'Ⲻ' (line 2118) 1120s # Converting 'Ⲽ' => 'Ⲽ' (line 2119) 1120s # Converting 'ⲽ' => 'Ⲽ' (line 2120) 1120s # Converting 'Ⲿ' => 'Ⲿ' (line 2121) 1120s # Converting 'ⲿ' => 'Ⲿ' (line 2122) 1120s # Converting 'Ⳁ' => 'Ⳁ' (line 2123) 1120s # Converting 'ⳁ' => 'Ⳁ' (line 2124) 1120s # Converting 'Ⳃ' => 'Ⳃ' (line 2125) 1120s # Converting 'ⳃ' => 'Ⳃ' (line 2126) 1120s # Converting 'Ⳅ' => 'Ⳅ' (line 2127) 1120s # Converting 'ⳅ' => 'Ⳅ' (line 2128) 1120s # Converting 'Ⳇ' => 'Ⳇ' (line 2129) 1120s # Converting 'ⳇ' => 'Ⳇ' (line 2130) 1120s # Converting 'Ⳉ' => 'Ⳉ' (line 2131) 1120s # Converting 'ⳉ' => 'Ⳉ' (line 2132) 1120s # Converting 'Ⳋ' => 'Ⳋ' (line 2133) 1120s # Converting 'ⳋ' => 'Ⳋ' (line 2134) 1120s # Converting 'Ⳍ' => 'Ⳍ' (line 2135) 1120s # Converting 'ⳍ' => 'Ⳍ' (line 2136) 1120s # Converting 'Ⳏ' => 'Ⳏ' (line 2137) 1120s # Converting 'ⳏ' => 'Ⳏ' (line 2138) 1120s # Converting 'Ⳑ' => 'Ⳑ' (line 2139) 1120s # Converting 'ⳑ' => 'Ⳑ' (line 2140) 1120s # Converting 'Ⳓ' => 'Ⳓ' (line 2141) 1120s # Converting 'ⳓ' => 'Ⳓ' (line 2142) 1120s # Converting 'Ⳕ' => 'Ⳕ' (line 2143) 1120s # Converting 'ⳕ' => 'Ⳕ' (line 2144) 1120s # Converting 'Ⳗ' => 'Ⳗ' (line 2145) 1120s # Converting 'ⳗ' => 'Ⳗ' (line 2146) 1120s # Converting 'Ⳙ' => 'Ⳙ' (line 2147) 1120s # Converting 'ⳙ' => 'Ⳙ' (line 2148) 1120s # Converting 'Ⳛ' => 'Ⳛ' (line 2149) 1120s # Converting 'ⳛ' => 'Ⳛ' (line 2150) 1120s # Converting 'Ⳝ' => 'Ⳝ' (line 2151) 1120s # Converting 'ⳝ' => 'Ⳝ' (line 2152) 1120s # Converting 'Ⳟ' => 'Ⳟ' (line 2153) 1120s # Converting 'ⳟ' => 'Ⳟ' (line 2154) 1120s # Converting 'Ⳡ' => 'Ⳡ' (line 2155) 1120s # Converting 'ⳡ' => 'Ⳡ' (line 2156) 1120s # Converting 'Ⳣ' => 'Ⳣ' (line 2157) 1120s # Converting 'ⳣ' => 'Ⳣ' (line 2158) 1120s # Converting 'ⳤ' => 'ⳤ' (line 2159) 1120s # Converting 'Ⳬ' => 'Ⳬ' (line 2160) 1120s # Converting 'ⳬ' => 'Ⳬ' (line 2161) 1120s # Converting 'Ⳮ' => 'Ⳮ' (line 2162) 1120s # Converting 'ⳮ' => 'Ⳮ' (line 2163) 1120s # Converting 'Ⳳ' => 'Ⳳ' (line 2164) 1120s # Converting 'ⳳ' => 'Ⳳ' (line 2165) 1120s # Converting 'ⴀ' => 'Ⴀ' (line 2166) 1120s # Converting 'ⴁ' => 'Ⴁ' (line 2167) 1120s # Converting 'ⴂ' => 'Ⴂ' (line 2168) 1120s # Converting 'ⴃ' => 'Ⴃ' (line 2169) 1120s # Converting 'ⴄ' => 'Ⴄ' (line 2170) 1120s # Converting 'ⴅ' => 'Ⴅ' (line 2171) 1120s # Converting 'ⴆ' => 'Ⴆ' (line 2172) 1120s # Converting 'ⴇ' => 'Ⴇ' (line 2173) 1120s # Converting 'ⴈ' => 'Ⴈ' (line 2174) 1120s # Converting 'ⴉ' => 'Ⴉ' (line 2175) 1120s # Converting 'ⴊ' => 'Ⴊ' (line 2176) 1120s # Converting 'ⴋ' => 'Ⴋ' (line 2177) 1120s # Converting 'ⴌ' => 'Ⴌ' (line 2178) 1120s # Converting 'ⴍ' => 'Ⴍ' (line 2179) 1120s # Converting 'ⴎ' => 'Ⴎ' (line 2180) 1120s # Converting 'ⴏ' => 'Ⴏ' (line 2181) 1120s # Converting 'ⴐ' => 'Ⴐ' (line 2182) 1120s # Converting 'ⴑ' => 'Ⴑ' (line 2183) 1120s # Converting 'ⴒ' => 'Ⴒ' (line 2184) 1120s # Converting 'ⴓ' => 'Ⴓ' (line 2185) 1120s # Converting 'ⴔ' => 'Ⴔ' (line 2186) 1120s # Converting 'ⴕ' => 'Ⴕ' (line 2187) 1120s # Converting 'ⴖ' => 'Ⴖ' (line 2188) 1120s # Converting 'ⴗ' => 'Ⴗ' (line 2189) 1120s # Converting 'ⴘ' => 'Ⴘ' (line 2190) 1120s # Converting 'ⴙ' => 'Ⴙ' (line 2191) 1120s # Converting 'ⴚ' => 'Ⴚ' (line 2192) 1120s # Converting 'ⴛ' => 'Ⴛ' (line 2193) 1120s # Converting 'ⴜ' => 'Ⴜ' (line 2194) 1120s # Converting 'ⴝ' => 'Ⴝ' (line 2195) 1120s # Converting 'ⴞ' => 'Ⴞ' (line 2196) 1120s # Converting 'ⴟ' => 'Ⴟ' (line 2197) 1120s # Converting 'ⴠ' => 'Ⴠ' (line 2198) 1120s # Converting 'ⴡ' => 'Ⴡ' (line 2199) 1120s # Converting 'ⴢ' => 'Ⴢ' (line 2200) 1120s # Converting 'ⴣ' => 'Ⴣ' (line 2201) 1120s # Converting 'ⴤ' => 'Ⴤ' (line 2202) 1120s # Converting 'ⴥ' => 'Ⴥ' (line 2203) 1120s # Converting 'ⴧ' => 'Ⴧ' (line 2204) 1120s # Converting 'ⴭ' => 'Ⴭ' (line 2205) 1120s # Converting 'Ꙁ' => 'Ꙁ' (line 2206) 1120s # Converting 'ꙁ' => 'Ꙁ' (line 2207) 1120s # Converting 'Ꙃ' => 'Ꙃ' (line 2208) 1120s # Converting 'ꙃ' => 'Ꙃ' (line 2209) 1120s # Converting 'Ꙅ' => 'Ꙅ' (line 2210) 1120s # Converting 'ꙅ' => 'Ꙅ' (line 2211) 1120s # Converting 'Ꙇ' => 'Ꙇ' (line 2212) 1120s # Converting 'ꙇ' => 'Ꙇ' (line 2213) 1120s # Converting 'Ꙉ' => 'Ꙉ' (line 2214) 1120s # Converting 'ꙉ' => 'Ꙉ' (line 2215) 1120s # Converting 'Ꙋ' => 'Ꙋ' (line 2216) 1120s # Converting 'ꙋ' => 'Ꙋ' (line 2217) 1120s # Converting 'Ꙍ' => 'Ꙍ' (line 2218) 1120s # Converting 'ꙍ' => 'Ꙍ' (line 2219) 1120s # Converting 'Ꙏ' => 'Ꙏ' (line 2220) 1120s # Converting 'ꙏ' => 'Ꙏ' (line 2221) 1120s # Converting 'Ꙑ' => 'Ꙑ' (line 2222) 1120s # Converting 'ꙑ' => 'Ꙑ' (line 2223) 1120s # Converting 'Ꙓ' => 'Ꙓ' (line 2224) 1120s # Converting 'ꙓ' => 'Ꙓ' (line 2225) 1120s # Converting 'Ꙕ' => 'Ꙕ' (line 2226) 1120s # Converting 'ꙕ' => 'Ꙕ' (line 2227) 1120s # Converting 'Ꙗ' => 'Ꙗ' (line 2228) 1120s # Converting 'ꙗ' => 'Ꙗ' (line 2229) 1120s # Converting 'Ꙙ' => 'Ꙙ' (line 2230) 1120s # Converting 'ꙙ' => 'Ꙙ' (line 2231) 1120s # Converting 'Ꙛ' => 'Ꙛ' (line 2232) 1120s # Converting 'ꙛ' => 'Ꙛ' (line 2233) 1120s # Converting 'Ꙝ' => 'Ꙝ' (line 2234) 1120s # Converting 'ꙝ' => 'Ꙝ' (line 2235) 1120s # Converting 'Ꙟ' => 'Ꙟ' (line 2236) 1120s # Converting 'ꙟ' => 'Ꙟ' (line 2237) 1120s # Converting 'Ꙡ' => 'Ꙡ' (line 2238) 1120s # Converting 'ꙡ' => 'Ꙡ' (line 2239) 1120s # Converting 'Ꙣ' => 'Ꙣ' (line 2240) 1120s # Converting 'ꙣ' => 'Ꙣ' (line 2241) 1120s # Converting 'Ꙥ' => 'Ꙥ' (line 2242) 1120s # Converting 'ꙥ' => 'Ꙥ' (line 2243) 1120s # Converting 'Ꙧ' => 'Ꙧ' (line 2244) 1120s # Converting 'ꙧ' => 'Ꙧ' (line 2245) 1120s # Converting 'Ꙩ' => 'Ꙩ' (line 2246) 1120s # Converting 'ꙩ' => 'Ꙩ' (line 2247) 1120s # Converting 'Ꙫ' => 'Ꙫ' (line 2248) 1120s # Converting 'ꙫ' => 'Ꙫ' (line 2249) 1120s # Converting 'Ꙭ' => 'Ꙭ' (line 2250) 1120s # Converting 'ꙭ' => 'Ꙭ' (line 2251) 1120s # Converting 'Ꚁ' => 'Ꚁ' (line 2252) 1120s # Converting 'ꚁ' => 'Ꚁ' (line 2253) 1120s # Converting 'Ꚃ' => 'Ꚃ' (line 2254) 1120s # Converting 'ꚃ' => 'Ꚃ' (line 2255) 1120s # Converting 'Ꚅ' => 'Ꚅ' (line 2256) 1120s # Converting 'ꚅ' => 'Ꚅ' (line 2257) 1120s # Converting 'Ꚇ' => 'Ꚇ' (line 2258) 1120s # Converting 'ꚇ' => 'Ꚇ' (line 2259) 1120s # Converting 'Ꚉ' => 'Ꚉ' (line 2260) 1120s # Converting 'ꚉ' => 'Ꚉ' (line 2261) 1120s # Converting 'Ꚋ' => 'Ꚋ' (line 2262) 1120s # Converting 'ꚋ' => 'Ꚋ' (line 2263) 1120s # Converting 'Ꚍ' => 'Ꚍ' (line 2264) 1120s # Converting 'ꚍ' => 'Ꚍ' (line 2265) 1120s # Converting 'Ꚏ' => 'Ꚏ' (line 2266) 1120s # Converting 'ꚏ' => 'Ꚏ' (line 2267) 1120s # Converting 'Ꚑ' => 'Ꚑ' (line 2268) 1120s # Converting 'ꚑ' => 'Ꚑ' (line 2269) 1120s # Converting 'Ꚓ' => 'Ꚓ' (line 2270) 1120s # Converting 'ꚓ' => 'Ꚓ' (line 2271) 1120s # Converting 'Ꚕ' => 'Ꚕ' (line 2272) 1120s # Converting 'ꚕ' => 'Ꚕ' (line 2273) 1120s # Converting 'Ꚗ' => 'Ꚗ' (line 2274) 1120s # Converting 'ꚗ' => 'Ꚗ' (line 2275) 1120s # Converting 'Ꚙ' => 'Ꚙ' (line 2276) 1120s # Converting 'ꚙ' => 'Ꚙ' (line 2277) 1120s # Converting 'Ꚛ' => 'Ꚛ' (line 2278) 1120s # Converting 'ꚛ' => 'Ꚛ' (line 2279) 1120s # Converting 'Ꜣ' => 'Ꜣ' (line 2280) 1120s # Converting 'ꜣ' => 'Ꜣ' (line 2281) 1120s # Converting 'Ꜥ' => 'Ꜥ' (line 2282) 1120s # Converting 'ꜥ' => 'Ꜥ' (line 2283) 1120s # Converting 'Ꜧ' => 'Ꜧ' (line 2284) 1120s # Converting 'ꜧ' => 'Ꜧ' (line 2285) 1120s # Converting 'Ꜩ' => 'Ꜩ' (line 2286) 1120s # Converting 'ꜩ' => 'Ꜩ' (line 2287) 1120s # Converting 'Ꜫ' => 'Ꜫ' (line 2288) 1120s # Converting 'ꜫ' => 'Ꜫ' (line 2289) 1120s # Converting 'Ꜭ' => 'Ꜭ' (line 2290) 1120s # Converting 'ꜭ' => 'Ꜭ' (line 2291) 1120s # Converting 'Ꜯ' => 'Ꜯ' (line 2292) 1120s # Converting 'ꜯ' => 'Ꜯ' (line 2293) 1120s # Converting 'ꜰ' => 'ꜰ' (line 2294) 1120s # Converting 'ꜱ' => 'ꜱ' (line 2295) 1120s # Converting 'Ꜳ' => 'Ꜳ' (line 2296) 1120s # Converting 'ꜳ' => 'Ꜳ' (line 2297) 1120s # Converting 'Ꜵ' => 'Ꜵ' (line 2298) 1120s # Converting 'ꜵ' => 'Ꜵ' (line 2299) 1120s # Converting 'Ꜷ' => 'Ꜷ' (line 2300) 1120s # Converting 'ꜷ' => 'Ꜷ' (line 2301) 1120s # Converting 'Ꜹ' => 'Ꜹ' (line 2302) 1120s # Converting 'ꜹ' => 'Ꜹ' (line 2303) 1120s # Converting 'Ꜻ' => 'Ꜻ' (line 2304) 1120s # Converting 'ꜻ' => 'Ꜻ' (line 2305) 1120s # Converting 'Ꜽ' => 'Ꜽ' (line 2306) 1120s # Converting 'ꜽ' => 'Ꜽ' (line 2307) 1120s # Converting 'Ꜿ' => 'Ꜿ' (line 2308) 1120s # Converting 'ꜿ' => 'Ꜿ' (line 2309) 1120s # Converting 'Ꝁ' => 'Ꝁ' (line 2310) 1120s # Converting 'ꝁ' => 'Ꝁ' (line 2311) 1120s # Converting 'Ꝃ' => 'Ꝃ' (line 2312) 1120s # Converting 'ꝃ' => 'Ꝃ' (line 2313) 1120s # Converting 'Ꝅ' => 'Ꝅ' (line 2314) 1120s # Converting 'ꝅ' => 'Ꝅ' (line 2315) 1120s # Converting 'Ꝇ' => 'Ꝇ' (line 2316) 1120s # Converting 'ꝇ' => 'Ꝇ' (line 2317) 1120s # Converting 'Ꝉ' => 'Ꝉ' (line 2318) 1120s # Converting 'ꝉ' => 'Ꝉ' (line 2319) 1120s # Converting 'Ꝋ' => 'Ꝋ' (line 2320) 1120s # Converting 'ꝋ' => 'Ꝋ' (line 2321) 1120s # Converting 'Ꝍ' => 'Ꝍ' (line 2322) 1120s # Converting 'ꝍ' => 'Ꝍ' (line 2323) 1120s # Converting 'Ꝏ' => 'Ꝏ' (line 2324) 1120s # Converting 'ꝏ' => 'Ꝏ' (line 2325) 1120s # Converting 'Ꝑ' => 'Ꝑ' (line 2326) 1120s # Converting 'ꝑ' => 'Ꝑ' (line 2327) 1120s # Converting 'Ꝓ' => 'Ꝓ' (line 2328) 1120s # Converting 'ꝓ' => 'Ꝓ' (line 2329) 1120s # Converting 'Ꝕ' => 'Ꝕ' (line 2330) 1120s # Converting 'ꝕ' => 'Ꝕ' (line 2331) 1120s # Converting 'Ꝗ' => 'Ꝗ' (line 2332) 1120s # Converting 'ꝗ' => 'Ꝗ' (line 2333) 1120s # Converting 'Ꝙ' => 'Ꝙ' (line 2334) 1120s # Converting 'ꝙ' => 'Ꝙ' (line 2335) 1120s # Converting 'Ꝛ' => 'Ꝛ' (line 2336) 1120s # Converting 'ꝛ' => 'Ꝛ' (line 2337) 1120s # Converting 'Ꝝ' => 'Ꝝ' (line 2338) 1120s # Converting 'ꝝ' => 'Ꝝ' (line 2339) 1120s # Converting 'Ꝟ' => 'Ꝟ' (line 2340) 1120s # Converting 'ꝟ' => 'Ꝟ' (line 2341) 1120s # Converting 'Ꝡ' => 'Ꝡ' (line 2342) 1120s # Converting 'ꝡ' => 'Ꝡ' (line 2343) 1120s # Converting 'Ꝣ' => 'Ꝣ' (line 2344) 1120s # Converting 'ꝣ' => 'Ꝣ' (line 2345) 1120s # Converting 'Ꝥ' => 'Ꝥ' (line 2346) 1120s # Converting 'ꝥ' => 'Ꝥ' (line 2347) 1120s # Converting 'Ꝧ' => 'Ꝧ' (line 2348) 1120s # Converting 'ꝧ' => 'Ꝧ' (line 2349) 1120s # Converting 'Ꝩ' => 'Ꝩ' (line 2350) 1120s # Converting 'ꝩ' => 'Ꝩ' (line 2351) 1120s # Converting 'Ꝫ' => 'Ꝫ' (line 2352) 1120s # Converting 'ꝫ' => 'Ꝫ' (line 2353) 1120s # Converting 'Ꝭ' => 'Ꝭ' (line 2354) 1120s # Converting 'ꝭ' => 'Ꝭ' (line 2355) 1120s # Converting 'Ꝯ' => 'Ꝯ' (line 2356) 1120s # Converting 'ꝯ' => 'Ꝯ' (line 2357) 1120s # Converting 'ꝱ' => 'ꝱ' (line 2358) 1120s # Converting 'ꝲ' => 'ꝲ' (line 2359) 1120s # Converting 'ꝳ' => 'ꝳ' (line 2360) 1120s # Converting 'ꝴ' => 'ꝴ' (line 2361) 1120s # Converting 'ꝵ' => 'ꝵ' (line 2362) 1120s # Converting 'ꝶ' => 'ꝶ' (line 2363) 1120s # Converting 'ꝷ' => 'ꝷ' (line 2364) 1120s # Converting 'ꝸ' => 'ꝸ' (line 2365) 1120s # Converting 'Ꝺ' => 'Ꝺ' (line 2366) 1120s # Converting 'ꝺ' => 'Ꝺ' (line 2367) 1120s # Converting 'Ꝼ' => 'Ꝼ' (line 2368) 1120s # Converting 'ꝼ' => 'Ꝼ' (line 2369) 1120s # Converting 'Ᵹ' => 'Ᵹ' (line 2370) 1120s # Converting 'Ꝿ' => 'Ꝿ' (line 2371) 1120s # Converting 'ꝿ' => 'Ꝿ' (line 2372) 1120s # Converting 'Ꞁ' => 'Ꞁ' (line 2373) 1120s # Converting 'ꞁ' => 'Ꞁ' (line 2374) 1120s # Converting 'Ꞃ' => 'Ꞃ' (line 2375) 1120s # Converting 'ꞃ' => 'Ꞃ' (line 2376) 1120s # Converting 'Ꞅ' => 'Ꞅ' (line 2377) 1120s # Converting 'ꞅ' => 'Ꞅ' (line 2378) 1120s # Converting 'Ꞇ' => 'Ꞇ' (line 2379) 1120s # Converting 'ꞇ' => 'Ꞇ' (line 2380) 1120s # Converting 'Ꞌ' => 'Ꞌ' (line 2381) 1120s # Converting 'ꞌ' => 'Ꞌ' (line 2382) 1120s # Converting 'Ɥ' => 'Ɥ' (line 2383) 1120s # Converting 'ꞎ' => 'ꞎ' (line 2384) 1120s # Converting 'Ꞑ' => 'Ꞑ' (line 2385) 1120s # Converting 'ꞑ' => 'Ꞑ' (line 2386) 1120s # Converting 'Ꞓ' => 'Ꞓ' (line 2387) 1120s # Converting 'ꞓ' => 'Ꞓ' (line 2388) 1120s # Converting 'ꞔ' => 'Ꞔ' (line 2389) 1120s # Converting 'ꞕ' => 'ꞕ' (line 2390) 1120s # Converting 'Ꞗ' => 'Ꞗ' (line 2391) 1120s # Converting 'ꞗ' => 'Ꞗ' (line 2392) 1120s # Converting 'Ꞙ' => 'Ꞙ' (line 2393) 1120s # Converting 'ꞙ' => 'Ꞙ' (line 2394) 1120s # Converting 'Ꞛ' => 'Ꞛ' (line 2395) 1120s # Converting 'ꞛ' => 'Ꞛ' (line 2396) 1120s # Converting 'Ꞝ' => 'Ꞝ' (line 2397) 1120s # Converting 'ꞝ' => 'Ꞝ' (line 2398) 1120s # Converting 'Ꞟ' => 'Ꞟ' (line 2399) 1120s # Converting 'ꞟ' => 'Ꞟ' (line 2400) 1120s # Converting 'Ꞡ' => 'Ꞡ' (line 2401) 1120s # Converting 'ꞡ' => 'Ꞡ' (line 2402) 1120s # Converting 'Ꞣ' => 'Ꞣ' (line 2403) 1120s # Converting 'ꞣ' => 'Ꞣ' (line 2404) 1120s # Converting 'Ꞥ' => 'Ꞥ' (line 2405) 1120s # Converting 'ꞥ' => 'Ꞥ' (line 2406) 1120s # Converting 'Ꞧ' => 'Ꞧ' (line 2407) 1120s # Converting 'ꞧ' => 'Ꞧ' (line 2408) 1120s # Converting 'Ꞩ' => 'Ꞩ' (line 2409) 1120s # Converting 'ꞩ' => 'Ꞩ' (line 2410) 1120s # Converting 'Ɦ' => 'Ɦ' (line 2411) 1120s # Converting 'Ɜ' => 'Ɜ' (line 2412) 1120s # Converting 'Ɡ' => 'Ɡ' (line 2413) 1120s # Converting 'Ɬ' => 'Ɬ' (line 2414) 1120s # Converting 'Ɪ' => 'Ɪ' (line 2415) 1120s # Converting 'ꞯ' => 'ꞯ' (line 2416) 1120s # Converting 'Ʞ' => 'Ʞ' (line 2417) 1120s # Converting 'Ʇ' => 'Ʇ' (line 2418) 1120s # Converting 'Ʝ' => 'Ʝ' (line 2419) 1120s # Converting 'Ꭓ' => 'Ꭓ' (line 2420) 1120s # Converting 'Ꞵ' => 'Ꞵ' (line 2421) 1120s # Converting 'ꞵ' => 'Ꞵ' (line 2422) 1120s # Converting 'Ꞷ' => 'Ꞷ' (line 2423) 1120s # Converting 'ꞷ' => 'Ꞷ' (line 2424) 1120s # Converting 'Ꞹ' => 'Ꞹ' (line 2425) 1120s # Converting 'ꞹ' => 'Ꞹ' (line 2426) 1120s # Converting 'Ꞻ' => 'Ꞻ' (line 2427) 1120s # Converting 'ꞻ' => 'Ꞻ' (line 2428) 1120s # Converting 'Ꞽ' => 'Ꞽ' (line 2429) 1120s # Converting 'ꞽ' => 'Ꞽ' (line 2430) 1120s # Converting 'Ꞿ' => 'Ꞿ' (line 2431) 1120s # Converting 'ꞿ' => 'Ꞿ' (line 2432) 1120s # Converting 'Ꟁ' => 'Ꟁ' (line 2433) 1120s # Converting 'ꟁ' => 'Ꟁ' (line 2434) 1120s # Converting 'Ꟃ' => 'Ꟃ' (line 2435) 1120s # Converting 'ꟃ' => 'Ꟃ' (line 2436) 1120s # Converting 'Ꞔ' => 'Ꞔ' (line 2437) 1120s # Converting 'Ʂ' => 'Ʂ' (line 2438) 1120s # Converting 'Ᶎ' => 'Ᶎ' (line 2439) 1120s # Converting 'Ꟈ' => 'Ꟈ' (line 2440) 1120s # Converting 'ꟈ' => 'Ꟈ' (line 2441) 1120s # Converting 'Ꟊ' => 'Ꟊ' (line 2442) 1120s # Converting 'ꟊ' => 'Ꟊ' (line 2443) 1120s # Converting 'Ɤ' => 'Ɤ' (line 2444) 1120s # Converting 'Ꟍ' => 'Ꟍ' (line 2445) 1120s # Converting 'ꟍ' => 'Ꟍ' (line 2446) 1120s # Converting '꟎' => '꟎' (line 2447) 1120s # Converting '꟏' => '꟎' (line 2448) 1120s # Converting 'Ꟑ' => 'Ꟑ' (line 2449) 1120s # Converting 'ꟑ' => 'Ꟑ' (line 2450) 1120s # Converting '꟒' => '꟒' (line 2451) 1120s # Converting 'ꟓ' => '꟒' (line 2452) 1120s # Converting '꟔' => '꟔' (line 2453) 1120s # Converting 'ꟕ' => '꟔' (line 2454) 1120s # Converting 'Ꟗ' => 'Ꟗ' (line 2455) 1120s # Converting 'ꟗ' => 'Ꟗ' (line 2456) 1120s # Converting 'Ꟙ' => 'Ꟙ' (line 2457) 1120s # Converting 'ꟙ' => 'Ꟙ' (line 2458) 1120s # Converting 'Ꟛ' => 'Ꟛ' (line 2459) 1120s # Converting 'ꟛ' => 'Ꟛ' (line 2460) 1120s # Converting 'Ƛ' => 'Ƛ' (line 2461) 1120s # Converting 'Ꟶ' => 'Ꟶ' (line 2462) 1120s # Converting 'ꟶ' => 'Ꟶ' (line 2463) 1120s # Converting 'ꟺ' => 'ꟺ' (line 2464) 1120s # Converting 'ꬰ' => 'ꬰ' (line 2465) 1120s # Converting 'ꬱ' => 'ꬱ' (line 2466) 1120s # Converting 'ꬲ' => 'ꬲ' (line 2467) 1120s # Converting 'ꬳ' => 'ꬳ' (line 2468) 1120s # Converting 'ꬴ' => 'ꬴ' (line 2469) 1120s # Converting 'ꬵ' => 'ꬵ' (line 2470) 1120s # Converting 'ꬶ' => 'ꬶ' (line 2471) 1120s # Converting 'ꬷ' => 'ꬷ' (line 2472) 1120s # Converting 'ꬸ' => 'ꬸ' (line 2473) 1120s # Converting 'ꬹ' => 'ꬹ' (line 2474) 1120s # Converting 'ꬺ' => 'ꬺ' (line 2475) 1120s # Converting 'ꬻ' => 'ꬻ' (line 2476) 1120s # Converting 'ꬼ' => 'ꬼ' (line 2477) 1120s # Converting 'ꬽ' => 'ꬽ' (line 2478) 1120s # Converting 'ꬾ' => 'ꬾ' (line 2479) 1120s # Converting 'ꬿ' => 'ꬿ' (line 2480) 1120s # Converting 'ꭀ' => 'ꭀ' (line 2481) 1120s # Converting 'ꭁ' => 'ꭁ' (line 2482) 1120s # Converting 'ꭂ' => 'ꭂ' (line 2483) 1120s # Converting 'ꭃ' => 'ꭃ' (line 2484) 1120s # Converting 'ꭄ' => 'ꭄ' (line 2485) 1120s # Converting 'ꭅ' => 'ꭅ' (line 2486) 1120s # Converting 'ꭆ' => 'ꭆ' (line 2487) 1120s # Converting 'ꭇ' => 'ꭇ' (line 2488) 1120s # Converting 'ꭈ' => 'ꭈ' (line 2489) 1120s # Converting 'ꭉ' => 'ꭉ' (line 2490) 1120s # Converting 'ꭊ' => 'ꭊ' (line 2491) 1120s # Converting 'ꭋ' => 'ꭋ' (line 2492) 1120s # Converting 'ꭌ' => 'ꭌ' (line 2493) 1120s # Converting 'ꭍ' => 'ꭍ' (line 2494) 1120s # Converting 'ꭎ' => 'ꭎ' (line 2495) 1120s # Converting 'ꭏ' => 'ꭏ' (line 2496) 1120s # Converting 'ꭐ' => 'ꭐ' (line 2497) 1120s # Converting 'ꭑ' => 'ꭑ' (line 2498) 1120s # Converting 'ꭒ' => 'ꭒ' (line 2499) 1120s # Converting 'ꭓ' => 'Ꭓ' (line 2500) 1120s # Converting 'ꭔ' => 'ꭔ' (line 2501) 1120s # Converting 'ꭕ' => 'ꭕ' (line 2502) 1120s # Converting 'ꭖ' => 'ꭖ' (line 2503) 1120s # Converting 'ꭗ' => 'ꭗ' (line 2504) 1120s # Converting 'ꭘ' => 'ꭘ' (line 2505) 1120s # Converting 'ꭙ' => 'ꭙ' (line 2506) 1120s # Converting 'ꭚ' => 'ꭚ' (line 2507) 1120s # Converting 'ꭠ' => 'ꭠ' (line 2508) 1120s # Converting 'ꭡ' => 'ꭡ' (line 2509) 1120s # Converting 'ꭢ' => 'ꭢ' (line 2510) 1120s # Converting 'ꭣ' => 'ꭣ' (line 2511) 1120s # Converting 'ꭤ' => 'ꭤ' (line 2512) 1120s # Converting 'ꭥ' => 'ꭥ' (line 2513) 1120s # Converting 'ꭦ' => 'ꭦ' (line 2514) 1120s # Converting 'ꭧ' => 'ꭧ' (line 2515) 1120s # Converting 'ꭨ' => 'ꭨ' (line 2516) 1120s # Converting 'ꭰ' => 'Ꭰ' (line 2517) 1120s # Converting 'ꭱ' => 'Ꭱ' (line 2518) 1120s # Converting 'ꭲ' => 'Ꭲ' (line 2519) 1120s # Converting 'ꭳ' => 'Ꭳ' (line 2520) 1120s # Converting 'ꭴ' => 'Ꭴ' (line 2521) 1120s # Converting 'ꭵ' => 'Ꭵ' (line 2522) 1120s # Converting 'ꭶ' => 'Ꭶ' (line 2523) 1120s # Converting 'ꭷ' => 'Ꭷ' (line 2524) 1120s # Converting 'ꭸ' => 'Ꭸ' (line 2525) 1120s # Converting 'ꭹ' => 'Ꭹ' (line 2526) 1120s # Converting 'ꭺ' => 'Ꭺ' (line 2527) 1120s # Converting 'ꭻ' => 'Ꭻ' (line 2528) 1120s # Converting 'ꭼ' => 'Ꭼ' (line 2529) 1120s # Converting 'ꭽ' => 'Ꭽ' (line 2530) 1120s # Converting 'ꭾ' => 'Ꭾ' (line 2531) 1120s # Converting 'ꭿ' => 'Ꭿ' (line 2532) 1120s # Converting 'ꮀ' => 'Ꮀ' (line 2533) 1120s # Converting 'ꮁ' => 'Ꮁ' (line 2534) 1120s # Converting 'ꮂ' => 'Ꮂ' (line 2535) 1120s # Converting 'ꮃ' => 'Ꮃ' (line 2536) 1120s # Converting 'ꮄ' => 'Ꮄ' (line 2537) 1120s # Converting 'ꮅ' => 'Ꮅ' (line 2538) 1120s # Converting 'ꮆ' => 'Ꮆ' (line 2539) 1120s # Converting 'ꮇ' => 'Ꮇ' (line 2540) 1120s # Converting 'ꮈ' => 'Ꮈ' (line 2541) 1120s # Converting 'ꮉ' => 'Ꮉ' (line 2542) 1120s # Converting 'ꮊ' => 'Ꮊ' (line 2543) 1120s # Converting 'ꮋ' => 'Ꮋ' (line 2544) 1120s # Converting 'ꮌ' => 'Ꮌ' (line 2545) 1120s # Converting 'ꮍ' => 'Ꮍ' (line 2546) 1120s # Converting 'ꮎ' => 'Ꮎ' (line 2547) 1120s # Converting 'ꮏ' => 'Ꮏ' (line 2548) 1120s # Converting 'ꮐ' => 'Ꮐ' (line 2549) 1120s # Converting 'ꮑ' => 'Ꮑ' (line 2550) 1120s # Converting 'ꮒ' => 'Ꮒ' (line 2551) 1120s # Converting 'ꮓ' => 'Ꮓ' (line 2552) 1120s # Converting 'ꮔ' => 'Ꮔ' (line 2553) 1120s # Converting 'ꮕ' => 'Ꮕ' (line 2554) 1120s # Converting 'ꮖ' => 'Ꮖ' (line 2555) 1120s # Converting 'ꮗ' => 'Ꮗ' (line 2556) 1120s # Converting 'ꮘ' => 'Ꮘ' (line 2557) 1120s # Converting 'ꮙ' => 'Ꮙ' (line 2558) 1120s # Converting 'ꮚ' => 'Ꮚ' (line 2559) 1120s # Converting 'ꮛ' => 'Ꮛ' (line 2560) 1120s # Converting 'ꮜ' => 'Ꮜ' (line 2561) 1120s # Converting 'ꮝ' => 'Ꮝ' (line 2562) 1120s # Converting 'ꮞ' => 'Ꮞ' (line 2563) 1120s # Converting 'ꮟ' => 'Ꮟ' (line 2564) 1120s # Converting 'ꮠ' => 'Ꮠ' (line 2565) 1120s # Converting 'ꮡ' => 'Ꮡ' (line 2566) 1120s # Converting 'ꮢ' => 'Ꮢ' (line 2567) 1120s # Converting 'ꮣ' => 'Ꮣ' (line 2568) 1120s # Converting 'ꮤ' => 'Ꮤ' (line 2569) 1120s # Converting 'ꮥ' => 'Ꮥ' (line 2570) 1120s # Converting 'ꮦ' => 'Ꮦ' (line 2571) 1120s # Converting 'ꮧ' => 'Ꮧ' (line 2572) 1120s # Converting 'ꮨ' => 'Ꮨ' (line 2573) 1120s # Converting 'ꮩ' => 'Ꮩ' (line 2574) 1120s # Converting 'ꮪ' => 'Ꮪ' (line 2575) 1120s # Converting 'ꮫ' => 'Ꮫ' (line 2576) 1120s # Converting 'ꮬ' => 'Ꮬ' (line 2577) 1120s # Converting 'ꮭ' => 'Ꮭ' (line 2578) 1120s # Converting 'ꮮ' => 'Ꮮ' (line 2579) 1120s # Converting 'ꮯ' => 'Ꮯ' (line 2580) 1120s # Converting 'ꮰ' => 'Ꮰ' (line 2581) 1120s # Converting 'ꮱ' => 'Ꮱ' (line 2582) 1120s # Converting 'ꮲ' => 'Ꮲ' (line 2583) 1120s # Converting 'ꮳ' => 'Ꮳ' (line 2584) 1120s # Converting 'ꮴ' => 'Ꮴ' (line 2585) 1120s # Converting 'ꮵ' => 'Ꮵ' (line 2586) 1120s # Converting 'ꮶ' => 'Ꮶ' (line 2587) 1120s # Converting 'ꮷ' => 'Ꮷ' (line 2588) 1120s # Converting 'ꮸ' => 'Ꮸ' (line 2589) 1120s # Converting 'ꮹ' => 'Ꮹ' (line 2590) 1120s # Converting 'ꮺ' => 'Ꮺ' (line 2591) 1120s # Converting 'ꮻ' => 'Ꮻ' (line 2592) 1120s # Converting 'ꮼ' => 'Ꮼ' (line 2593) 1120s # Converting 'ꮽ' => 'Ꮽ' (line 2594) 1120s # Converting 'ꮾ' => 'Ꮾ' (line 2595) 1120s # Converting 'ꮿ' => 'Ꮿ' (line 2596) 1120s # Converting 'ff' => 'FF' (line 2597) 1120s # Converting 'fi' => 'FI' (line 2598) 1120s # Converting 'fl' => 'FL' (line 2599) 1120s # Converting 'ffi' => 'FFI' (line 2600) 1120s # Converting 'ffl' => 'FFL' (line 2601) 1120s # Converting 'ſt' => 'ST' (line 2602) 1120s # Converting 'st' => 'ST' (line 2603) 1120s # Converting 'ﬓ' => 'ՄՆ' (line 2604) 1120s # Converting 'ﬔ' => 'ՄԵ' (line 2605) 1120s # Converting 'ﬕ' => 'ՄԻ' (line 2606) 1120s # Converting 'ﬖ' => 'ՎՆ' (line 2607) 1120s # Converting 'ﬗ' => 'ՄԽ' (line 2608) 1120s # Converting 'A' => 'A' (line 2609) 1120s # Converting 'B' => 'B' (line 2610) 1120s # Converting 'C' => 'C' (line 2611) 1120s # Converting 'D' => 'D' (line 2612) 1120s # Converting 'E' => 'E' (line 2613) 1120s # Converting 'F' => 'F' (line 2614) 1120s # Converting 'G' => 'G' (line 2615) 1120s # Converting 'H' => 'H' (line 2616) 1120s # Converting 'I' => 'I' (line 2617) 1120s # Converting 'J' => 'J' (line 2618) 1120s # Converting 'K' => 'K' (line 2619) 1120s # Converting 'L' => 'L' (line 2620) 1120s # Converting 'M' => 'M' (line 2621) 1120s # Converting 'N' => 'N' (line 2622) 1120s # Converting 'O' => 'O' (line 2623) 1120s # Converting 'P' => 'P' (line 2624) 1120s # Converting 'Q' => 'Q' (line 2625) 1120s # Converting 'R' => 'R' (line 2626) 1120s # Converting 'S' => 'S' (line 2627) 1120s # Converting 'T' => 'T' (line 2628) 1120s # Converting 'U' => 'U' (line 2629) 1120s # Converting 'V' => 'V' (line 2630) 1120s # Converting 'W' => 'W' (line 2631) 1120s # Converting 'X' => 'X' (line 2632) 1120s # Converting 'Y' => 'Y' (line 2633) 1120s # Converting 'Z' => 'Z' (line 2634) 1120s # Converting 'a' => 'A' (line 2635) 1120s # Converting 'b' => 'B' (line 2636) 1120s # Converting 'c' => 'C' (line 2637) 1120s # Converting 'd' => 'D' (line 2638) 1120s # Converting 'e' => 'E' (line 2639) 1120s # Converting 'f' => 'F' (line 2640) 1120s # Converting 'g' => 'G' (line 2641) 1120s # Converting 'h' => 'H' (line 2642) 1120s # Converting 'i' => 'I' (line 2643) 1120s # Converting 'j' => 'J' (line 2644) 1120s # Converting 'k' => 'K' (line 2645) 1120s # Converting 'l' => 'L' (line 2646) 1120s # Converting 'm' => 'M' (line 2647) 1120s # Converting 'n' => 'N' (line 2648) 1120s # Converting 'o' => 'O' (line 2649) 1120s # Converting 'p' => 'P' (line 2650) 1120s # Converting 'q' => 'Q' (line 2651) 1120s # Converting 'r' => 'R' (line 2652) 1120s # Converting 's' => 'S' (line 2653) 1120s # Converting 't' => 'T' (line 2654) 1120s # Converting 'u' => 'U' (line 2655) 1120s # Converting 'v' => 'V' (line 2656) 1120s # Converting 'w' => 'W' (line 2657) 1120s # Converting 'x' => 'X' (line 2658) 1120s # Converting 'y' => 'Y' (line 2659) 1120s # Converting 'z' => 'Z' (line 2660) 1120s # Converting '𐐀' => '𐐀' (line 2661) 1120s # Converting '𐐁' => '𐐁' (line 2662) 1120s # Converting '𐐂' => '𐐂' (line 2663) 1120s # Converting '𐐃' => '𐐃' (line 2664) 1120s # Converting '𐐄' => '𐐄' (line 2665) 1120s # Converting '𐐅' => '𐐅' (line 2666) 1120s # Converting '𐐆' => '𐐆' (line 2667) 1120s # Converting '𐐇' => '𐐇' (line 2668) 1120s # Converting '𐐈' => '𐐈' (line 2669) 1120s # Converting '𐐉' => '𐐉' (line 2670) 1120s # Converting '𐐊' => '𐐊' (line 2671) 1120s # Converting '𐐋' => '𐐋' (line 2672) 1120s # Converting '𐐌' => '𐐌' (line 2673) 1120s # Converting '𐐍' => '𐐍' (line 2674) 1120s # Converting '𐐎' => '𐐎' (line 2675) 1120s # Converting '𐐏' => '𐐏' (line 2676) 1120s # Converting '𐐐' => '𐐐' (line 2677) 1120s # Converting '𐐑' => '𐐑' (line 2678) 1120s # Converting '𐐒' => '𐐒' (line 2679) 1120s # Converting '𐐓' => '𐐓' (line 2680) 1120s # Converting '𐐔' => '𐐔' (line 2681) 1120s # Converting '𐐕' => '𐐕' (line 2682) 1120s # Converting '𐐖' => '𐐖' (line 2683) 1120s # Converting '𐐗' => '𐐗' (line 2684) 1120s # Converting '𐐘' => '𐐘' (line 2685) 1120s # Converting '𐐙' => '𐐙' (line 2686) 1120s # Converting '𐐚' => '𐐚' (line 2687) 1120s # Converting '𐐛' => '𐐛' (line 2688) 1120s # Converting '𐐜' => '𐐜' (line 2689) 1120s # Converting '𐐝' => '𐐝' (line 2690) 1120s # Converting '𐐞' => '𐐞' (line 2691) 1120s # Converting '𐐟' => '𐐟' (line 2692) 1120s # Converting '𐐠' => '𐐠' (line 2693) 1120s # Converting '𐐡' => '𐐡' (line 2694) 1120s # Converting '𐐢' => '𐐢' (line 2695) 1120s # Converting '𐐣' => '𐐣' (line 2696) 1120s # Converting '𐐤' => '𐐤' (line 2697) 1120s # Converting '𐐥' => '𐐥' (line 2698) 1120s # Converting '𐐦' => '𐐦' (line 2699) 1120s # Converting '𐐧' => '𐐧' (line 2700) 1120s # Converting '𐐨' => '𐐀' (line 2701) 1120s # Converting '𐐩' => '𐐁' (line 2702) 1120s # Converting '𐐪' => '𐐂' (line 2703) 1120s # Converting '𐐫' => '𐐃' (line 2704) 1120s # Converting '𐐬' => '𐐄' (line 2705) 1120s # Converting '𐐭' => '𐐅' (line 2706) 1120s # Converting '𐐮' => '𐐆' (line 2707) 1120s # Converting '𐐯' => '𐐇' (line 2708) 1120s # Converting '𐐰' => '𐐈' (line 2709) 1120s # Converting '𐐱' => '𐐉' (line 2710) 1120s # Converting '𐐲' => '𐐊' (line 2711) 1120s # Converting '𐐳' => '𐐋' (line 2712) 1120s # Converting '𐐴' => '𐐌' (line 2713) 1120s # Converting '𐐵' => '𐐍' (line 2714) 1120s # Converting '𐐶' => '𐐎' (line 2715) 1120s # Converting '𐐷' => '𐐏' (line 2716) 1120s # Converting '𐐸' => '𐐐' (line 2717) 1120s # Converting '𐐹' => '𐐑' (line 2718) 1120s # Converting '𐐺' => '𐐒' (line 2719) 1120s # Converting '𐐻' => '𐐓' (line 2720) 1120s # Converting '𐐼' => '𐐔' (line 2721) 1120s # Converting '𐐽' => '𐐕' (line 2722) 1120s # Converting '𐐾' => '𐐖' (line 2723) 1120s # Converting '𐐿' => '𐐗' (line 2724) 1120s # Converting '𐑀' => '𐐘' (line 2725) 1120s # Converting '𐑁' => '𐐙' (line 2726) 1120s # Converting '𐑂' => '𐐚' (line 2727) 1120s # Converting '𐑃' => '𐐛' (line 2728) 1120s # Converting '𐑄' => '𐐜' (line 2729) 1120s # Converting '𐑅' => '𐐝' (line 2730) 1120s # Converting '𐑆' => '𐐞' (line 2731) 1120s # Converting '𐑇' => '𐐟' (line 2732) 1120s # Converting '𐑈' => '𐐠' (line 2733) 1120s # Converting '𐑉' => '𐐡' (line 2734) 1120s # Converting '𐑊' => '𐐢' (line 2735) 1120s # Converting '𐑋' => '𐐣' (line 2736) 1120s # Converting '𐑌' => '𐐤' (line 2737) 1120s # Converting '𐑍' => '𐐥' (line 2738) 1120s # Converting '𐑎' => '𐐦' (line 2739) 1120s # Converting '𐑏' => '𐐧' (line 2740) 1120s # Converting '𐒰' => '𐒰' (line 2741) 1120s # Converting '𐒱' => '𐒱' (line 2742) 1120s # Converting '𐒲' => '𐒲' (line 2743) 1120s # Converting '𐒳' => '𐒳' (line 2744) 1120s # Converting '𐒴' => '𐒴' (line 2745) 1120s # Converting '𐒵' => '𐒵' (line 2746) 1120s # Converting '𐒶' => '𐒶' (line 2747) 1120s # Converting '𐒷' => '𐒷' (line 2748) 1120s # Converting '𐒸' => '𐒸' (line 2749) 1120s # Converting '𐒹' => '𐒹' (line 2750) 1120s # Converting '𐒺' => '𐒺' (line 2751) 1120s # Converting '𐒻' => '𐒻' (line 2752) 1120s # Converting '𐒼' => '𐒼' (line 2753) 1120s # Converting '𐒽' => '𐒽' (line 2754) 1120s # Converting '𐒾' => '𐒾' (line 2755) 1120s # Converting '𐒿' => '𐒿' (line 2756) 1120s # Converting '𐓀' => '𐓀' (line 2757) 1120s # Converting '𐓁' => '𐓁' (line 2758) 1120s # Converting '𐓂' => '𐓂' (line 2759) 1120s # Converting '𐓃' => '𐓃' (line 2760) 1120s # Converting '𐓄' => '𐓄' (line 2761) 1120s # Converting '𐓅' => '𐓅' (line 2762) 1120s # Converting '𐓆' => '𐓆' (line 2763) 1120s # Converting '𐓇' => '𐓇' (line 2764) 1120s # Converting '𐓈' => '𐓈' (line 2765) 1120s # Converting '𐓉' => '𐓉' (line 2766) 1120s # Converting '𐓊' => '𐓊' (line 2767) 1120s # Converting '𐓋' => '𐓋' (line 2768) 1120s # Converting '𐓌' => '𐓌' (line 2769) 1120s # Converting '𐓍' => '𐓍' (line 2770) 1120s # Converting '𐓎' => '𐓎' (line 2771) 1120s # Converting '𐓏' => '𐓏' (line 2772) 1120s # Converting '𐓐' => '𐓐' (line 2773) 1120s # Converting '𐓑' => '𐓑' (line 2774) 1120s # Converting '𐓒' => '𐓒' (line 2775) 1120s # Converting '𐓓' => '𐓓' (line 2776) 1120s # Converting '𐓘' => '𐒰' (line 2777) 1120s # Converting '𐓙' => '𐒱' (line 2778) 1120s # Converting '𐓚' => '𐒲' (line 2779) 1120s # Converting '𐓛' => '𐒳' (line 2780) 1120s # Converting '𐓜' => '𐒴' (line 2781) 1120s # Converting '𐓝' => '𐒵' (line 2782) 1120s # Converting '𐓞' => '𐒶' (line 2783) 1120s # Converting '𐓟' => '𐒷' (line 2784) 1120s # Converting '𐓠' => '𐒸' (line 2785) 1120s # Converting '𐓡' => '𐒹' (line 2786) 1120s # Converting '𐓢' => '𐒺' (line 2787) 1120s # Converting '𐓣' => '𐒻' (line 2788) 1120s # Converting '𐓤' => '𐒼' (line 2789) 1120s # Converting '𐓥' => '𐒽' (line 2790) 1120s # Converting '𐓦' => '𐒾' (line 2791) 1120s # Converting '𐓧' => '𐒿' (line 2792) 1120s # Converting '𐓨' => '𐓀' (line 2793) 1120s # Converting '𐓩' => '𐓁' (line 2794) 1120s # Converting '𐓪' => '𐓂' (line 2795) 1120s # Converting '𐓫' => '𐓃' (line 2796) 1120s # Converting '𐓬' => '𐓄' (line 2797) 1120s # Converting '𐓭' => '𐓅' (line 2798) 1120s # Converting '𐓮' => '𐓆' (line 2799) 1120s # Converting '𐓯' => '𐓇' (line 2800) 1120s # Converting '𐓰' => '𐓈' (line 2801) 1120s # Converting '𐓱' => '𐓉' (line 2802) 1120s # Converting '𐓲' => '𐓊' (line 2803) 1120s # Converting '𐓳' => '𐓋' (line 2804) 1120s # Converting '𐓴' => '𐓌' (line 2805) 1120s # Converting '𐓵' => '𐓍' (line 2806) 1120s # Converting '𐓶' => '𐓎' (line 2807) 1120s # Converting '𐓷' => '𐓏' (line 2808) 1120s # Converting '𐓸' => '𐓐' (line 2809) 1120s # Converting '𐓹' => '𐓑' (line 2810) 1120s # Converting '𐓺' => '𐓒' (line 2811) 1120s # Converting '𐓻' => '𐓓' (line 2812) 1120s # Converting '𐕰' => '𐕰' (line 2813) 1120s # Converting '𐕱' => '𐕱' (line 2814) 1120s # Converting '𐕲' => '𐕲' (line 2815) 1120s # Converting '𐕳' => '𐕳' (line 2816) 1120s # Converting '𐕴' => '𐕴' (line 2817) 1120s # Converting '𐕵' => '𐕵' (line 2818) 1120s # Converting '𐕶' => '𐕶' (line 2819) 1120s # Converting '𐕷' => '𐕷' (line 2820) 1120s # Converting '𐕸' => '𐕸' (line 2821) 1120s # Converting '𐕹' => '𐕹' (line 2822) 1120s # Converting '𐕺' => '𐕺' (line 2823) 1120s # Converting '𐕼' => '𐕼' (line 2824) 1120s # Converting '𐕽' => '𐕽' (line 2825) 1120s # Converting '𐕾' => '𐕾' (line 2826) 1120s # Converting '𐕿' => '𐕿' (line 2827) 1120s # Converting '𐖀' => '𐖀' (line 2828) 1120s # Converting '𐖁' => '𐖁' (line 2829) 1120s # Converting '𐖂' => '𐖂' (line 2830) 1120s # Converting '𐖃' => '𐖃' (line 2831) 1120s # Converting '𐖄' => '𐖄' (line 2832) 1120s # Converting '𐖅' => '𐖅' (line 2833) 1120s # Converting '𐖆' => '𐖆' (line 2834) 1120s # Converting '𐖇' => '𐖇' (line 2835) 1120s # Converting '𐖈' => '𐖈' (line 2836) 1120s # Converting '𐖉' => '𐖉' (line 2837) 1120s # Converting '𐖊' => '𐖊' (line 2838) 1120s # Converting '𐖌' => '𐖌' (line 2839) 1120s # Converting '𐖍' => '𐖍' (line 2840) 1120s # Converting '𐖎' => '𐖎' (line 2841) 1120s # Converting '𐖏' => '𐖏' (line 2842) 1120s # Converting '𐖐' => '𐖐' (line 2843) 1120s # Converting '𐖑' => '𐖑' (line 2844) 1120s # Converting '𐖒' => '𐖒' (line 2845) 1120s # Converting '𐖔' => '𐖔' (line 2846) 1120s # Converting '𐖕' => '𐖕' (line 2847) 1120s # Converting '𐖗' => '𐕰' (line 2848) 1120s # Converting '𐖘' => '𐕱' (line 2849) 1120s # Converting '𐖙' => '𐕲' (line 2850) 1120s # Converting '𐖚' => '𐕳' (line 2851) 1120s # Converting '𐖛' => '𐕴' (line 2852) 1120s # Converting '𐖜' => '𐕵' (line 2853) 1120s # Converting '𐖝' => '𐕶' (line 2854) 1120s # Converting '𐖞' => '𐕷' (line 2855) 1120s # Converting '𐖟' => '𐕸' (line 2856) 1120s # Converting '𐖠' => '𐕹' (line 2857) 1120s # Converting '𐖡' => '𐕺' (line 2858) 1120s # Converting '𐖣' => '𐕼' (line 2859) 1120s # Converting '𐖤' => '𐕽' (line 2860) 1120s # Converting '𐖥' => '𐕾' (line 2861) 1120s # Converting '𐖦' => '𐕿' (line 2862) 1120s # Converting '𐖧' => '𐖀' (line 2863) 1120s # Converting '𐖨' => '𐖁' (line 2864) 1120s # Converting '𐖩' => '𐖂' (line 2865) 1120s # Converting '𐖪' => '𐖃' (line 2866) 1120s # Converting '𐖫' => '𐖄' (line 2867) 1120s # Converting '𐖬' => '𐖅' (line 2868) 1120s # Converting '𐖭' => '𐖆' (line 2869) 1120s # Converting '𐖮' => '𐖇' (line 2870) 1120s # Converting '𐖯' => '𐖈' (line 2871) 1120s # Converting '𐖰' => '𐖉' (line 2872) 1120s # Converting '𐖱' => '𐖊' (line 2873) 1120s # Converting '𐖳' => '𐖌' (line 2874) 1120s # Converting '𐖴' => '𐖍' (line 2875) 1120s # Converting '𐖵' => '𐖎' (line 2876) 1120s # Converting '𐖶' => '𐖏' (line 2877) 1120s # Converting '𐖷' => '𐖐' (line 2878) 1120s # Converting '𐖸' => '𐖑' (line 2879) 1120s # Converting '𐖹' => '𐖒' (line 2880) 1120s # Converting '𐖻' => '𐖔' (line 2881) 1120s # Converting '𐖼' => '𐖕' (line 2882) 1120s # Converting '𐲀' => '𐲀' (line 2883) 1120s # Converting '𐲁' => '𐲁' (line 2884) 1120s # Converting '𐲂' => '𐲂' (line 2885) 1120s # Converting '𐲃' => '𐲃' (line 2886) 1120s # Converting '𐲄' => '𐲄' (line 2887) 1120s # Converting '𐲅' => '𐲅' (line 2888) 1120s # Converting '𐲆' => '𐲆' (line 2889) 1120s # Converting '𐲇' => '𐲇' (line 2890) 1120s # Converting '𐲈' => '𐲈' (line 2891) 1120s # Converting '𐲉' => '𐲉' (line 2892) 1120s # Converting '𐲊' => '𐲊' (line 2893) 1120s # Converting '𐲋' => '𐲋' (line 2894) 1120s # Converting '𐲌' => '𐲌' (line 2895) 1120s # Converting '𐲍' => '𐲍' (line 2896) 1120s # Converting '𐲎' => '𐲎' (line 2897) 1120s # Converting '𐲏' => '𐲏' (line 2898) 1120s # Converting '𐲐' => '𐲐' (line 2899) 1120s # Converting '𐲑' => '𐲑' (line 2900) 1120s # Converting '𐲒' => '𐲒' (line 2901) 1120s # Converting '𐲓' => '𐲓' (line 2902) 1120s # Converting '𐲔' => '𐲔' (line 2903) 1120s # Converting '𐲕' => '𐲕' (line 2904) 1120s # Converting '𐲖' => '𐲖' (line 2905) 1120s # Converting '𐲗' => '𐲗' (line 2906) 1120s # Converting '𐲘' => '𐲘' (line 2907) 1120s # Converting '𐲙' => '𐲙' (line 2908) 1120s # Converting '𐲚' => '𐲚' (line 2909) 1120s # Converting '𐲛' => '𐲛' (line 2910) 1120s # Converting '𐲜' => '𐲜' (line 2911) 1120s # Converting '𐲝' => '𐲝' (line 2912) 1120s # Converting '𐲞' => '𐲞' (line 2913) 1120s # Converting '𐲟' => '𐲟' (line 2914) 1120s # Converting '𐲠' => '𐲠' (line 2915) 1120s # Converting '𐲡' => '𐲡' (line 2916) 1120s # Converting '𐲢' => '𐲢' (line 2917) 1120s # Converting '𐲣' => '𐲣' (line 2918) 1120s # Converting '𐲤' => '𐲤' (line 2919) 1120s # Converting '𐲥' => '𐲥' (line 2920) 1120s # Converting '𐲦' => '𐲦' (line 2921) 1120s # Converting '𐲧' => '𐲧' (line 2922) 1120s # Converting '𐲨' => '𐲨' (line 2923) 1120s # Converting '𐲩' => '𐲩' (line 2924) 1120s # Converting '𐲪' => '𐲪' (line 2925) 1120s # Converting '𐲫' => '𐲫' (line 2926) 1120s # Converting '𐲬' => '𐲬' (line 2927) 1120s # Converting '𐲭' => '𐲭' (line 2928) 1120s # Converting '𐲮' => '𐲮' (line 2929) 1120s # Converting '𐲯' => '𐲯' (line 2930) 1120s # Converting '𐲰' => '𐲰' (line 2931) 1120s # Converting '𐲱' => '𐲱' (line 2932) 1120s # Converting '𐲲' => '𐲲' (line 2933) 1120s # Converting '𐳀' => '𐲀' (line 2934) 1120s # Converting '𐳁' => '𐲁' (line 2935) 1120s # Converting '𐳂' => '𐲂' (line 2936) 1120s # Converting '𐳃' => '𐲃' (line 2937) 1120s # Converting '𐳄' => '𐲄' (line 2938) 1120s # Converting '𐳅' => '𐲅' (line 2939) 1120s # Converting '𐳆' => '𐲆' (line 2940) 1120s # Converting '𐳇' => '𐲇' (line 2941) 1120s # Converting '𐳈' => '𐲈' (line 2942) 1120s # Converting '𐳉' => '𐲉' (line 2943) 1120s # Converting '𐳊' => '𐲊' (line 2944) 1120s # Converting '𐳋' => '𐲋' (line 2945) 1120s # Converting '𐳌' => '𐲌' (line 2946) 1120s # Converting '𐳍' => '𐲍' (line 2947) 1120s # Converting '𐳎' => '𐲎' (line 2948) 1120s # Converting '𐳏' => '𐲏' (line 2949) 1120s # Converting '𐳐' => '𐲐' (line 2950) 1120s # Converting '𐳑' => '𐲑' (line 2951) 1120s # Converting '𐳒' => '𐲒' (line 2952) 1120s # Converting '𐳓' => '𐲓' (line 2953) 1120s # Converting '𐳔' => '𐲔' (line 2954) 1120s # Converting '𐳕' => '𐲕' (line 2955) 1120s # Converting '𐳖' => '𐲖' (line 2956) 1120s # Converting '𐳗' => '𐲗' (line 2957) 1120s # Converting '𐳘' => '𐲘' (line 2958) 1120s # Converting '𐳙' => '𐲙' (line 2959) 1120s # Converting '𐳚' => '𐲚' (line 2960) 1120s # Converting '𐳛' => '𐲛' (line 2961) 1120s # Converting '𐳜' => '𐲜' (line 2962) 1120s # Converting '𐳝' => '𐲝' (line 2963) 1120s # Converting '𐳞' => '𐲞' (line 2964) 1120s # Converting '𐳟' => '𐲟' (line 2965) 1120s # Converting '𐳠' => '𐲠' (line 2966) 1120s # Converting '𐳡' => '𐲡' (line 2967) 1120s # Converting '𐳢' => '𐲢' (line 2968) 1120s # Converting '𐳣' => '𐲣' (line 2969) 1120s # Converting '𐳤' => '𐲤' (line 2970) 1120s # Converting '𐳥' => '𐲥' (line 2971) 1120s # Converting '𐳦' => '𐲦' (line 2972) 1120s # Converting '𐳧' => '𐲧' (line 2973) 1120s # Converting '𐳨' => '𐲨' (line 2974) 1120s # Converting '𐳩' => '𐲩' (line 2975) 1120s # Converting '𐳪' => '𐲪' (line 2976) 1120s # Converting '𐳫' => '𐲫' (line 2977) 1120s # Converting '𐳬' => '𐲬' (line 2978) 1120s # Converting '𐳭' => '𐲭' (line 2979) 1120s # Converting '𐳮' => '𐲮' (line 2980) 1120s # Converting '𐳯' => '𐲯' (line 2981) 1120s # Converting '𐳰' => '𐲰' (line 2982) 1120s # Converting '𐳱' => '𐲱' (line 2983) 1120s # Converting '𐳲' => '𐲲' (line 2984) 1120s # Converting '𐵐' => '𐵐' (line 2985) 1120s # Converting '𐵑' => '𐵑' (line 2986) 1120s # Converting '𐵒' => '𐵒' (line 2987) 1120s # Converting '𐵓' => '𐵓' (line 2988) 1120s # Converting '𐵔' => '𐵔' (line 2989) 1120s # Converting '𐵕' => '𐵕' (line 2990) 1120s # Converting '𐵖' => '𐵖' (line 2991) 1120s # Converting '𐵗' => '𐵗' (line 2992) 1120s # Converting '𐵘' => '𐵘' (line 2993) 1120s # Converting '𐵙' => '𐵙' (line 2994) 1120s # Converting '𐵚' => '𐵚' (line 2995) 1120s # Converting '𐵛' => '𐵛' (line 2996) 1120s # Converting '𐵜' => '𐵜' (line 2997) 1120s # Converting '𐵝' => '𐵝' (line 2998) 1120s # Converting '𐵞' => '𐵞' (line 2999) 1120s # Converting '𐵟' => '𐵟' (line 3000) 1120s # Converting '𐵠' => '𐵠' (line 3001) 1120s # Converting '𐵡' => '𐵡' (line 3002) 1120s # Converting '𐵢' => '𐵢' (line 3003) 1120s # Converting '𐵣' => '𐵣' (line 3004) 1120s # Converting '𐵤' => '𐵤' (line 3005) 1120s # Converting '𐵥' => '𐵥' (line 3006) 1120s # Converting '𐵰' => '𐵐' (line 3007) 1120s # Converting '𐵱' => '𐵑' (line 3008) 1120s # Converting '𐵲' => '𐵒' (line 3009) 1120s # Converting '𐵳' => '𐵓' (line 3010) 1120s # Converting '𐵴' => '𐵔' (line 3011) 1120s # Converting '𐵵' => '𐵕' (line 3012) 1120s # Converting '𐵶' => '𐵖' (line 3013) 1120s # Converting '𐵷' => '𐵗' (line 3014) 1120s # Converting '𐵸' => '𐵘' (line 3015) 1120s # Converting '𐵹' => '𐵙' (line 3016) 1120s # Converting '𐵺' => '𐵚' (line 3017) 1120s # Converting '𐵻' => '𐵛' (line 3018) 1120s # Converting '𐵼' => '𐵜' (line 3019) 1120s # Converting '𐵽' => '𐵝' (line 3020) 1120s # Converting '𐵾' => '𐵞' (line 3021) 1120s # Converting '𐵿' => '𐵟' (line 3022) 1120s # Converting '𐶀' => '𐵠' (line 3023) 1120s # Converting '𐶁' => '𐵡' (line 3024) 1120s # Converting '𐶂' => '𐵢' (line 3025) 1120s # Converting '𐶃' => '𐵣' (line 3026) 1120s # Converting '𐶄' => '𐵤' (line 3027) 1120s # Converting '𐶅' => '𐵥' (line 3028) 1120s # Converting '𑢠' => '𑢠' (line 3029) 1120s # Converting '𑢡' => '𑢡' (line 3030) 1120s # Converting '𑢢' => '𑢢' (line 3031) 1120s # Converting '𑢣' => '𑢣' (line 3032) 1120s # Converting '𑢤' => '𑢤' (line 3033) 1120s # Converting '𑢥' => '𑢥' (line 3034) 1120s # Converting '𑢦' => '𑢦' (line 3035) 1120s # Converting '𑢧' => '𑢧' (line 3036) 1120s # Converting '𑢨' => '𑢨' (line 3037) 1120s # Converting '𑢩' => '𑢩' (line 3038) 1120s # Converting '𑢪' => '𑢪' (line 3039) 1120s # Converting '𑢫' => '𑢫' (line 3040) 1120s # Converting '𑢬' => '𑢬' (line 3041) 1120s # Converting '𑢭' => '𑢭' (line 3042) 1120s # Converting '𑢮' => '𑢮' (line 3043) 1120s # Converting '𑢯' => '𑢯' (line 3044) 1120s # Converting '𑢰' => '𑢰' (line 3045) 1120s # Converting '𑢱' => '𑢱' (line 3046) 1120s # Converting '𑢲' => '𑢲' (line 3047) 1120s # Converting '𑢳' => '𑢳' (line 3048) 1120s # Converting '𑢴' => '𑢴' (line 3049) 1120s # Converting '𑢵' => '𑢵' (line 3050) 1120s # Converting '𑢶' => '𑢶' (line 3051) 1120s # Converting '𑢷' => '𑢷' (line 3052) 1120s # Converting '𑢸' => '𑢸' (line 3053) 1120s # Converting '𑢹' => '𑢹' (line 3054) 1120s # Converting '𑢺' => '𑢺' (line 3055) 1120s # Converting '𑢻' => '𑢻' (line 3056) 1120s # Converting '𑢼' => '𑢼' (line 3057) 1120s # Converting '𑢽' => '𑢽' (line 3058) 1120s # Converting '𑢾' => '𑢾' (line 3059) 1120s # Converting '𑢿' => '𑢿' (line 3060) 1120s # Converting '𑣀' => '𑢠' (line 3061) 1120s # Converting '𑣁' => '𑢡' (line 3062) 1120s # Converting '𑣂' => '𑢢' (line 3063) 1120s # Converting '𑣃' => '𑢣' (line 3064) 1120s # Converting '𑣄' => '𑢤' (line 3065) 1120s # Converting '𑣅' => '𑢥' (line 3066) 1120s # Converting '𑣆' => '𑢦' (line 3067) 1120s # Converting '𑣇' => '𑢧' (line 3068) 1120s # Converting '𑣈' => '𑢨' (line 3069) 1120s # Converting '𑣉' => '𑢩' (line 3070) 1120s # Converting '𑣊' => '𑢪' (line 3071) 1120s # Converting '𑣋' => '𑢫' (line 3072) 1120s # Converting '𑣌' => '𑢬' (line 3073) 1120s # Converting '𑣍' => '𑢭' (line 3074) 1120s # Converting '𑣎' => '𑢮' (line 3075) 1120s # Converting '𑣏' => '𑢯' (line 3076) 1120s # Converting '𑣐' => '𑢰' (line 3077) 1120s # Converting '𑣑' => '𑢱' (line 3078) 1120s # Converting '𑣒' => '𑢲' (line 3079) 1120s # Converting '𑣓' => '𑢳' (line 3080) 1120s # Converting '𑣔' => '𑢴' (line 3081) 1120s # Converting '𑣕' => '𑢵' (line 3082) 1120s # Converting '𑣖' => '𑢶' (line 3083) 1120s # Converting '𑣗' => '𑢷' (line 3084) 1120s # Converting '𑣘' => '𑢸' (line 3085) 1120s # Converting '𑣙' => '𑢹' (line 3086) 1120s # Converting '𑣚' => '𑢺' (line 3087) 1120s # Converting '𑣛' => '𑢻' (line 3088) 1120s # Converting '𑣜' => '𑢼' (line 3089) 1120s # Converting '𑣝' => '𑢽' (line 3090) 1120s # Converting '𑣞' => '𑢾' (line 3091) 1120s # Converting '𑣟' => '𑢿' (line 3092) 1120s # Converting '𖹀' => '𖹀' (line 3093) 1120s # Converting '𖹁' => '𖹁' (line 3094) 1120s # Converting '𖹂' => '𖹂' (line 3095) 1120s # Converting '𖹃' => '𖹃' (line 3096) 1120s # Converting '𖹄' => '𖹄' (line 3097) 1120s # Converting '𖹅' => '𖹅' (line 3098) 1120s # Converting '𖹆' => '𖹆' (line 3099) 1120s # Converting '𖹇' => '𖹇' (line 3100) 1120s # Converting '𖹈' => '𖹈' (line 3101) 1120s # Converting '𖹉' => '𖹉' (line 3102) 1120s # Converting '𖹊' => '𖹊' (line 3103) 1120s # Converting '𖹋' => '𖹋' (line 3104) 1120s # Converting '𖹌' => '𖹌' (line 3105) 1120s # Converting '𖹍' => '𖹍' (line 3106) 1120s # Converting '𖹎' => '𖹎' (line 3107) 1120s # Converting '𖹏' => '𖹏' (line 3108) 1120s # Converting '𖹐' => '𖹐' (line 3109) 1120s # Converting '𖹑' => '𖹑' (line 3110) 1120s # Converting '𖹒' => '𖹒' (line 3111) 1120s # Converting '𖹓' => '𖹓' (line 3112) 1120s # Converting '𖹔' => '𖹔' (line 3113) 1120s # Converting '𖹕' => '𖹕' (line 3114) 1120s # Converting '𖹖' => '𖹖' (line 3115) 1120s # Converting '𖹗' => '𖹗' (line 3116) 1120s # Converting '𖹘' => '𖹘' (line 3117) 1120s # Converting '𖹙' => '𖹙' (line 3118) 1120s # Converting '𖹚' => '𖹚' (line 3119) 1120s # Converting '𖹛' => '𖹛' (line 3120) 1120s # Converting '𖹜' => '𖹜' (line 3121) 1120s # Converting '𖹝' => '𖹝' (line 3122) 1120s # Converting '𖹞' => '𖹞' (line 3123) 1120s # Converting '𖹟' => '𖹟' (line 3124) 1120s # Converting '𖹠' => '𖹀' (line 3125) 1120s # Converting '𖹡' => '𖹁' (line 3126) 1120s # Converting '𖹢' => '𖹂' (line 3127) 1120s # Converting '𖹣' => '𖹃' (line 3128) 1120s # Converting '𖹤' => '𖹄' (line 3129) 1120s # Converting '𖹥' => '𖹅' (line 3130) 1120s # Converting '𖹦' => '𖹆' (line 3131) 1120s # Converting '𖹧' => '𖹇' (line 3132) 1120s # Converting '𖹨' => '𖹈' (line 3133) 1120s # Converting '𖹩' => '𖹉' (line 3134) 1120s # Converting '𖹪' => '𖹊' (line 3135) 1120s # Converting '𖹫' => '𖹋' (line 3136) 1120s # Converting '𖹬' => '𖹌' (line 3137) 1120s # Converting '𖹭' => '𖹍' (line 3138) 1120s # Converting '𖹮' => '𖹎' (line 3139) 1120s # Converting '𖹯' => '𖹏' (line 3140) 1120s # Converting '𖹰' => '𖹐' (line 3141) 1120s # Converting '𖹱' => '𖹑' (line 3142) 1120s # Converting '𖹲' => '𖹒' (line 3143) 1120s # Converting '𖹳' => '𖹓' (line 3144) 1120s # Converting '𖹴' => '𖹔' (line 3145) 1120s # Converting '𖹵' => '𖹕' (line 3146) 1120s # Converting '𖹶' => '𖹖' (line 3147) 1120s # Converting '𖹷' => '𖹗' (line 3148) 1120s # Converting '𖹸' => '𖹘' (line 3149) 1120s # Converting '𖹹' => '𖹙' (line 3150) 1120s # Converting '𖹺' => '𖹚' (line 3151) 1120s # Converting '𖹻' => '𖹛' (line 3152) 1120s # Converting '𖹼' => '𖹜' (line 3153) 1120s # Converting '𖹽' => '𖹝' (line 3154) 1120s # Converting '𖹾' => '𖹞' (line 3155) 1120s # Converting '𖹿' => '𖹟' (line 3156) 1120s # Converting '𖺠' => '𖺠' (line 3157) 1120s # Converting '𖺡' => '𖺡' (line 3158) 1120s # Converting '𖺢' => '𖺢' (line 3159) 1120s # Converting '𖺣' => '𖺣' (line 3160) 1120s # Converting '𖺤' => '𖺤' (line 3161) 1120s # Converting '𖺥' => '𖺥' (line 3162) 1120s # Converting '𖺦' => '𖺦' (line 3163) 1120s # Converting '𖺧' => '𖺧' (line 3164) 1120s # Converting '𖺨' => '𖺨' (line 3165) 1120s # Converting '𖺩' => '𖺩' (line 3166) 1120s # Converting '𖺪' => '𖺪' (line 3167) 1120s # Converting '𖺫' => '𖺫' (line 3168) 1120s # Converting '𖺬' => '𖺬' (line 3169) 1120s # Converting '𖺭' => '𖺭' (line 3170) 1120s # Converting '𖺮' => '𖺮' (line 3171) 1120s # Converting '𖺯' => '𖺯' (line 3172) 1120s # Converting '𖺰' => '𖺰' (line 3173) 1120s # Converting '𖺱' => '𖺱' (line 3174) 1120s # Converting '𖺲' => '𖺲' (line 3175) 1120s # Converting '𖺳' => '𖺳' (line 3176) 1120s # Converting '𖺴' => '𖺴' (line 3177) 1120s # Converting '𖺵' => '𖺵' (line 3178) 1120s # Converting '𖺶' => '𖺶' (line 3179) 1120s # Converting '𖺷' => '𖺷' (line 3180) 1120s # Converting '𖺸' => '𖺸' (line 3181) 1120s # Converting '𖺻' => '𖺠' (line 3182) 1120s # Converting '𖺼' => '𖺡' (line 3183) 1120s # Converting '𖺽' => '𖺢' (line 3184) 1120s # Converting '𖺾' => '𖺣' (line 3185) 1120s # Converting '𖺿' => '𖺤' (line 3186) 1120s # Converting '𖻀' => '𖺥' (line 3187) 1120s # Converting '𖻁' => '𖺦' (line 3188) 1120s # Converting '𖻂' => '𖺧' (line 3189) 1120s # Converting '𖻃' => '𖺨' (line 3190) 1120s # Converting '𖻄' => '𖺩' (line 3191) 1120s # Converting '𖻅' => '𖺪' (line 3192) 1120s # Converting '𖻆' => '𖺫' (line 3193) 1120s # Converting '𖻇' => '𖺬' (line 3194) 1120s # Converting '𖻈' => '𖺭' (line 3195) 1120s # Converting '𖻉' => '𖺮' (line 3196) 1120s # Converting '𖻊' => '𖺯' (line 3197) 1120s # Converting '𖻋' => '𖺰' (line 3198) 1120s # Converting '𖻌' => '𖺱' (line 3199) 1120s # Converting '𖻍' => '𖺲' (line 3200) 1120s # Converting '𖻎' => '𖺳' (line 3201) 1120s # Converting '𖻏' => '𖺴' (line 3202) 1120s # Converting '𖻐' => '𖺵' (line 3203) 1120s # Converting '𖻑' => '𖺶' (line 3204) 1120s # Converting '𖻒' => '𖺷' (line 3205) 1120s # Converting '𖻓' => '𖺸' (line 3206) 1120s # Converting '𝐀' => '𝐀' (line 3207) 1120s # Converting '𝐁' => '𝐁' (line 3208) 1120s # Converting '𝐂' => '𝐂' (line 3209) 1120s # Converting '𝐃' => '𝐃' (line 3210) 1120s # Converting '𝐄' => '𝐄' (line 3211) 1120s # Converting '𝐅' => '𝐅' (line 3212) 1120s # Converting '𝐆' => '𝐆' (line 3213) 1120s # Converting '𝐇' => '𝐇' (line 3214) 1120s # Converting '𝐈' => '𝐈' (line 3215) 1120s # Converting '𝐉' => '𝐉' (line 3216) 1120s # Converting '𝐊' => '𝐊' (line 3217) 1120s # Converting '𝐋' => '𝐋' (line 3218) 1120s # Converting '𝐌' => '𝐌' (line 3219) 1120s # Converting '𝐍' => '𝐍' (line 3220) 1120s # Converting '𝐎' => '𝐎' (line 3221) 1120s # Converting '𝐏' => '𝐏' (line 3222) 1120s # Converting '𝐐' => '𝐐' (line 3223) 1120s # Converting '𝐑' => '𝐑' (line 3224) 1120s # Converting '𝐒' => '𝐒' (line 3225) 1120s # Converting '𝐓' => '𝐓' (line 3226) 1120s # Converting '𝐔' => '𝐔' (line 3227) 1120s # Converting '𝐕' => '𝐕' (line 3228) 1120s # Converting '𝐖' => '𝐖' (line 3229) 1120s # Converting '𝐗' => '𝐗' (line 3230) 1120s # Converting '𝐘' => '𝐘' (line 3231) 1120s # Converting '𝐙' => '𝐙' (line 3232) 1120s # Converting '𝐚' => '𝐚' (line 3233) 1120s # Converting '𝐛' => '𝐛' (line 3234) 1120s # Converting '𝐜' => '𝐜' (line 3235) 1120s # Converting '𝐝' => '𝐝' (line 3236) 1120s # Converting '𝐞' => '𝐞' (line 3237) 1120s # Converting '𝐟' => '𝐟' (line 3238) 1120s # Converting '𝐠' => '𝐠' (line 3239) 1120s # Converting '𝐡' => '𝐡' (line 3240) 1120s # Converting '𝐢' => '𝐢' (line 3241) 1120s # Converting '𝐣' => '𝐣' (line 3242) 1120s # Converting '𝐤' => '𝐤' (line 3243) 1120s # Converting '𝐥' => '𝐥' (line 3244) 1120s # Converting '𝐦' => '𝐦' (line 3245) 1120s # Converting '𝐧' => '𝐧' (line 3246) 1120s # Converting '𝐨' => '𝐨' (line 3247) 1120s # Converting '𝐩' => '𝐩' (line 3248) 1120s # Converting '𝐪' => '𝐪' (line 3249) 1120s # Converting '𝐫' => '𝐫' (line 3250) 1120s # Converting '𝐬' => '𝐬' (line 3251) 1120s # Converting '𝐭' => '𝐭' (line 3252) 1120s # Converting '𝐮' => '𝐮' (line 3253) 1120s # Converting '𝐯' => '𝐯' (line 3254) 1120s # Converting '𝐰' => '𝐰' (line 3255) 1120s # Converting '𝐱' => '𝐱' (line 3256) 1120s # Converting '𝐲' => '𝐲' (line 3257) 1120s # Converting '𝐳' => '𝐳' (line 3258) 1120s # Converting '𝐴' => '𝐴' (line 3259) 1120s # Converting '𝐵' => '𝐵' (line 3260) 1120s # Converting '𝐶' => '𝐶' (line 3261) 1120s # Converting '𝐷' => '𝐷' (line 3262) 1120s # Converting '𝐸' => '𝐸' (line 3263) 1120s # Converting '𝐹' => '𝐹' (line 3264) 1120s # Converting '𝐺' => '𝐺' (line 3265) 1120s # Converting '𝐻' => '𝐻' (line 3266) 1120s # Converting '𝐼' => '𝐼' (line 3267) 1120s # Converting '𝐽' => '𝐽' (line 3268) 1120s # Converting '𝐾' => '𝐾' (line 3269) 1120s # Converting '𝐿' => '𝐿' (line 3270) 1120s # Converting '𝑀' => '𝑀' (line 3271) 1120s # Converting '𝑁' => '𝑁' (line 3272) 1120s # Converting '𝑂' => '𝑂' (line 3273) 1120s # Converting '𝑃' => '𝑃' (line 3274) 1120s # Converting '𝑄' => '𝑄' (line 3275) 1120s # Converting '𝑅' => '𝑅' (line 3276) 1120s # Converting '𝑆' => '𝑆' (line 3277) 1120s # Converting '𝑇' => '𝑇' (line 3278) 1120s # Converting '𝑈' => '𝑈' (line 3279) 1120s # Converting '𝑉' => '𝑉' (line 3280) 1120s # Converting '𝑊' => '𝑊' (line 3281) 1120s # Converting '𝑋' => '𝑋' (line 3282) 1120s # Converting '𝑌' => '𝑌' (line 3283) 1120s # Converting '𝑍' => '𝑍' (line 3284) 1120s # Converting '𝑎' => '𝑎' (line 3285) 1120s # Converting '𝑏' => '𝑏' (line 3286) 1120s # Converting '𝑐' => '𝑐' (line 3287) 1120s # Converting '𝑑' => '𝑑' (line 3288) 1120s # Converting '𝑒' => '𝑒' (line 3289) 1120s # Converting '𝑓' => '𝑓' (line 3290) 1120s # Converting '𝑔' => '𝑔' (line 3291) 1120s # Converting '𝑖' => '𝑖' (line 3292) 1120s # Converting '𝑗' => '𝑗' (line 3293) 1120s # Converting '𝑘' => '𝑘' (line 3294) 1120s # Converting '𝑙' => '𝑙' (line 3295) 1120s # Converting '𝑚' => '𝑚' (line 3296) 1120s # Converting '𝑛' => '𝑛' (line 3297) 1120s # Converting '𝑜' => '𝑜' (line 3298) 1120s # Converting '𝑝' => '𝑝' (line 3299) 1120s # Converting '𝑞' => '𝑞' (line 3300) 1120s # Converting '𝑟' => '𝑟' (line 3301) 1120s # Converting '𝑠' => '𝑠' (line 3302) 1120s # Converting '𝑡' => '𝑡' (line 3303) 1120s # Converting '𝑢' => '𝑢' (line 3304) 1120s # Converting '𝑣' => '𝑣' (line 3305) 1120s # Converting '𝑤' => '𝑤' (line 3306) 1120s # Converting '𝑥' => '𝑥' (line 3307) 1120s # Converting '𝑦' => '𝑦' (line 3308) 1120s # Converting '𝑧' => '𝑧' (line 3309) 1120s # Converting '𝑨' => '𝑨' (line 3310) 1120s # Converting '𝑩' => '𝑩' (line 3311) 1120s # Converting '𝑪' => '𝑪' (line 3312) 1120s # Converting '𝑫' => '𝑫' (line 3313) 1120s # Converting '𝑬' => '𝑬' (line 3314) 1120s # Converting '𝑭' => '𝑭' (line 3315) 1120s # Converting '𝑮' => '𝑮' (line 3316) 1120s # Converting '𝑯' => '𝑯' (line 3317) 1120s # Converting '𝑰' => '𝑰' (line 3318) 1120s # Converting '𝑱' => '𝑱' (line 3319) 1120s # Converting '𝑲' => '𝑲' (line 3320) 1120s # Converting '𝑳' => '𝑳' (line 3321) 1120s # Converting '𝑴' => '𝑴' (line 3322) 1120s # Converting '𝑵' => '𝑵' (line 3323) 1120s # Converting '𝑶' => '𝑶' (line 3324) 1120s # Converting '𝑷' => '𝑷' (line 3325) 1120s # Converting '𝑸' => '𝑸' (line 3326) 1120s # Converting '𝑹' => '𝑹' (line 3327) 1120s # Converting '𝑺' => '𝑺' (line 3328) 1120s # Converting '𝑻' => '𝑻' (line 3329) 1120s # Converting '𝑼' => '𝑼' (line 3330) 1120s # Converting '𝑽' => '𝑽' (line 3331) 1120s # Converting '𝑾' => '𝑾' (line 3332) 1120s # Converting '𝑿' => '𝑿' (line 3333) 1120s # Converting '𝒀' => '𝒀' (line 3334) 1120s # Converting '𝒁' => '𝒁' (line 3335) 1120s # Converting '𝒂' => '𝒂' (line 3336) 1120s # Converting '𝒃' => '𝒃' (line 3337) 1120s # Converting '𝒄' => '𝒄' (line 3338) 1120s # Converting '𝒅' => '𝒅' (line 3339) 1120s # Converting '𝒆' => '𝒆' (line 3340) 1120s # Converting '𝒇' => '𝒇' (line 3341) 1120s # Converting '𝒈' => '𝒈' (line 3342) 1120s # Converting '𝒉' => '𝒉' (line 3343) 1120s # Converting '𝒊' => '𝒊' (line 3344) 1120s # Converting '𝒋' => '𝒋' (line 3345) 1120s # Converting '𝒌' => '𝒌' (line 3346) 1120s # Converting '𝒍' => '𝒍' (line 3347) 1120s # Converting '𝒎' => '𝒎' (line 3348) 1120s # Converting '𝒏' => '𝒏' (line 3349) 1120s # Converting '𝒐' => '𝒐' (line 3350) 1120s # Converting '𝒑' => '𝒑' (line 3351) 1120s # Converting '𝒒' => '𝒒' (line 3352) 1120s # Converting '𝒓' => '𝒓' (line 3353) 1120s # Converting '𝒔' => '𝒔' (line 3354) 1120s # Converting '𝒕' => '𝒕' (line 3355) 1120s # Converting '𝒖' => '𝒖' (line 3356) 1120s # Converting '𝒗' => '𝒗' (line 3357) 1120s # Converting '𝒘' => '𝒘' (line 3358) 1120s # Converting '𝒙' => '𝒙' (line 3359) 1120s # Converting '𝒚' => '𝒚' (line 3360) 1120s # Converting '𝒛' => '𝒛' (line 3361) 1120s # Converting '𝒜' => '𝒜' (line 3362) 1120s # Converting '𝒞' => '𝒞' (line 3363) 1120s # Converting '𝒟' => '𝒟' (line 3364) 1120s # Converting '𝒢' => '𝒢' (line 3365) 1120s # Converting '𝒥' => '𝒥' (line 3366) 1120s # Converting '𝒦' => '𝒦' (line 3367) 1120s # Converting '𝒩' => '𝒩' (line 3368) 1120s # Converting '𝒪' => '𝒪' (line 3369) 1120s # Converting '𝒫' => '𝒫' (line 3370) 1120s # Converting '𝒬' => '𝒬' (line 3371) 1120s # Converting '𝒮' => '𝒮' (line 3372) 1120s # Converting '𝒯' => '𝒯' (line 3373) 1120s # Converting '𝒰' => '𝒰' (line 3374) 1120s # Converting '𝒱' => '𝒱' (line 3375) 1120s # Converting '𝒲' => '𝒲' (line 3376) 1120s # Converting '𝒳' => '𝒳' (line 3377) 1120s # Converting '𝒴' => '𝒴' (line 3378) 1120s # Converting '𝒵' => '𝒵' (line 3379) 1120s # Converting '𝒶' => '𝒶' (line 3380) 1120s # Converting '𝒷' => '𝒷' (line 3381) 1120s # Converting '𝒸' => '𝒸' (line 3382) 1120s # Converting '𝒹' => '𝒹' (line 3383) 1120s # Converting '𝒻' => '𝒻' (line 3384) 1120s # Converting '𝒽' => '𝒽' (line 3385) 1120s # Converting '𝒾' => '𝒾' (line 3386) 1120s # Converting '𝒿' => '𝒿' (line 3387) 1120s # Converting '𝓀' => '𝓀' (line 3388) 1120s # Converting '𝓁' => '𝓁' (line 3389) 1120s # Converting '𝓂' => '𝓂' (line 3390) 1120s # Converting '𝓃' => '𝓃' (line 3391) 1120s # Converting '𝓅' => '𝓅' (line 3392) 1120s # Converting '𝓆' => '𝓆' (line 3393) 1120s # Converting '𝓇' => '𝓇' (line 3394) 1120s # Converting '𝓈' => '𝓈' (line 3395) 1120s # Converting '𝓉' => '𝓉' (line 3396) 1120s # Converting '𝓊' => '𝓊' (line 3397) 1120s # Converting '𝓋' => '𝓋' (line 3398) 1120s # Converting '𝓌' => '𝓌' (line 3399) 1120s # Converting '𝓍' => '𝓍' (line 3400) 1120s # Converting '𝓎' => '𝓎' (line 3401) 1120s # Converting '𝓏' => '𝓏' (line 3402) 1120s # Converting '𝓐' => '𝓐' (line 3403) 1120s # Converting '𝓑' => '𝓑' (line 3404) 1120s # Converting '𝓒' => '𝓒' (line 3405) 1120s # Converting '𝓓' => '𝓓' (line 3406) 1120s # Converting '𝓔' => '𝓔' (line 3407) 1120s # Converting '𝓕' => '𝓕' (line 3408) 1120s # Converting '𝓖' => '𝓖' (line 3409) 1120s # Converting '𝓗' => '𝓗' (line 3410) 1120s # Converting '𝓘' => '𝓘' (line 3411) 1120s # Converting '𝓙' => '𝓙' (line 3412) 1120s # Converting '𝓚' => '𝓚' (line 3413) 1120s # Converting '𝓛' => '𝓛' (line 3414) 1120s # Converting '𝓜' => '𝓜' (line 3415) 1120s # Converting '𝓝' => '𝓝' (line 3416) 1120s # Converting '𝓞' => '𝓞' (line 3417) 1120s # Converting '𝓟' => '𝓟' (line 3418) 1120s # Converting '𝓠' => '𝓠' (line 3419) 1120s # Converting '𝓡' => '𝓡' (line 3420) 1120s # Converting '𝓢' => '𝓢' (line 3421) 1120s # Converting '𝓣' => '𝓣' (line 3422) 1120s # Converting '𝓤' => '𝓤' (line 3423) 1120s # Converting '𝓥' => '𝓥' (line 3424) 1120s # Converting '𝓦' => '𝓦' (line 3425) 1120s # Converting '𝓧' => '𝓧' (line 3426) 1120s # Converting '𝓨' => '𝓨' (line 3427) 1120s # Converting '𝓩' => '𝓩' (line 3428) 1120s # Converting '𝓪' => '𝓪' (line 3429) 1120s # Converting '𝓫' => '𝓫' (line 3430) 1120s # Converting '𝓬' => '𝓬' (line 3431) 1120s # Converting '𝓭' => '𝓭' (line 3432) 1120s # Converting '𝓮' => '𝓮' (line 3433) 1120s # Converting '𝓯' => '𝓯' (line 3434) 1120s # Converting '𝓰' => '𝓰' (line 3435) 1120s # Converting '𝓱' => '𝓱' (line 3436) 1120s # Converting '𝓲' => '𝓲' (line 3437) 1120s # Converting '𝓳' => '𝓳' (line 3438) 1120s # Converting '𝓴' => '𝓴' (line 3439) 1120s # Converting '𝓵' => '𝓵' (line 3440) 1120s # Converting '𝓶' => '𝓶' (line 3441) 1120s # Converting '𝓷' => '𝓷' (line 3442) 1120s # Converting '𝓸' => '𝓸' (line 3443) 1120s # Converting '𝓹' => '𝓹' (line 3444) 1120s # Converting '𝓺' => '𝓺' (line 3445) 1120s # Converting '𝓻' => '𝓻' (line 3446) 1120s # Converting '𝓼' => '𝓼' (line 3447) 1120s # Converting '𝓽' => '𝓽' (line 3448) 1120s # Converting '𝓾' => '𝓾' (line 3449) 1120s # Converting '𝓿' => '𝓿' (line 3450) 1120s # Converting '𝔀' => '𝔀' (line 3451) 1120s # Converting '𝔁' => '𝔁' (line 3452) 1120s # Converting '𝔂' => '𝔂' (line 3453) 1120s # Converting '𝔃' => '𝔃' (line 3454) 1120s # Converting '𝔄' => '𝔄' (line 3455) 1120s # Converting '𝔅' => '𝔅' (line 3456) 1120s # Converting '𝔇' => '𝔇' (line 3457) 1120s # Converting '𝔈' => '𝔈' (line 3458) 1120s # Converting '𝔉' => '𝔉' (line 3459) 1120s # Converting '𝔊' => '𝔊' (line 3460) 1120s # Converting '𝔍' => '𝔍' (line 3461) 1120s # Converting '𝔎' => '𝔎' (line 3462) 1120s # Converting '𝔏' => '𝔏' (line 3463) 1120s # Converting '𝔐' => '𝔐' (line 3464) 1120s # Converting '𝔑' => '𝔑' (line 3465) 1120s # Converting '𝔒' => '𝔒' (line 3466) 1120s # Converting '𝔓' => '𝔓' (line 3467) 1120s # Converting '𝔔' => '𝔔' (line 3468) 1120s # Converting '𝔖' => '𝔖' (line 3469) 1120s # Converting '𝔗' => '𝔗' (line 3470) 1120s # Converting '𝔘' => '𝔘' (line 3471) 1120s # Converting '𝔙' => '𝔙' (line 3472) 1120s # Converting '𝔚' => '𝔚' (line 3473) 1120s # Converting '𝔛' => '𝔛' (line 3474) 1120s # Converting '𝔜' => '𝔜' (line 3475) 1120s # Converting '𝔞' => '𝔞' (line 3476) 1120s # Converting '𝔟' => '𝔟' (line 3477) 1120s # Converting '𝔠' => '𝔠' (line 3478) 1120s # Converting '𝔡' => '𝔡' (line 3479) 1120s # Converting '𝔢' => '𝔢' (line 3480) 1120s # Converting '𝔣' => '𝔣' (line 3481) 1120s # Converting '𝔤' => '𝔤' (line 3482) 1120s # Converting '𝔥' => '𝔥' (line 3483) 1120s # Converting '𝔦' => '𝔦' (line 3484) 1120s # Converting '𝔧' => '𝔧' (line 3485) 1120s # Converting '𝔨' => '𝔨' (line 3486) 1120s # Converting '𝔩' => '𝔩' (line 3487) 1120s # Converting '𝔪' => '𝔪' (line 3488) 1120s # Converting '𝔫' => '𝔫' (line 3489) 1120s # Converting '𝔬' => '𝔬' (line 3490) 1120s # Converting '𝔭' => '𝔭' (line 3491) 1120s # Converting '𝔮' => '𝔮' (line 3492) 1120s # Converting '𝔯' => '𝔯' (line 3493) 1120s # Converting '𝔰' => '𝔰' (line 3494) 1120s # Converting '𝔱' => '𝔱' (line 3495) 1120s # Converting '𝔲' => '𝔲' (line 3496) 1120s # Converting '𝔳' => '𝔳' (line 3497) 1120s # Converting '𝔴' => '𝔴' (line 3498) 1120s # Converting '𝔵' => '𝔵' (line 3499) 1120s # Converting '𝔶' => '𝔶' (line 3500) 1120s # Converting '𝔷' => '𝔷' (line 3501) 1120s # Converting '𝔸' => '𝔸' (line 3502) 1120s # Converting '𝔹' => '𝔹' (line 3503) 1120s # Converting '𝔻' => '𝔻' (line 3504) 1120s # Converting '𝔼' => '𝔼' (line 3505) 1120s # Converting '𝔽' => '𝔽' (line 3506) 1120s # Converting '𝔾' => '𝔾' (line 3507) 1120s # Converting '𝕀' => '𝕀' (line 3508) 1120s # Converting '𝕁' => '𝕁' (line 3509) 1120s # Converting '𝕂' => '𝕂' (line 3510) 1120s # Converting '𝕃' => '𝕃' (line 3511) 1120s # Converting '𝕄' => '𝕄' (line 3512) 1120s # Converting '𝕆' => '𝕆' (line 3513) 1120s # Converting '𝕊' => '𝕊' (line 3514) 1120s # Converting '𝕋' => '𝕋' (line 3515) 1120s # Converting '𝕌' => '𝕌' (line 3516) 1120s # Converting '𝕍' => '𝕍' (line 3517) 1120s # Converting '𝕎' => '𝕎' (line 3518) 1120s # Converting '𝕏' => '𝕏' (line 3519) 1120s # Converting '𝕐' => '𝕐' (line 3520) 1120s # Converting '𝕒' => '𝕒' (line 3521) 1120s # Converting '𝕓' => '𝕓' (line 3522) 1120s # Converting '𝕔' => '𝕔' (line 3523) 1120s # Converting '𝕕' => '𝕕' (line 3524) 1120s # Converting '𝕖' => '𝕖' (line 3525) 1120s # Converting '𝕗' => '𝕗' (line 3526) 1120s # Converting '𝕘' => '𝕘' (line 3527) 1120s # Converting '𝕙' => '𝕙' (line 3528) 1120s # Converting '𝕚' => '𝕚' (line 3529) 1120s # Converting '𝕛' => '𝕛' (line 3530) 1120s # Converting '𝕜' => '𝕜' (line 3531) 1120s # Converting '𝕝' => '𝕝' (line 3532) 1120s # Converting '𝕞' => '𝕞' (line 3533) 1120s # Converting '𝕟' => '𝕟' (line 3534) 1120s # Converting '𝕠' => '𝕠' (line 3535) 1120s # Converting '𝕡' => '𝕡' (line 3536) 1120s # Converting '𝕢' => '𝕢' (line 3537) 1120s # Converting '𝕣' => '𝕣' (line 3538) 1120s # Converting '𝕤' => '𝕤' (line 3539) 1120s # Converting '𝕥' => '𝕥' (line 3540) 1120s # Converting '𝕦' => '𝕦' (line 3541) 1120s # Converting '𝕧' => '𝕧' (line 3542) 1120s # Converting '𝕨' => '𝕨' (line 3543) 1120s # Converting '𝕩' => '𝕩' (line 3544) 1120s # Converting '𝕪' => '𝕪' (line 3545) 1120s # Converting '𝕫' => '𝕫' (line 3546) 1120s # Converting '𝕬' => '𝕬' (line 3547) 1120s # Converting '𝕭' => '𝕭' (line 3548) 1120s # Converting '𝕮' => '𝕮' (line 3549) 1120s # Converting '𝕯' => '𝕯' (line 3550) 1120s # Converting '𝕰' => '𝕰' (line 3551) 1120s # Converting '𝕱' => '𝕱' (line 3552) 1120s # Converting '𝕲' => '𝕲' (line 3553) 1120s # Converting '𝕳' => '𝕳' (line 3554) 1120s # Converting '𝕴' => '𝕴' (line 3555) 1120s # Converting '𝕵' => '𝕵' (line 3556) 1120s # Converting '𝕶' => '𝕶' (line 3557) 1120s # Converting '𝕷' => '𝕷' (line 3558) 1120s # Converting '𝕸' => '𝕸' (line 3559) 1120s # Converting '𝕹' => '𝕹' (line 3560) 1120s # Converting '𝕺' => '𝕺' (line 3561) 1120s # Converting '𝕻' => '𝕻' (line 3562) 1120s # Converting '𝕼' => '𝕼' (line 3563) 1120s # Converting '𝕽' => '𝕽' (line 3564) 1120s # Converting '𝕾' => '𝕾' (line 3565) 1120s # Converting '𝕿' => '𝕿' (line 3566) 1120s # Converting '𝖀' => '𝖀' (line 3567) 1120s # Converting '𝖁' => '𝖁' (line 3568) 1120s # Converting '𝖂' => '𝖂' (line 3569) 1120s # Converting '𝖃' => '𝖃' (line 3570) 1120s # Converting '𝖄' => '𝖄' (line 3571) 1120s # Converting '𝖅' => '𝖅' (line 3572) 1120s # Converting '𝖆' => '𝖆' (line 3573) 1120s # Converting '𝖇' => '𝖇' (line 3574) 1120s # Converting '𝖈' => '𝖈' (line 3575) 1120s # Converting '𝖉' => '𝖉' (line 3576) 1120s # Converting '𝖊' => '𝖊' (line 3577) 1120s # Converting '𝖋' => '𝖋' (line 3578) 1120s # Converting '𝖌' => '𝖌' (line 3579) 1120s # Converting '𝖍' => '𝖍' (line 3580) 1120s # Converting '𝖎' => '𝖎' (line 3581) 1120s # Converting '𝖏' => '𝖏' (line 3582) 1120s # Converting '𝖐' => '𝖐' (line 3583) 1120s # Converting '𝖑' => '𝖑' (line 3584) 1120s # Converting '𝖒' => '𝖒' (line 3585) 1120s # Converting '𝖓' => '𝖓' (line 3586) 1120s # Converting '𝖔' => '𝖔' (line 3587) 1120s # Converting '𝖕' => '𝖕' (line 3588) 1120s # Converting '𝖖' => '𝖖' (line 3589) 1120s # Converting '𝖗' => '𝖗' (line 3590) 1120s # Converting '𝖘' => '𝖘' (line 3591) 1120s # Converting '𝖙' => '𝖙' (line 3592) 1120s # Converting '𝖚' => '𝖚' (line 3593) 1120s # Converting '𝖛' => '𝖛' (line 3594) 1120s # Converting '𝖜' => '𝖜' (line 3595) 1120s # Converting '𝖝' => '𝖝' (line 3596) 1120s # Converting '𝖞' => '𝖞' (line 3597) 1120s # Converting '𝖟' => '𝖟' (line 3598) 1120s # Converting '𝖠' => '𝖠' (line 3599) 1120s # Converting '𝖡' => '𝖡' (line 3600) 1120s # Converting '𝖢' => '𝖢' (line 3601) 1120s # Converting '𝖣' => '𝖣' (line 3602) 1120s # Converting '𝖤' => '𝖤' (line 3603) 1120s # Converting '𝖥' => '𝖥' (line 3604) 1120s # Converting '𝖦' => '𝖦' (line 3605) 1120s # Converting '𝖧' => '𝖧' (line 3606) 1120s # Converting '𝖨' => '𝖨' (line 3607) 1120s # Converting '𝖩' => '𝖩' (line 3608) 1120s # Converting '𝖪' => '𝖪' (line 3609) 1120s # Converting '𝖫' => '𝖫' (line 3610) 1120s # Converting '𝖬' => '𝖬' (line 3611) 1120s # Converting '𝖭' => '𝖭' (line 3612) 1120s # Converting '𝖮' => '𝖮' (line 3613) 1120s # Converting '𝖯' => '𝖯' (line 3614) 1120s # Converting '𝖰' => '𝖰' (line 3615) 1120s # Converting '𝖱' => '𝖱' (line 3616) 1120s # Converting '𝖲' => '𝖲' (line 3617) 1120s # Converting '𝖳' => '𝖳' (line 3618) 1120s # Converting '𝖴' => '𝖴' (line 3619) 1120s # Converting '𝖵' => '𝖵' (line 3620) 1120s # Converting '𝖶' => '𝖶' (line 3621) 1120s # Converting '𝖷' => '𝖷' (line 3622) 1120s # Converting '𝖸' => '𝖸' (line 3623) 1120s # Converting '𝖹' => '𝖹' (line 3624) 1120s # Converting '𝖺' => '𝖺' (line 3625) 1120s # Converting '𝖻' => '𝖻' (line 3626) 1120s # Converting '𝖼' => '𝖼' (line 3627) 1120s # Converting '𝖽' => '𝖽' (line 3628) 1120s # Converting '𝖾' => '𝖾' (line 3629) 1120s # Converting '𝖿' => '𝖿' (line 3630) 1120s # Converting '𝗀' => '𝗀' (line 3631) 1120s # Converting '𝗁' => '𝗁' (line 3632) 1120s # Converting '𝗂' => '𝗂' (line 3633) 1120s # Converting '𝗃' => '𝗃' (line 3634) 1120s # Converting '𝗄' => '𝗄' (line 3635) 1120s # Converting '𝗅' => '𝗅' (line 3636) 1120s # Converting '𝗆' => '𝗆' (line 3637) 1120s # Converting '𝗇' => '𝗇' (line 3638) 1120s # Converting '𝗈' => '𝗈' (line 3639) 1120s # Converting '𝗉' => '𝗉' (line 3640) 1120s # Converting '𝗊' => '𝗊' (line 3641) 1120s # Converting '𝗋' => '𝗋' (line 3642) 1120s # Converting '𝗌' => '𝗌' (line 3643) 1120s # Converting '𝗍' => '𝗍' (line 3644) 1120s # Converting '𝗎' => '𝗎' (line 3645) 1120s # Converting '𝗏' => '𝗏' (line 3646) 1120s # Converting '𝗐' => '𝗐' (line 3647) 1120s # Converting '𝗑' => '𝗑' (line 3648) 1120s # Converting '𝗒' => '𝗒' (line 3649) 1120s # Converting '𝗓' => '𝗓' (line 3650) 1120s # Converting '𝗔' => '𝗔' (line 3651) 1120s # Converting '𝗕' => '𝗕' (line 3652) 1120s # Converting '𝗖' => '𝗖' (line 3653) 1120s # Converting '𝗗' => '𝗗' (line 3654) 1120s # Converting '𝗘' => '𝗘' (line 3655) 1120s # Converting '𝗙' => '𝗙' (line 3656) 1120s # Converting '𝗚' => '𝗚' (line 3657) 1120s # Converting '𝗛' => '𝗛' (line 3658) 1120s # Converting '𝗜' => '𝗜' (line 3659) 1120s # Converting '𝗝' => '𝗝' (line 3660) 1120s # Converting '𝗞' => '𝗞' (line 3661) 1120s # Converting '𝗟' => '𝗟' (line 3662) 1120s # Converting '𝗠' => '𝗠' (line 3663) 1120s # Converting '𝗡' => '𝗡' (line 3664) 1120s # Converting '𝗢' => '𝗢' (line 3665) 1120s # Converting '𝗣' => '𝗣' (line 3666) 1120s # Converting '𝗤' => '𝗤' (line 3667) 1120s # Converting '𝗥' => '𝗥' (line 3668) 1120s # Converting '𝗦' => '𝗦' (line 3669) 1120s # Converting '𝗧' => '𝗧' (line 3670) 1120s # Converting '𝗨' => '𝗨' (line 3671) 1120s # Converting '𝗩' => '𝗩' (line 3672) 1120s # Converting '𝗪' => '𝗪' (line 3673) 1120s # Converting '𝗫' => '𝗫' (line 3674) 1120s # Converting '𝗬' => '𝗬' (line 3675) 1120s # Converting '𝗭' => '𝗭' (line 3676) 1120s # Converting '𝗮' => '𝗮' (line 3677) 1120s # Converting '𝗯' => '𝗯' (line 3678) 1120s # Converting '𝗰' => '𝗰' (line 3679) 1120s # Converting '𝗱' => '𝗱' (line 3680) 1120s # Converting '𝗲' => '𝗲' (line 3681) 1120s # Converting '𝗳' => '𝗳' (line 3682) 1120s # Converting '𝗴' => '𝗴' (line 3683) 1120s # Converting '𝗵' => '𝗵' (line 3684) 1120s # Converting '𝗶' => '𝗶' (line 3685) 1120s # Converting '𝗷' => '𝗷' (line 3686) 1120s # Converting '𝗸' => '𝗸' (line 3687) 1120s # Converting '𝗹' => '𝗹' (line 3688) 1120s # Converting '𝗺' => '𝗺' (line 3689) 1120s # Converting '𝗻' => '𝗻' (line 3690) 1120s # Converting '𝗼' => '𝗼' (line 3691) 1120s # Converting '𝗽' => '𝗽' (line 3692) 1120s # Converting '𝗾' => '𝗾' (line 3693) 1120s # Converting '𝗿' => '𝗿' (line 3694) 1120s # Converting '𝘀' => '𝘀' (line 3695) 1120s # Converting '𝘁' => '𝘁' (line 3696) 1120s # Converting '𝘂' => '𝘂' (line 3697) 1120s # Converting '𝘃' => '𝘃' (line 3698) 1120s # Converting '𝘄' => '𝘄' (line 3699) 1120s # Converting '𝘅' => '𝘅' (line 3700) 1120s # Converting '𝘆' => '𝘆' (line 3701) 1120s # Converting '𝘇' => '𝘇' (line 3702) 1120s # Converting '𝘈' => '𝘈' (line 3703) 1120s # Converting '𝘉' => '𝘉' (line 3704) 1120s # Converting '𝘊' => '𝘊' (line 3705) 1120s # Converting '𝘋' => '𝘋' (line 3706) 1120s # Converting '𝘌' => '𝘌' (line 3707) 1120s # Converting '𝘍' => '𝘍' (line 3708) 1120s # Converting '𝘎' => '𝘎' (line 3709) 1120s # Converting '𝘏' => '𝘏' (line 3710) 1120s # Converting '𝘐' => '𝘐' (line 3711) 1120s # Converting '𝘑' => '𝘑' (line 3712) 1120s # Converting '𝘒' => '𝘒' (line 3713) 1120s # Converting '𝘓' => '𝘓' (line 3714) 1120s # Converting '𝘔' => '𝘔' (line 3715) 1120s # Converting '𝘕' => '𝘕' (line 3716) 1120s # Converting '𝘖' => '𝘖' (line 3717) 1120s # Converting '𝘗' => '𝘗' (line 3718) 1120s # Converting '𝘘' => '𝘘' (line 3719) 1120s # Converting '𝘙' => '𝘙' (line 3720) 1120s # Converting '𝘚' => '𝘚' (line 3721) 1120s # Converting '𝘛' => '𝘛' (line 3722) 1120s # Converting '𝘜' => '𝘜' (line 3723) 1120s # Converting '𝘝' => '𝘝' (line 3724) 1120s # Converting '𝘞' => '𝘞' (line 3725) 1120s # Converting '𝘟' => '𝘟' (line 3726) 1120s # Converting '𝘠' => '𝘠' (line 3727) 1120s # Converting '𝘡' => '𝘡' (line 3728) 1120s # Converting '𝘢' => '𝘢' (line 3729) 1120s # Converting '𝘣' => '𝘣' (line 3730) 1120s # Converting '𝘤' => '𝘤' (line 3731) 1120s # Converting '𝘥' => '𝘥' (line 3732) 1120s # Converting '𝘦' => '𝘦' (line 3733) 1120s # Converting '𝘧' => '𝘧' (line 3734) 1120s # Converting '𝘨' => '𝘨' (line 3735) 1120s # Converting '𝘩' => '𝘩' (line 3736) 1120s # Converting '𝘪' => '𝘪' (line 3737) 1120s # Converting '𝘫' => '𝘫' (line 3738) 1120s # Converting '𝘬' => '𝘬' (line 3739) 1120s # Converting '𝘭' => '𝘭' (line 3740) 1120s # Converting '𝘮' => '𝘮' (line 3741) 1120s # Converting '𝘯' => '𝘯' (line 3742) 1120s # Converting '𝘰' => '𝘰' (line 3743) 1120s # Converting '𝘱' => '𝘱' (line 3744) 1120s # Converting '𝘲' => '𝘲' (line 3745) 1120s # Converting '𝘳' => '𝘳' (line 3746) 1120s # Converting '𝘴' => '𝘴' (line 3747) 1120s # Converting '𝘵' => '𝘵' (line 3748) 1120s # Converting '𝘶' => '𝘶' (line 3749) 1120s # Converting '𝘷' => '𝘷' (line 3750) 1120s # Converting '𝘸' => '𝘸' (line 3751) 1120s # Converting '𝘹' => '𝘹' (line 3752) 1120s # Converting '𝘺' => '𝘺' (line 3753) 1120s # Converting '𝘻' => '𝘻' (line 3754) 1120s # Converting '𝘼' => '𝘼' (line 3755) 1120s # Converting '𝘽' => '𝘽' (line 3756) 1120s # Converting '𝘾' => '𝘾' (line 3757) 1120s # Converting '𝘿' => '𝘿' (line 3758) 1120s # Converting '𝙀' => '𝙀' (line 3759) 1120s # Converting '𝙁' => '𝙁' (line 3760) 1120s # Converting '𝙂' => '𝙂' (line 3761) 1120s # Converting '𝙃' => '𝙃' (line 3762) 1120s # Converting '𝙄' => '𝙄' (line 3763) 1120s # Converting '𝙅' => '𝙅' (line 3764) 1120s # Converting '𝙆' => '𝙆' (line 3765) 1120s # Converting '𝙇' => '𝙇' (line 3766) 1120s # Converting '𝙈' => '𝙈' (line 3767) 1120s # Converting '𝙉' => '𝙉' (line 3768) 1120s # Converting '𝙊' => '𝙊' (line 3769) 1120s # Converting '𝙋' => '𝙋' (line 3770) 1120s # Converting '𝙌' => '𝙌' (line 3771) 1120s # Converting '𝙍' => '𝙍' (line 3772) 1120s # Converting '𝙎' => '𝙎' (line 3773) 1120s # Converting '𝙏' => '𝙏' (line 3774) 1120s # Converting '𝙐' => '𝙐' (line 3775) 1120s # Converting '𝙑' => '𝙑' (line 3776) 1120s # Converting '𝙒' => '𝙒' (line 3777) 1120s # Converting '𝙓' => '𝙓' (line 3778) 1120s # Converting '𝙔' => '𝙔' (line 3779) 1120s # Converting '𝙕' => '𝙕' (line 3780) 1120s # Converting '𝙖' => '𝙖' (line 3781) 1120s # Converting '𝙗' => '𝙗' (line 3782) 1120s # Converting '𝙘' => '𝙘' (line 3783) 1120s # Converting '𝙙' => '𝙙' (line 3784) 1120s # Converting '𝙚' => '𝙚' (line 3785) 1120s # Converting '𝙛' => '𝙛' (line 3786) 1120s # Converting '𝙜' => '𝙜' (line 3787) 1120s # Converting '𝙝' => '𝙝' (line 3788) 1120s # Converting '𝙞' => '𝙞' (line 3789) 1120s # Converting '𝙟' => '𝙟' (line 3790) 1120s # Converting '𝙠' => '𝙠' (line 3791) 1120s # Converting '𝙡' => '𝙡' (line 3792) 1120s # Converting '𝙢' => '𝙢' (line 3793) 1120s # Converting '𝙣' => '𝙣' (line 3794) 1120s # Converting '𝙤' => '𝙤' (line 3795) 1120s # Converting '𝙥' => '𝙥' (line 3796) 1120s # Converting '𝙦' => '𝙦' (line 3797) 1120s # Converting '𝙧' => '𝙧' (line 3798) 1120s # Converting '𝙨' => '𝙨' (line 3799) 1120s # Converting '𝙩' => '𝙩' (line 3800) 1120s # Converting '𝙪' => '𝙪' (line 3801) 1120s # Converting '𝙫' => '𝙫' (line 3802) 1120s # Converting '𝙬' => '𝙬' (line 3803) 1120s # Converting '𝙭' => '𝙭' (line 3804) 1120s # Converting '𝙮' => '𝙮' (line 3805) 1120s # Converting '𝙯' => '𝙯' (line 3806) 1120s # Converting '𝙰' => '𝙰' (line 3807) 1120s # Converting '𝙱' => '𝙱' (line 3808) 1120s # Converting '𝙲' => '𝙲' (line 3809) 1120s # Converting '𝙳' => '𝙳' (line 3810) 1120s # Converting '𝙴' => '𝙴' (line 3811) 1120s # Converting '𝙵' => '𝙵' (line 3812) 1120s # Converting '𝙶' => '𝙶' (line 3813) 1120s # Converting '𝙷' => '𝙷' (line 3814) 1120s # Converting '𝙸' => '𝙸' (line 3815) 1120s # Converting '𝙹' => '𝙹' (line 3816) 1120s # Converting '𝙺' => '𝙺' (line 3817) 1120s # Converting '𝙻' => '𝙻' (line 3818) 1120s # Converting '𝙼' => '𝙼' (line 3819) 1120s # Converting '𝙽' => '𝙽' (line 3820) 1120s # Converting '𝙾' => '𝙾' (line 3821) 1120s # Converting '𝙿' => '𝙿' (line 3822) 1120s # Converting '𝚀' => '𝚀' (line 3823) 1120s # Converting '𝚁' => '𝚁' (line 3824) 1120s # Converting '𝚂' => '𝚂' (line 3825) 1120s # Converting '𝚃' => '𝚃' (line 3826) 1120s # Converting '𝚄' => '𝚄' (line 3827) 1120s # Converting '𝚅' => '𝚅' (line 3828) 1120s # Converting '𝚆' => '𝚆' (line 3829) 1120s # Converting '𝚇' => '𝚇' (line 3830) 1120s # Converting '𝚈' => '𝚈' (line 3831) 1120s # Converting '𝚉' => '𝚉' (line 3832) 1120s # Converting '𝚊' => '𝚊' (line 3833) 1120s # Converting '𝚋' => '𝚋' (line 3834) 1120s # Converting '𝚌' => '𝚌' (line 3835) 1120s # Converting '𝚍' => '𝚍' (line 3836) 1120s # Converting '𝚎' => '𝚎' (line 3837) 1120s # Converting '𝚏' => '𝚏' (line 3838) 1120s # Converting '𝚐' => '𝚐' (line 3839) 1120s # Converting '𝚑' => '𝚑' (line 3840) 1120s # Converting '𝚒' => '𝚒' (line 3841) 1120s # Converting '𝚓' => '𝚓' (line 3842) 1120s # Converting '𝚔' => '𝚔' (line 3843) 1120s # Converting '𝚕' => '𝚕' (line 3844) 1120s # Converting '𝚖' => '𝚖' (line 3845) 1120s # Converting '𝚗' => '𝚗' (line 3846) 1120s # Converting '𝚘' => '𝚘' (line 3847) 1120s # Converting '𝚙' => '𝚙' (line 3848) 1120s # Converting '𝚚' => '𝚚' (line 3849) 1120s # Converting '𝚛' => '𝚛' (line 3850) 1120s # Converting '𝚜' => '𝚜' (line 3851) 1120s # Converting '𝚝' => '𝚝' (line 3852) 1120s # Converting '𝚞' => '𝚞' (line 3853) 1120s # Converting '𝚟' => '𝚟' (line 3854) 1120s # Converting '𝚠' => '𝚠' (line 3855) 1120s # Converting '𝚡' => '𝚡' (line 3856) 1120s # Converting '𝚢' => '𝚢' (line 3857) 1120s # Converting '𝚣' => '𝚣' (line 3858) 1120s # Converting '𝚤' => '𝚤' (line 3859) 1120s # Converting '𝚥' => '𝚥' (line 3860) 1120s # Converting '𝚨' => '𝚨' (line 3861) 1120s # Converting '𝚩' => '𝚩' (line 3862) 1120s # Converting '𝚪' => '𝚪' (line 3863) 1120s # Converting '𝚫' => '𝚫' (line 3864) 1120s # Converting '𝚬' => '𝚬' (line 3865) 1120s # Converting '𝚭' => '𝚭' (line 3866) 1120s # Converting '𝚮' => '𝚮' (line 3867) 1120s # Converting '𝚯' => '𝚯' (line 3868) 1120s # Converting '𝚰' => '𝚰' (line 3869) 1120s # Converting '𝚱' => '𝚱' (line 3870) 1120s # Converting '𝚲' => '𝚲' (line 3871) 1120s # Converting '𝚳' => '𝚳' (line 3872) 1120s # Converting '𝚴' => '𝚴' (line 3873) 1120s # Converting '𝚵' => '𝚵' (line 3874) 1120s # Converting '𝚶' => '𝚶' (line 3875) 1120s # Converting '𝚷' => '𝚷' (line 3876) 1120s # Converting '𝚸' => '𝚸' (line 3877) 1120s # Converting '𝚹' => '𝚹' (line 3878) 1120s # Converting '𝚺' => '𝚺' (line 3879) 1120s # Converting '𝚻' => '𝚻' (line 3880) 1120s # Converting '𝚼' => '𝚼' (line 3881) 1120s # Converting '𝚽' => '𝚽' (line 3882) 1120s # Converting '𝚾' => '𝚾' (line 3883) 1120s # Converting '𝚿' => '𝚿' (line 3884) 1120s # Converting '𝛀' => '𝛀' (line 3885) 1120s # Converting '𝛂' => '𝛂' (line 3886) 1120s # Converting '𝛃' => '𝛃' (line 3887) 1120s # Converting '𝛄' => '𝛄' (line 3888) 1120s # Converting '𝛅' => '𝛅' (line 3889) 1120s # Converting '𝛆' => '𝛆' (line 3890) 1120s # Converting '𝛇' => '𝛇' (line 3891) 1120s # Converting '𝛈' => '𝛈' (line 3892) 1120s # Converting '𝛉' => '𝛉' (line 3893) 1120s # Converting '𝛊' => '𝛊' (line 3894) 1120s # Converting '𝛋' => '𝛋' (line 3895) 1120s # Converting '𝛌' => '𝛌' (line 3896) 1120s # Converting '𝛍' => '𝛍' (line 3897) 1120s # Converting '𝛎' => '𝛎' (line 3898) 1120s # Converting '𝛏' => '𝛏' (line 3899) 1120s # Converting '𝛐' => '𝛐' (line 3900) 1120s # Converting '𝛑' => '𝛑' (line 3901) 1120s # Converting '𝛒' => '𝛒' (line 3902) 1120s # Converting '𝛓' => '𝛓' (line 3903) 1120s # Converting '𝛔' => '𝛔' (line 3904) 1120s # Converting '𝛕' => '𝛕' (line 3905) 1120s # Converting '𝛖' => '𝛖' (line 3906) 1120s # Converting '𝛗' => '𝛗' (line 3907) 1120s # Converting '𝛘' => '𝛘' (line 3908) 1120s # Converting '𝛙' => '𝛙' (line 3909) 1120s # Converting '𝛚' => '𝛚' (line 3910) 1120s # Converting '𝛜' => '𝛜' (line 3911) 1120s # Converting '𝛝' => '𝛝' (line 3912) 1120s # Converting '𝛞' => '𝛞' (line 3913) 1120s # Converting '𝛟' => '𝛟' (line 3914) 1120s # Converting '𝛠' => '𝛠' (line 3915) 1120s # Converting '𝛡' => '𝛡' (line 3916) 1120s # Converting '𝛢' => '𝛢' (line 3917) 1120s # Converting '𝛣' => '𝛣' (line 3918) 1120s # Converting '𝛤' => '𝛤' (line 3919) 1120s # Converting '𝛥' => '𝛥' (line 3920) 1120s # Converting '𝛦' => '𝛦' (line 3921) 1120s # Converting '𝛧' => '𝛧' (line 3922) 1120s # Converting '𝛨' => '𝛨' (line 3923) 1120s # Converting '𝛩' => '𝛩' (line 3924) 1120s # Converting '𝛪' => '𝛪' (line 3925) 1120s # Converting '𝛫' => '𝛫' (line 3926) 1120s # Converting '𝛬' => '𝛬' (line 3927) 1120s # Converting '𝛭' => '𝛭' (line 3928) 1120s # Converting '𝛮' => '𝛮' (line 3929) 1120s # Converting '𝛯' => '𝛯' (line 3930) 1120s # Converting '𝛰' => '𝛰' (line 3931) 1120s # Converting '𝛱' => '𝛱' (line 3932) 1120s # Converting '𝛲' => '𝛲' (line 3933) 1120s # Converting '𝛳' => '𝛳' (line 3934) 1120s # Converting '𝛴' => '𝛴' (line 3935) 1120s # Converting '𝛵' => '𝛵' (line 3936) 1120s # Converting '𝛶' => '𝛶' (line 3937) 1120s # Converting '𝛷' => '𝛷' (line 3938) 1120s # Converting '𝛸' => '𝛸' (line 3939) 1120s # Converting '𝛹' => '𝛹' (line 3940) 1120s # Converting '𝛺' => '𝛺' (line 3941) 1120s # Converting '𝛼' => '𝛼' (line 3942) 1120s # Converting '𝛽' => '𝛽' (line 3943) 1120s # Converting '𝛾' => '𝛾' (line 3944) 1120s # Converting '𝛿' => '𝛿' (line 3945) 1120s # Converting '𝜀' => '𝜀' (line 3946) 1120s # Converting '𝜁' => '𝜁' (line 3947) 1120s # Converting '𝜂' => '𝜂' (line 3948) 1120s # Converting '𝜃' => '𝜃' (line 3949) 1120s # Converting '𝜄' => '𝜄' (line 3950) 1120s # Converting '𝜅' => '𝜅' (line 3951) 1120s # Converting '𝜆' => '𝜆' (line 3952) 1120s # Converting '𝜇' => '𝜇' (line 3953) 1120s # Converting '𝜈' => '𝜈' (line 3954) 1120s # Converting '𝜉' => '𝜉' (line 3955) 1120s # Converting '𝜊' => '𝜊' (line 3956) 1120s # Converting '𝜋' => '𝜋' (line 3957) 1120s # Converting '𝜌' => '𝜌' (line 3958) 1120s # Converting '𝜍' => '𝜍' (line 3959) 1120s # Converting '𝜎' => '𝜎' (line 3960) 1120s # Converting '𝜏' => '𝜏' (line 3961) 1120s # Converting '𝜐' => '𝜐' (line 3962) 1120s # Converting '𝜑' => '𝜑' (line 3963) 1120s # Converting '𝜒' => '𝜒' (line 3964) 1120s # Converting '𝜓' => '𝜓' (line 3965) 1120s # Converting '𝜔' => '𝜔' (line 3966) 1120s # Converting '𝜖' => '𝜖' (line 3967) 1120s # Converting '𝜗' => '𝜗' (line 3968) 1120s # Converting '𝜘' => '𝜘' (line 3969) 1120s # Converting '𝜙' => '𝜙' (line 3970) 1120s # Converting '𝜚' => '𝜚' (line 3971) 1120s # Converting '𝜛' => '𝜛' (line 3972) 1120s # Converting '𝜜' => '𝜜' (line 3973) 1120s # Converting '𝜝' => '𝜝' (line 3974) 1120s # Converting '𝜞' => '𝜞' (line 3975) 1120s # Converting '𝜟' => '𝜟' (line 3976) 1120s # Converting '𝜠' => '𝜠' (line 3977) 1120s # Converting '𝜡' => '𝜡' (line 3978) 1120s # Converting '𝜢' => '𝜢' (line 3979) 1120s # Converting '𝜣' => '𝜣' (line 3980) 1120s # Converting '𝜤' => '𝜤' (line 3981) 1120s # Converting '𝜥' => '𝜥' (line 3982) 1120s # Converting '𝜦' => '𝜦' (line 3983) 1120s # Converting '𝜧' => '𝜧' (line 3984) 1120s # Converting '𝜨' => '𝜨' (line 3985) 1120s # Converting '𝜩' => '𝜩' (line 3986) 1120s # Converting '𝜪' => '𝜪' (line 3987) 1120s # Converting '𝜫' => '𝜫' (line 3988) 1120s # Converting '𝜬' => '𝜬' (line 3989) 1120s # Converting '𝜭' => '𝜭' (line 3990) 1120s # Converting '𝜮' => '𝜮' (line 3991) 1120s # Converting '𝜯' => '𝜯' (line 3992) 1120s # Converting '𝜰' => '𝜰' (line 3993) 1120s # Converting '𝜱' => '𝜱' (line 3994) 1120s # Converting '𝜲' => '𝜲' (line 3995) 1120s # Converting '𝜳' => '𝜳' (line 3996) 1120s # Converting '𝜴' => '𝜴' (line 3997) 1120s # Converting '𝜶' => '𝜶' (line 3998) 1120s # Converting '𝜷' => '𝜷' (line 3999) 1120s # Converting '𝜸' => '𝜸' (line 4000) 1120s # Converting '𝜹' => '𝜹' (line 4001) 1120s # Converting '𝜺' => '𝜺' (line 4002) 1120s # Converting '𝜻' => '𝜻' (line 4003) 1120s # Converting '𝜼' => '𝜼' (line 4004) 1120s # Converting '𝜽' => '𝜽' (line 4005) 1120s # Converting '𝜾' => '𝜾' (line 4006) 1120s # Converting '𝜿' => '𝜿' (line 4007) 1120s # Converting '𝝀' => '𝝀' (line 4008) 1120s # Converting '𝝁' => '𝝁' (line 4009) 1120s # Converting '𝝂' => '𝝂' (line 4010) 1120s # Converting '𝝃' => '𝝃' (line 4011) 1120s # Converting '𝝄' => '𝝄' (line 4012) 1120s # Converting '𝝅' => '𝝅' (line 4013) 1120s # Converting '𝝆' => '𝝆' (line 4014) 1120s # Converting '𝝇' => '𝝇' (line 4015) 1120s # Converting '𝝈' => '𝝈' (line 4016) 1120s # Converting '𝝉' => '𝝉' (line 4017) 1120s # Converting '𝝊' => '𝝊' (line 4018) 1120s # Converting '𝝋' => '𝝋' (line 4019) 1120s # Converting '𝝌' => '𝝌' (line 4020) 1120s # Converting '𝝍' => '𝝍' (line 4021) 1120s # Converting '𝝎' => '𝝎' (line 4022) 1120s # Converting '𝝐' => '𝝐' (line 4023) 1120s # Converting '𝝑' => '𝝑' (line 4024) 1120s # Converting '𝝒' => '𝝒' (line 4025) 1120s # Converting '𝝓' => '𝝓' (line 4026) 1120s # Converting '𝝔' => '𝝔' (line 4027) 1120s # Converting '𝝕' => '𝝕' (line 4028) 1120s # Converting '𝝖' => '𝝖' (line 4029) 1120s # Converting '𝝗' => '𝝗' (line 4030) 1120s # Converting '𝝘' => '𝝘' (line 4031) 1120s # Converting '𝝙' => '𝝙' (line 4032) 1120s # Converting '𝝚' => '𝝚' (line 4033) 1120s # Converting '𝝛' => '𝝛' (line 4034) 1120s # Converting '𝝜' => '𝝜' (line 4035) 1120s # Converting '𝝝' => '𝝝' (line 4036) 1120s # Converting '𝝞' => '𝝞' (line 4037) 1120s # Converting '𝝟' => '𝝟' (line 4038) 1120s # Converting '𝝠' => '𝝠' (line 4039) 1120s # Converting '𝝡' => '𝝡' (line 4040) 1120s # Converting '𝝢' => '𝝢' (line 4041) 1120s # Converting '𝝣' => '𝝣' (line 4042) 1120s # Converting '𝝤' => '𝝤' (line 4043) 1120s # Converting '𝝥' => '𝝥' (line 4044) 1120s # Converting '𝝦' => '𝝦' (line 4045) 1120s # Converting '𝝧' => '𝝧' (line 4046) 1120s # Converting '𝝨' => '𝝨' (line 4047) 1120s # Converting '𝝩' => '𝝩' (line 4048) 1120s # Converting '𝝪' => '𝝪' (line 4049) 1120s # Converting '𝝫' => '𝝫' (line 4050) 1120s # Converting '𝝬' => '𝝬' (line 4051) 1120s # Converting '𝝭' => '𝝭' (line 4052) 1120s # Converting '𝝮' => '𝝮' (line 4053) 1120s # Converting '𝝰' => '𝝰' (line 4054) 1120s # Converting '𝝱' => '𝝱' (line 4055) 1120s # Converting '𝝲' => '𝝲' (line 4056) 1120s # Converting '𝝳' => '𝝳' (line 4057) 1120s # Converting '𝝴' => '𝝴' (line 4058) 1120s # Converting '𝝵' => '𝝵' (line 4059) 1120s # Converting '𝝶' => '𝝶' (line 4060) 1120s # Converting '𝝷' => '𝝷' (line 4061) 1120s # Converting '𝝸' => '𝝸' (line 4062) 1120s # Converting '𝝹' => '𝝹' (line 4063) 1120s # Converting '𝝺' => '𝝺' (line 4064) 1120s # Converting '𝝻' => '𝝻' (line 4065) 1120s # Converting '𝝼' => '𝝼' (line 4066) 1120s # Converting '𝝽' => '𝝽' (line 4067) 1120s # Converting '𝝾' => '𝝾' (line 4068) 1120s # Converting '𝝿' => '𝝿' (line 4069) 1120s # Converting '𝞀' => '𝞀' (line 4070) 1120s # Converting '𝞁' => '𝞁' (line 4071) 1120s # Converting '𝞂' => '𝞂' (line 4072) 1120s # Converting '𝞃' => '𝞃' (line 4073) 1120s # Converting '𝞄' => '𝞄' (line 4074) 1120s # Converting '𝞅' => '𝞅' (line 4075) 1120s # Converting '𝞆' => '𝞆' (line 4076) 1120s # Converting '𝞇' => '𝞇' (line 4077) 1120s # Converting '𝞈' => '𝞈' (line 4078) 1120s # Converting '𝞊' => '𝞊' (line 4079) 1120s # Converting '𝞋' => '𝞋' (line 4080) 1120s # Converting '𝞌' => '𝞌' (line 4081) 1120s # Converting '𝞍' => '𝞍' (line 4082) 1120s # Converting '𝞎' => '𝞎' (line 4083) 1120s # Converting '𝞏' => '𝞏' (line 4084) 1120s # Converting '𝞐' => '𝞐' (line 4085) 1120s # Converting '𝞑' => '𝞑' (line 4086) 1120s # Converting '𝞒' => '𝞒' (line 4087) 1120s # Converting '𝞓' => '𝞓' (line 4088) 1120s # Converting '𝞔' => '𝞔' (line 4089) 1120s # Converting '𝞕' => '𝞕' (line 4090) 1120s # Converting '𝞖' => '𝞖' (line 4091) 1120s # Converting '𝞗' => '𝞗' (line 4092) 1120s # Converting '𝞘' => '𝞘' (line 4093) 1120s # Converting '𝞙' => '𝞙' (line 4094) 1120s # Converting '𝞚' => '𝞚' (line 4095) 1120s # Converting '𝞛' => '𝞛' (line 4096) 1120s # Converting '𝞜' => '𝞜' (line 4097) 1120s # Converting '𝞝' => '𝞝' (line 4098) 1120s # Converting '𝞞' => '𝞞' (line 4099) 1120s # Converting '𝞟' => '𝞟' (line 4100) 1120s # Converting '𝞠' => '𝞠' (line 4101) 1120s # Converting '𝞡' => '𝞡' (line 4102) 1120s # Converting '𝞢' => '𝞢' (line 4103) 1120s # Converting '𝞣' => '𝞣' (line 4104) 1120s # Converting '𝞤' => '𝞤' (line 4105) 1120s # Converting '𝞥' => '𝞥' (line 4106) 1120s # Converting '𝞦' => '𝞦' (line 4107) 1120s # Converting '𝞧' => '𝞧' (line 4108) 1120s # Converting '𝞨' => '𝞨' (line 4109) 1120s # Converting '𝞪' => '𝞪' (line 4110) 1120s # Converting '𝞫' => '𝞫' (line 4111) 1120s # Converting '𝞬' => '𝞬' (line 4112) 1120s # Converting '𝞭' => '𝞭' (line 4113) 1120s # Converting '𝞮' => '𝞮' (line 4114) 1120s # Converting '𝞯' => '𝞯' (line 4115) 1120s # Converting '𝞰' => '𝞰' (line 4116) 1120s # Converting '𝞱' => '𝞱' (line 4117) 1120s # Converting '𝞲' => '𝞲' (line 4118) 1120s # Converting '𝞳' => '𝞳' (line 4119) 1120s # Converting '𝞴' => '𝞴' (line 4120) 1120s # Converting '𝞵' => '𝞵' (line 4121) 1120s # Converting '𝞶' => '𝞶' (line 4122) 1120s # Converting '𝞷' => '𝞷' (line 4123) 1120s # Converting '𝞸' => '𝞸' (line 4124) 1120s # Converting '𝞹' => '𝞹' (line 4125) 1120s # Converting '𝞺' => '𝞺' (line 4126) 1120s # Converting '𝞻' => '𝞻' (line 4127) 1120s # Converting '𝞼' => '𝞼' (line 4128) 1120s # Converting '𝞽' => '𝞽' (line 4129) 1120s # Converting '𝞾' => '𝞾' (line 4130) 1120s # Converting '𝞿' => '𝞿' (line 4131) 1120s # Converting '𝟀' => '𝟀' (line 4132) 1120s # Converting '𝟁' => '𝟁' (line 4133) 1120s # Converting '𝟂' => '𝟂' (line 4134) 1120s # Converting '𝟄' => '𝟄' (line 4135) 1120s # Converting '𝟅' => '𝟅' (line 4136) 1120s # Converting '𝟆' => '𝟆' (line 4137) 1120s # Converting '𝟇' => '𝟇' (line 4138) 1120s # Converting '𝟈' => '𝟈' (line 4139) 1120s # Converting '𝟉' => '𝟉' (line 4140) 1120s # Converting '𝟊' => '𝟊' (line 4141) 1120s # Converting '𝟋' => '𝟋' (line 4142) 1120s # Converting '𝼀' => '𝼀' (line 4143) 1120s # Converting '𝼁' => '𝼁' (line 4144) 1120s # Converting '𝼂' => '𝼂' (line 4145) 1120s # Converting '𝼃' => '𝼃' (line 4146) 1120s # Converting '𝼄' => '𝼄' (line 4147) 1120s # Converting '𝼅' => '𝼅' (line 4148) 1120s # Converting '𝼆' => '𝼆' (line 4149) 1120s # Converting '𝼇' => '𝼇' (line 4150) 1120s # Converting '𝼈' => '𝼈' (line 4151) 1120s # Converting '𝼉' => '𝼉' (line 4152) 1120s # Converting '𝼋' => '𝼋' (line 4153) 1120s # Converting '𝼌' => '𝼌' (line 4154) 1120s # Converting '𝼍' => '𝼍' (line 4155) 1120s # Converting '𝼎' => '𝼎' (line 4156) 1120s # Converting '𝼏' => '𝼏' (line 4157) 1120s # Converting '𝼐' => '𝼐' (line 4158) 1120s # Converting '𝼑' => '𝼑' (line 4159) 1120s # Converting '𝼒' => '𝼒' (line 4160) 1120s # Converting '𝼓' => '𝼓' (line 4161) 1120s # Converting '𝼔' => '𝼔' (line 4162) 1120s # Converting '𝼕' => '𝼕' (line 4163) 1120s # Converting '𝼖' => '𝼖' (line 4164) 1120s # Converting '𝼗' => '𝼗' (line 4165) 1120s # Converting '𝼘' => '𝼘' (line 4166) 1120s # Converting '𝼙' => '𝼙' (line 4167) 1120s # Converting '𝼚' => '𝼚' (line 4168) 1120s # Converting '𝼛' => '𝼛' (line 4169) 1120s # Converting '𝼜' => '𝼜' (line 4170) 1120s # Converting '𝼝' => '𝼝' (line 4171) 1120s # Converting '𝼞' => '𝼞' (line 4172) 1120s # Converting '𝼥' => '𝼥' (line 4173) 1120s # Converting '𝼦' => '𝼦' (line 4174) 1120s # Converting '𝼧' => '𝼧' (line 4175) 1120s # Converting '𝼨' => '𝼨' (line 4176) 1120s # Converting '𝼩' => '𝼩' (line 4177) 1120s # Converting '𝼪' => '𝼪' (line 4178) 1120s # Converting '𞤀' => '𞤀' (line 4179) 1120s # Converting '𞤁' => '𞤁' (line 4180) 1120s # Converting '𞤂' => '𞤂' (line 4181) 1120s # Converting '𞤃' => '𞤃' (line 4182) 1120s # Converting '𞤄' => '𞤄' (line 4183) 1120s # Converting '𞤅' => '𞤅' (line 4184) 1120s # Converting '𞤆' => '𞤆' (line 4185) 1120s # Converting '𞤇' => '𞤇' (line 4186) 1120s # Converting '𞤈' => '𞤈' (line 4187) 1120s # Converting '𞤉' => '𞤉' (line 4188) 1120s # Converting '𞤊' => '𞤊' (line 4189) 1120s # Converting '𞤋' => '𞤋' (line 4190) 1120s # Converting '𞤌' => '𞤌' (line 4191) 1120s # Converting '𞤍' => '𞤍' (line 4192) 1120s # Converting '𞤎' => '𞤎' (line 4193) 1120s # Converting '𞤏' => '𞤏' (line 4194) 1120s # Converting '𞤐' => '𞤐' (line 4195) 1120s # Converting '𞤑' => '𞤑' (line 4196) 1120s # Converting '𞤒' => '𞤒' (line 4197) 1120s # Converting '𞤓' => '𞤓' (line 4198) 1120s # Converting '𞤔' => '𞤔' (line 4199) 1120s # Converting '𞤕' => '𞤕' (line 4200) 1120s # Converting '𞤖' => '𞤖' (line 4201) 1120s # Converting '𞤗' => '𞤗' (line 4202) 1120s # Converting '𞤘' => '𞤘' (line 4203) 1120s # Converting '𞤙' => '𞤙' (line 4204) 1120s # Converting '𞤚' => '𞤚' (line 4205) 1120s # Converting '𞤛' => '𞤛' (line 4206) 1120s # Converting '𞤜' => '𞤜' (line 4207) 1120s # Converting '𞤝' => '𞤝' (line 4208) 1120s # Converting '𞤞' => '𞤞' (line 4209) 1120s # Converting '𞤟' => '𞤟' (line 4210) 1120s # Converting '𞤠' => '𞤠' (line 4211) 1120s # Converting '𞤡' => '𞤡' (line 4212) 1120s # Converting '𞤢' => '𞤀' (line 4213) 1120s # Converting '𞤣' => '𞤁' (line 4214) 1120s # Converting '𞤤' => '𞤂' (line 4215) 1120s # Converting '𞤥' => '𞤃' (line 4216) 1120s # Converting '𞤦' => '𞤄' (line 4217) 1120s # Converting '𞤧' => '𞤅' (line 4218) 1120s # Converting '𞤨' => '𞤆' (line 4219) 1120s # Converting '𞤩' => '𞤇' (line 4220) 1120s # Converting '𞤪' => '𞤈' (line 4221) 1120s # Converting '𞤫' => '𞤉' (line 4222) 1120s # Converting '𞤬' => '𞤊' (line 4223) 1120s # Converting '𞤭' => '𞤋' (line 4224) 1120s # Converting '𞤮' => '𞤌' (line 4225) 1120s # Converting '𞤯' => '𞤍' (line 4226) 1120s # Converting '𞤰' => '𞤎' (line 4227) 1120s # Converting '𞤱' => '𞤏' (line 4228) 1120s # Converting '𞤲' => '𞤐' (line 4229) 1120s # Converting '𞤳' => '𞤑' (line 4230) 1120s # Converting '𞤴' => '𞤒' (line 4231) 1120s # Converting '𞤵' => '𞤓' (line 4232) 1120s # Converting '𞤶' => '𞤔' (line 4233) 1120s # Converting '𞤷' => '𞤕' (line 4234) 1120s # Converting '𞤸' => '𞤖' (line 4235) 1120s # Converting '𞤹' => '𞤗' (line 4236) 1120s # Converting '𞤺' => '𞤘' (line 4237) 1120s # Converting '𞤻' => '𞤙' (line 4238) 1120s # Converting '𞤼' => '𞤚' (line 4239) 1120s # Converting '𞤽' => '𞤛' (line 4240) 1120s # Converting '𞤾' => '𞤜' (line 4241) 1120s # Converting '𞤿' => '𞤝' (line 4242) 1120s # Converting '𞥀' => '𞤞' (line 4243) 1120s # Converting '𞥁' => '𞤟' (line 4244) 1120s # Converting '𞥂' => '𞤠' (line 4245) 1120s # Converting '𞥃' => '𞤡' (line 4246) 1120s # Converting 'AaBbCc@@' => 'aabbcc@@' (line 6) 1120s # Converting 'A' => 'a' (line 10) 1120s # Converting 'B' => 'b' (line 11) 1120s # Converting 'C' => 'c' (line 12) 1120s # Converting 'D' => 'd' (line 13) 1120s # Converting 'E' => 'e' (line 14) 1120s # Converting 'F' => 'f' (line 15) 1120s # Converting 'G' => 'g' (line 16) 1120s # Converting 'H' => 'h' (line 17) 1120s # Converting 'I' => 'i' (line 18) 1120s # Converting 'J' => 'j' (line 19) 1120s # Converting 'K' => 'k' (line 20) 1120s # Converting 'L' => 'l' (line 21) 1120s # Converting 'M' => 'm' (line 22) 1120s # Converting 'N' => 'n' (line 23) 1120s # Converting 'O' => 'o' (line 24) 1120s # Converting 'P' => 'p' (line 25) 1120s # Converting 'Q' => 'q' (line 26) 1120s # Converting 'R' => 'r' (line 27) 1120s # Converting 'S' => 's' (line 28) 1120s # Converting 'T' => 't' (line 29) 1120s # Converting 'U' => 'u' (line 30) 1120s # Converting 'V' => 'v' (line 31) 1120s # Converting 'W' => 'w' (line 32) 1120s # Converting 'X' => 'x' (line 33) 1120s # Converting 'Y' => 'y' (line 34) 1120s # Converting 'Z' => 'z' (line 35) 1120s # Converting 'µ' => 'μ' (line 36) 1120s # Converting 'À' => 'à' (line 37) 1120s # Converting 'Á' => 'á' (line 38) 1120s # Converting 'Â' => 'â' (line 39) 1120s # Converting 'Ã' => 'ã' (line 40) 1120s # Converting 'Ä' => 'ä' (line 41) 1120s # Converting 'Å' => 'å' (line 42) 1120s # Converting 'Æ' => 'æ' (line 43) 1120s # Converting 'Ç' => 'ç' (line 44) 1120s # Converting 'È' => 'è' (line 45) 1120s # Converting 'É' => 'é' (line 46) 1120s # Converting 'Ê' => 'ê' (line 47) 1120s # Converting 'Ë' => 'ë' (line 48) 1120s # Converting 'Ì' => 'ì' (line 49) 1120s # Converting 'Í' => 'í' (line 50) 1120s # Converting 'Î' => 'î' (line 51) 1120s # Converting 'Ï' => 'ï' (line 52) 1120s # Converting 'Ð' => 'ð' (line 53) 1120s # Converting 'Ñ' => 'ñ' (line 54) 1120s # Converting 'Ò' => 'ò' (line 55) 1120s # Converting 'Ó' => 'ó' (line 56) 1120s # Converting 'Ô' => 'ô' (line 57) 1120s # Converting 'Õ' => 'õ' (line 58) 1120s # Converting 'Ö' => 'ö' (line 59) 1120s # Converting 'Ø' => 'ø' (line 60) 1120s # Converting 'Ù' => 'ù' (line 61) 1120s # Converting 'Ú' => 'ú' (line 62) 1120s # Converting 'Û' => 'û' (line 63) 1120s # Converting 'Ü' => 'ü' (line 64) 1120s # Converting 'Ý' => 'ý' (line 65) 1120s # Converting 'Þ' => 'þ' (line 66) 1120s # Converting 'ß' => 'ss' (line 67) 1120s # Converting 'Ā' => 'ā' (line 68) 1120s # Converting 'Ă' => 'ă' (line 69) 1120s # Converting 'Ą' => 'ą' (line 70) 1120s # Converting 'Ć' => 'ć' (line 71) 1120s # Converting 'Ĉ' => 'ĉ' (line 72) 1120s # Converting 'Ċ' => 'ċ' (line 73) 1120s # Converting 'Č' => 'č' (line 74) 1120s # Converting 'Ď' => 'ď' (line 75) 1120s # Converting 'Đ' => 'đ' (line 76) 1120s # Converting 'Ē' => 'ē' (line 77) 1120s # Converting 'Ĕ' => 'ĕ' (line 78) 1120s # Converting 'Ė' => 'ė' (line 79) 1120s # Converting 'Ę' => 'ę' (line 80) 1120s # Converting 'Ě' => 'ě' (line 81) 1120s # Converting 'Ĝ' => 'ĝ' (line 82) 1120s # Converting 'Ğ' => 'ğ' (line 83) 1120s # Converting 'Ġ' => 'ġ' (line 84) 1120s # Converting 'Ģ' => 'ģ' (line 85) 1120s # Converting 'Ĥ' => 'ĥ' (line 86) 1120s # Converting 'Ħ' => 'ħ' (line 87) 1120s # Converting 'Ĩ' => 'ĩ' (line 88) 1120s # Converting 'Ī' => 'ī' (line 89) 1120s # Converting 'Ĭ' => 'ĭ' (line 90) 1120s # Converting 'Į' => 'į' (line 91) 1120s # Converting 'İ' => 'i̇' (line 92) 1120s # Converting 'IJ' => 'ij' (line 93) 1120s # Converting 'Ĵ' => 'ĵ' (line 94) 1120s # Converting 'Ķ' => 'ķ' (line 95) 1120s # Converting 'Ĺ' => 'ĺ' (line 96) 1120s # Converting 'Ļ' => 'ļ' (line 97) 1120s # Converting 'Ľ' => 'ľ' (line 98) 1120s # Converting 'Ŀ' => 'ŀ' (line 99) 1120s # Converting 'Ł' => 'ł' (line 100) 1120s # Converting 'Ń' => 'ń' (line 101) 1120s # Converting 'Ņ' => 'ņ' (line 102) 1120s # Converting 'Ň' => 'ň' (line 103) 1120s # Converting 'ʼn' => 'ʼn' (line 104) 1120s # Converting 'Ŋ' => 'ŋ' (line 105) 1120s # Converting 'Ō' => 'ō' (line 106) 1120s # Converting 'Ŏ' => 'ŏ' (line 107) 1120s # Converting 'Ő' => 'ő' (line 108) 1120s # Converting 'Œ' => 'œ' (line 109) 1120s # Converting 'Ŕ' => 'ŕ' (line 110) 1120s # Converting 'Ŗ' => 'ŗ' (line 111) 1120s # Converting 'Ř' => 'ř' (line 112) 1120s # Converting 'Ś' => 'ś' (line 113) 1120s # Converting 'Ŝ' => 'ŝ' (line 114) 1120s # Converting 'Ş' => 'ş' (line 115) 1120s # Converting 'Š' => 'š' (line 116) 1120s # Converting 'Ţ' => 'ţ' (line 117) 1120s # Converting 'Ť' => 'ť' (line 118) 1120s # Converting 'Ŧ' => 'ŧ' (line 119) 1120s # Converting 'Ũ' => 'ũ' (line 120) 1120s # Converting 'Ū' => 'ū' (line 121) 1120s # Converting 'Ŭ' => 'ŭ' (line 122) 1120s # Converting 'Ů' => 'ů' (line 123) 1120s # Converting 'Ű' => 'ű' (line 124) 1120s # Converting 'Ų' => 'ų' (line 125) 1120s # Converting 'Ŵ' => 'ŵ' (line 126) 1120s # Converting 'Ŷ' => 'ŷ' (line 127) 1120s # Converting 'Ÿ' => 'ÿ' (line 128) 1120s # Converting 'Ź' => 'ź' (line 129) 1120s # Converting 'Ż' => 'ż' (line 130) 1120s # Converting 'Ž' => 'ž' (line 131) 1120s # Converting 'ſ' => 's' (line 132) 1120s # Converting 'Ɓ' => 'ɓ' (line 133) 1120s # Converting 'Ƃ' => 'ƃ' (line 134) 1120s # Converting 'Ƅ' => 'ƅ' (line 135) 1120s # Converting 'Ɔ' => 'ɔ' (line 136) 1120s # Converting 'Ƈ' => 'ƈ' (line 137) 1120s # Converting 'Ɖ' => 'ɖ' (line 138) 1120s # Converting 'Ɗ' => 'ɗ' (line 139) 1120s # Converting 'Ƌ' => 'ƌ' (line 140) 1120s # Converting 'Ǝ' => 'ǝ' (line 141) 1120s # Converting 'Ə' => 'ə' (line 142) 1120s # Converting 'Ɛ' => 'ɛ' (line 143) 1120s # Converting 'Ƒ' => 'ƒ' (line 144) 1120s # Converting 'Ɠ' => 'ɠ' (line 145) 1120s # Converting 'Ɣ' => 'ɣ' (line 146) 1120s # Converting 'Ɩ' => 'ɩ' (line 147) 1120s # Converting 'Ɨ' => 'ɨ' (line 148) 1120s # Converting 'Ƙ' => 'ƙ' (line 149) 1120s # Converting 'Ɯ' => 'ɯ' (line 150) 1120s # Converting 'Ɲ' => 'ɲ' (line 151) 1120s # Converting 'Ɵ' => 'ɵ' (line 152) 1120s # Converting 'Ơ' => 'ơ' (line 153) 1120s # Converting 'Ƣ' => 'ƣ' (line 154) 1120s # Converting 'Ƥ' => 'ƥ' (line 155) 1120s # Converting 'Ʀ' => 'ʀ' (line 156) 1120s # Converting 'Ƨ' => 'ƨ' (line 157) 1120s # Converting 'Ʃ' => 'ʃ' (line 158) 1120s # Converting 'Ƭ' => 'ƭ' (line 159) 1120s # Converting 'Ʈ' => 'ʈ' (line 160) 1120s # Converting 'Ư' => 'ư' (line 161) 1120s # Converting 'Ʊ' => 'ʊ' (line 162) 1120s # Converting 'Ʋ' => 'ʋ' (line 163) 1120s # Converting 'Ƴ' => 'ƴ' (line 164) 1120s # Converting 'Ƶ' => 'ƶ' (line 165) 1120s # Converting 'Ʒ' => 'ʒ' (line 166) 1120s # Converting 'Ƹ' => 'ƹ' (line 167) 1120s # Converting 'Ƽ' => 'ƽ' (line 168) 1120s # Converting 'DŽ' => 'dž' (line 169) 1120s # Converting 'Dž' => 'dž' (line 170) 1120s # Converting 'LJ' => 'lj' (line 171) 1120s # Converting 'Lj' => 'lj' (line 172) 1120s # Converting 'NJ' => 'nj' (line 173) 1120s # Converting 'Nj' => 'nj' (line 174) 1120s # Converting 'Ǎ' => 'ǎ' (line 175) 1120s # Converting 'Ǐ' => 'ǐ' (line 176) 1120s # Converting 'Ǒ' => 'ǒ' (line 177) 1120s # Converting 'Ǔ' => 'ǔ' (line 178) 1120s # Converting 'Ǖ' => 'ǖ' (line 179) 1120s # Converting 'Ǘ' => 'ǘ' (line 180) 1120s # Converting 'Ǚ' => 'ǚ' (line 181) 1120s # Converting 'Ǜ' => 'ǜ' (line 182) 1120s # Converting 'Ǟ' => 'ǟ' (line 183) 1120s # Converting 'Ǡ' => 'ǡ' (line 184) 1120s # Converting 'Ǣ' => 'ǣ' (line 185) 1120s # Converting 'Ǥ' => 'ǥ' (line 186) 1120s # Converting 'Ǧ' => 'ǧ' (line 187) 1120s # Converting 'Ǩ' => 'ǩ' (line 188) 1120s # Converting 'Ǫ' => 'ǫ' (line 189) 1120s # Converting 'Ǭ' => 'ǭ' (line 190) 1120s # Converting 'Ǯ' => 'ǯ' (line 191) 1120s # Converting 'ǰ' => 'ǰ' (line 192) 1120s # Converting 'DZ' => 'dz' (line 193) 1120s # Converting 'Dz' => 'dz' (line 194) 1120s # Converting 'Ǵ' => 'ǵ' (line 195) 1120s # Converting 'Ƕ' => 'ƕ' (line 196) 1120s # Converting 'Ƿ' => 'ƿ' (line 197) 1120s # Converting 'Ǹ' => 'ǹ' (line 198) 1120s # Converting 'Ǻ' => 'ǻ' (line 199) 1120s # Converting 'Ǽ' => 'ǽ' (line 200) 1120s # Converting 'Ǿ' => 'ǿ' (line 201) 1120s # Converting 'Ȁ' => 'ȁ' (line 202) 1120s # Converting 'Ȃ' => 'ȃ' (line 203) 1120s # Converting 'Ȅ' => 'ȅ' (line 204) 1120s # Converting 'Ȇ' => 'ȇ' (line 205) 1120s # Converting 'Ȉ' => 'ȉ' (line 206) 1120s # Converting 'Ȋ' => 'ȋ' (line 207) 1120s # Converting 'Ȍ' => 'ȍ' (line 208) 1120s # Converting 'Ȏ' => 'ȏ' (line 209) 1120s # Converting 'Ȑ' => 'ȑ' (line 210) 1120s # Converting 'Ȓ' => 'ȓ' (line 211) 1120s # Converting 'Ȕ' => 'ȕ' (line 212) 1120s # Converting 'Ȗ' => 'ȗ' (line 213) 1120s # Converting 'Ș' => 'ș' (line 214) 1120s # Converting 'Ț' => 'ț' (line 215) 1120s # Converting 'Ȝ' => 'ȝ' (line 216) 1120s # Converting 'Ȟ' => 'ȟ' (line 217) 1120s # Converting 'Ƞ' => 'ƞ' (line 218) 1120s # Converting 'Ȣ' => 'ȣ' (line 219) 1120s # Converting 'Ȥ' => 'ȥ' (line 220) 1120s # Converting 'Ȧ' => 'ȧ' (line 221) 1120s # Converting 'Ȩ' => 'ȩ' (line 222) 1120s # Converting 'Ȫ' => 'ȫ' (line 223) 1120s # Converting 'Ȭ' => 'ȭ' (line 224) 1120s # Converting 'Ȯ' => 'ȯ' (line 225) 1120s # Converting 'Ȱ' => 'ȱ' (line 226) 1120s # Converting 'Ȳ' => 'ȳ' (line 227) 1120s # Converting 'Ⱥ' => 'ⱥ' (line 228) 1120s # Converting 'Ȼ' => 'ȼ' (line 229) 1120s # Converting 'Ƚ' => 'ƚ' (line 230) 1120s # Converting 'Ⱦ' => 'ⱦ' (line 231) 1120s # Converting 'Ɂ' => 'ɂ' (line 232) 1120s # Converting 'Ƀ' => 'ƀ' (line 233) 1120s # Converting 'Ʉ' => 'ʉ' (line 234) 1120s # Converting 'Ʌ' => 'ʌ' (line 235) 1120s # Converting 'Ɇ' => 'ɇ' (line 236) 1120s # Converting 'Ɉ' => 'ɉ' (line 237) 1120s # Converting 'Ɋ' => 'ɋ' (line 238) 1120s # Converting 'Ɍ' => 'ɍ' (line 239) 1120s # Converting 'Ɏ' => 'ɏ' (line 240) 1120s # Converting 'ͅ' => 'ι' (line 241) 1120s # Converting 'Ͱ' => 'ͱ' (line 242) 1120s # Converting 'Ͳ' => 'ͳ' (line 243) 1120s # Converting 'Ͷ' => 'ͷ' (line 244) 1120s # Converting 'Ϳ' => 'ϳ' (line 245) 1120s # Converting 'Ά' => 'ά' (line 246) 1120s # Converting 'Έ' => 'έ' (line 247) 1120s # Converting 'Ή' => 'ή' (line 248) 1120s # Converting 'Ί' => 'ί' (line 249) 1120s # Converting 'Ό' => 'ό' (line 250) 1120s # Converting 'Ύ' => 'ύ' (line 251) 1120s # Converting 'Ώ' => 'ώ' (line 252) 1120s # Converting 'ΐ' => 'ΐ' (line 253) 1120s # Converting 'Α' => 'α' (line 254) 1120s # Converting 'Β' => 'β' (line 255) 1120s # Converting 'Γ' => 'γ' (line 256) 1120s # Converting 'Δ' => 'δ' (line 257) 1120s # Converting 'Ε' => 'ε' (line 258) 1120s # Converting 'Ζ' => 'ζ' (line 259) 1120s # Converting 'Η' => 'η' (line 260) 1120s # Converting 'Θ' => 'θ' (line 261) 1120s # Converting 'Ι' => 'ι' (line 262) 1120s # Converting 'Κ' => 'κ' (line 263) 1120s # Converting 'Λ' => 'λ' (line 264) 1120s # Converting 'Μ' => 'μ' (line 265) 1120s # Converting 'Ν' => 'ν' (line 266) 1120s # Converting 'Ξ' => 'ξ' (line 267) 1120s # Converting 'Ο' => 'ο' (line 268) 1120s # Converting 'Π' => 'π' (line 269) 1120s # Converting 'Ρ' => 'ρ' (line 270) 1120s # Converting 'Σ' => 'σ' (line 271) 1120s # Converting 'Τ' => 'τ' (line 272) 1120s # Converting 'Υ' => 'υ' (line 273) 1120s # Converting 'Φ' => 'φ' (line 274) 1120s # Converting 'Χ' => 'χ' (line 275) 1120s # Converting 'Ψ' => 'ψ' (line 276) 1120s # Converting 'Ω' => 'ω' (line 277) 1120s # Converting 'Ϊ' => 'ϊ' (line 278) 1120s # Converting 'Ϋ' => 'ϋ' (line 279) 1120s # Converting 'ΰ' => 'ΰ' (line 280) 1120s # Converting 'ς' => 'σ' (line 281) 1120s # Converting 'Ϗ' => 'ϗ' (line 282) 1120s # Converting 'ϐ' => 'β' (line 283) 1120s # Converting 'ϑ' => 'θ' (line 284) 1120s # Converting 'ϕ' => 'φ' (line 285) 1120s # Converting 'ϖ' => 'π' (line 286) 1120s # Converting 'Ϙ' => 'ϙ' (line 287) 1120s # Converting 'Ϛ' => 'ϛ' (line 288) 1120s # Converting 'Ϝ' => 'ϝ' (line 289) 1120s # Converting 'Ϟ' => 'ϟ' (line 290) 1120s # Converting 'Ϡ' => 'ϡ' (line 291) 1120s # Converting 'Ϣ' => 'ϣ' (line 292) 1120s # Converting 'Ϥ' => 'ϥ' (line 293) 1120s # Converting 'Ϧ' => 'ϧ' (line 294) 1120s # Converting 'Ϩ' => 'ϩ' (line 295) 1120s # Converting 'Ϫ' => 'ϫ' (line 296) 1120s # Converting 'Ϭ' => 'ϭ' (line 297) 1120s # Converting 'Ϯ' => 'ϯ' (line 298) 1120s # Converting 'ϰ' => 'κ' (line 299) 1120s # Converting 'ϱ' => 'ρ' (line 300) 1120s # Converting 'ϴ' => 'θ' (line 301) 1120s # Converting 'ϵ' => 'ε' (line 302) 1120s # Converting 'Ϸ' => 'ϸ' (line 303) 1120s # Converting 'Ϲ' => 'ϲ' (line 304) 1120s # Converting 'Ϻ' => 'ϻ' (line 305) 1120s # Converting 'Ͻ' => 'ͻ' (line 306) 1120s # Converting 'Ͼ' => 'ͼ' (line 307) 1120s # Converting 'Ͽ' => 'ͽ' (line 308) 1120s # Converting 'Ѐ' => 'ѐ' (line 309) 1120s # Converting 'Ё' => 'ё' (line 310) 1120s # Converting 'Ђ' => 'ђ' (line 311) 1120s # Converting 'Ѓ' => 'ѓ' (line 312) 1120s # Converting 'Є' => 'є' (line 313) 1120s # Converting 'Ѕ' => 'ѕ' (line 314) 1120s # Converting 'І' => 'і' (line 315) 1120s # Converting 'Ї' => 'ї' (line 316) 1120s # Converting 'Ј' => 'ј' (line 317) 1120s # Converting 'Љ' => 'љ' (line 318) 1120s # Converting 'Њ' => 'њ' (line 319) 1120s # Converting 'Ћ' => 'ћ' (line 320) 1120s # Converting 'Ќ' => 'ќ' (line 321) 1120s # Converting 'Ѝ' => 'ѝ' (line 322) 1120s # Converting 'Ў' => 'ў' (line 323) 1120s # Converting 'Џ' => 'џ' (line 324) 1120s # Converting 'А' => 'а' (line 325) 1120s # Converting 'Б' => 'б' (line 326) 1120s # Converting 'В' => 'в' (line 327) 1120s # Converting 'Г' => 'г' (line 328) 1120s # Converting 'Д' => 'д' (line 329) 1120s # Converting 'Е' => 'е' (line 330) 1120s # Converting 'Ж' => 'ж' (line 331) 1120s # Converting 'З' => 'з' (line 332) 1120s # Converting 'И' => 'и' (line 333) 1120s # Converting 'Й' => 'й' (line 334) 1120s # Converting 'К' => 'к' (line 335) 1120s # Converting 'Л' => 'л' (line 336) 1120s # Converting 'М' => 'м' (line 337) 1120s # Converting 'Н' => 'н' (line 338) 1120s # Converting 'О' => 'о' (line 339) 1120s # Converting 'П' => 'п' (line 340) 1120s # Converting 'Р' => 'р' (line 341) 1120s # Converting 'С' => 'с' (line 342) 1120s # Converting 'Т' => 'т' (line 343) 1120s # Converting 'У' => 'у' (line 344) 1120s # Converting 'Ф' => 'ф' (line 345) 1120s # Converting 'Х' => 'х' (line 346) 1120s # Converting 'Ц' => 'ц' (line 347) 1120s # Converting 'Ч' => 'ч' (line 348) 1120s # Converting 'Ш' => 'ш' (line 349) 1120s # Converting 'Щ' => 'щ' (line 350) 1120s # Converting 'Ъ' => 'ъ' (line 351) 1120s # Converting 'Ы' => 'ы' (line 352) 1120s # Converting 'Ь' => 'ь' (line 353) 1120s # Converting 'Э' => 'э' (line 354) 1120s # Converting 'Ю' => 'ю' (line 355) 1120s # Converting 'Я' => 'я' (line 356) 1120s # Converting 'Ѡ' => 'ѡ' (line 357) 1120s # Converting 'Ѣ' => 'ѣ' (line 358) 1120s # Converting 'Ѥ' => 'ѥ' (line 359) 1120s # Converting 'Ѧ' => 'ѧ' (line 360) 1120s # Converting 'Ѩ' => 'ѩ' (line 361) 1120s # Converting 'Ѫ' => 'ѫ' (line 362) 1120s # Converting 'Ѭ' => 'ѭ' (line 363) 1120s # Converting 'Ѯ' => 'ѯ' (line 364) 1120s # Converting 'Ѱ' => 'ѱ' (line 365) 1120s # Converting 'Ѳ' => 'ѳ' (line 366) 1120s # Converting 'Ѵ' => 'ѵ' (line 367) 1120s # Converting 'Ѷ' => 'ѷ' (line 368) 1120s # Converting 'Ѹ' => 'ѹ' (line 369) 1120s # Converting 'Ѻ' => 'ѻ' (line 370) 1120s # Converting 'Ѽ' => 'ѽ' (line 371) 1120s # Converting 'Ѿ' => 'ѿ' (line 372) 1120s # Converting 'Ҁ' => 'ҁ' (line 373) 1120s # Converting 'Ҋ' => 'ҋ' (line 374) 1120s # Converting 'Ҍ' => 'ҍ' (line 375) 1120s # Converting 'Ҏ' => 'ҏ' (line 376) 1120s # Converting 'Ґ' => 'ґ' (line 377) 1120s # Converting 'Ғ' => 'ғ' (line 378) 1120s # Converting 'Ҕ' => 'ҕ' (line 379) 1120s # Converting 'Җ' => 'җ' (line 380) 1120s # Converting 'Ҙ' => 'ҙ' (line 381) 1120s # Converting 'Қ' => 'қ' (line 382) 1120s # Converting 'Ҝ' => 'ҝ' (line 383) 1120s # Converting 'Ҟ' => 'ҟ' (line 384) 1120s # Converting 'Ҡ' => 'ҡ' (line 385) 1120s # Converting 'Ң' => 'ң' (line 386) 1120s # Converting 'Ҥ' => 'ҥ' (line 387) 1120s # Converting 'Ҧ' => 'ҧ' (line 388) 1120s # Converting 'Ҩ' => 'ҩ' (line 389) 1120s # Converting 'Ҫ' => 'ҫ' (line 390) 1120s # Converting 'Ҭ' => 'ҭ' (line 391) 1120s # Converting 'Ү' => 'ү' (line 392) 1120s # Converting 'Ұ' => 'ұ' (line 393) 1120s # Converting 'Ҳ' => 'ҳ' (line 394) 1120s # Converting 'Ҵ' => 'ҵ' (line 395) 1120s # Converting 'Ҷ' => 'ҷ' (line 396) 1120s # Converting 'Ҹ' => 'ҹ' (line 397) 1120s # Converting 'Һ' => 'һ' (line 398) 1120s # Converting 'Ҽ' => 'ҽ' (line 399) 1120s # Converting 'Ҿ' => 'ҿ' (line 400) 1120s # Converting 'Ӏ' => 'ӏ' (line 401) 1120s # Converting 'Ӂ' => 'ӂ' (line 402) 1120s # Converting 'Ӄ' => 'ӄ' (line 403) 1120s # Converting 'Ӆ' => 'ӆ' (line 404) 1120s # Converting 'Ӈ' => 'ӈ' (line 405) 1120s # Converting 'Ӊ' => 'ӊ' (line 406) 1120s # Converting 'Ӌ' => 'ӌ' (line 407) 1120s # Converting 'Ӎ' => 'ӎ' (line 408) 1120s # Converting 'Ӑ' => 'ӑ' (line 409) 1120s # Converting 'Ӓ' => 'ӓ' (line 410) 1120s # Converting 'Ӕ' => 'ӕ' (line 411) 1120s # Converting 'Ӗ' => 'ӗ' (line 412) 1120s # Converting 'Ә' => 'ә' (line 413) 1120s # Converting 'Ӛ' => 'ӛ' (line 414) 1120s # Converting 'Ӝ' => 'ӝ' (line 415) 1120s # Converting 'Ӟ' => 'ӟ' (line 416) 1120s # Converting 'Ӡ' => 'ӡ' (line 417) 1120s # Converting 'Ӣ' => 'ӣ' (line 418) 1120s # Converting 'Ӥ' => 'ӥ' (line 419) 1120s # Converting 'Ӧ' => 'ӧ' (line 420) 1120s # Converting 'Ө' => 'ө' (line 421) 1120s # Converting 'Ӫ' => 'ӫ' (line 422) 1120s # Converting 'Ӭ' => 'ӭ' (line 423) 1120s # Converting 'Ӯ' => 'ӯ' (line 424) 1120s # Converting 'Ӱ' => 'ӱ' (line 425) 1120s # Converting 'Ӳ' => 'ӳ' (line 426) 1120s # Converting 'Ӵ' => 'ӵ' (line 427) 1120s # Converting 'Ӷ' => 'ӷ' (line 428) 1120s # Converting 'Ӹ' => 'ӹ' (line 429) 1120s # Converting 'Ӻ' => 'ӻ' (line 430) 1120s # Converting 'Ӽ' => 'ӽ' (line 431) 1120s # Converting 'Ӿ' => 'ӿ' (line 432) 1120s # Converting 'Ԁ' => 'ԁ' (line 433) 1120s # Converting 'Ԃ' => 'ԃ' (line 434) 1120s # Converting 'Ԅ' => 'ԅ' (line 435) 1120s # Converting 'Ԇ' => 'ԇ' (line 436) 1120s # Converting 'Ԉ' => 'ԉ' (line 437) 1120s # Converting 'Ԋ' => 'ԋ' (line 438) 1120s # Converting 'Ԍ' => 'ԍ' (line 439) 1120s # Converting 'Ԏ' => 'ԏ' (line 440) 1120s # Converting 'Ԑ' => 'ԑ' (line 441) 1120s # Converting 'Ԓ' => 'ԓ' (line 442) 1120s # Converting 'Ԕ' => 'ԕ' (line 443) 1120s # Converting 'Ԗ' => 'ԗ' (line 444) 1120s # Converting 'Ԙ' => 'ԙ' (line 445) 1120s # Converting 'Ԛ' => 'ԛ' (line 446) 1120s # Converting 'Ԝ' => 'ԝ' (line 447) 1120s # Converting 'Ԟ' => 'ԟ' (line 448) 1120s # Converting 'Ԡ' => 'ԡ' (line 449) 1120s # Converting 'Ԣ' => 'ԣ' (line 450) 1120s # Converting 'Ԥ' => 'ԥ' (line 451) 1120s # Converting 'Ԧ' => 'ԧ' (line 452) 1120s # Converting 'Ԩ' => 'ԩ' (line 453) 1120s # Converting 'Ԫ' => 'ԫ' (line 454) 1120s # Converting 'Ԭ' => 'ԭ' (line 455) 1120s # Converting 'Ԯ' => 'ԯ' (line 456) 1120s # Converting 'Ա' => 'ա' (line 457) 1120s # Converting 'Բ' => 'բ' (line 458) 1120s # Converting 'Գ' => 'գ' (line 459) 1120s # Converting 'Դ' => 'դ' (line 460) 1120s # Converting 'Ե' => 'ե' (line 461) 1120s # Converting 'Զ' => 'զ' (line 462) 1120s # Converting 'Է' => 'է' (line 463) 1120s # Converting 'Ը' => 'ը' (line 464) 1120s # Converting 'Թ' => 'թ' (line 465) 1120s # Converting 'Ժ' => 'ժ' (line 466) 1120s # Converting 'Ի' => 'ի' (line 467) 1120s # Converting 'Լ' => 'լ' (line 468) 1120s # Converting 'Խ' => 'խ' (line 469) 1120s # Converting 'Ծ' => 'ծ' (line 470) 1120s # Converting 'Կ' => 'կ' (line 471) 1120s # Converting 'Հ' => 'հ' (line 472) 1120s # Converting 'Ձ' => 'ձ' (line 473) 1120s # Converting 'Ղ' => 'ղ' (line 474) 1120s # Converting 'Ճ' => 'ճ' (line 475) 1120s # Converting 'Մ' => 'մ' (line 476) 1120s # Converting 'Յ' => 'յ' (line 477) 1120s # Converting 'Ն' => 'ն' (line 478) 1120s # Converting 'Շ' => 'շ' (line 479) 1120s # Converting 'Ո' => 'ո' (line 480) 1120s # Converting 'Չ' => 'չ' (line 481) 1120s # Converting 'Պ' => 'պ' (line 482) 1120s # Converting 'Ջ' => 'ջ' (line 483) 1120s # Converting 'Ռ' => 'ռ' (line 484) 1120s # Converting 'Ս' => 'ս' (line 485) 1120s # Converting 'Վ' => 'վ' (line 486) 1120s # Converting 'Տ' => 'տ' (line 487) 1120s # Converting 'Ր' => 'ր' (line 488) 1120s # Converting 'Ց' => 'ց' (line 489) 1120s # Converting 'Ւ' => 'ւ' (line 490) 1120s # Converting 'Փ' => 'փ' (line 491) 1120s # Converting 'Ք' => 'ք' (line 492) 1120s # Converting 'Օ' => 'օ' (line 493) 1120s # Converting 'Ֆ' => 'ֆ' (line 494) 1120s # Converting 'և' => 'եւ' (line 495) 1120s # Converting 'Ⴀ' => 'ⴀ' (line 496) 1120s # Converting 'Ⴁ' => 'ⴁ' (line 497) 1120s # Converting 'Ⴂ' => 'ⴂ' (line 498) 1120s # Converting 'Ⴃ' => 'ⴃ' (line 499) 1120s # Converting 'Ⴄ' => 'ⴄ' (line 500) 1120s # Converting 'Ⴅ' => 'ⴅ' (line 501) 1120s # Converting 'Ⴆ' => 'ⴆ' (line 502) 1120s # Converting 'Ⴇ' => 'ⴇ' (line 503) 1120s # Converting 'Ⴈ' => 'ⴈ' (line 504) 1120s # Converting 'Ⴉ' => 'ⴉ' (line 505) 1120s # Converting 'Ⴊ' => 'ⴊ' (line 506) 1120s # Converting 'Ⴋ' => 'ⴋ' (line 507) 1120s # Converting 'Ⴌ' => 'ⴌ' (line 508) 1120s # Converting 'Ⴍ' => 'ⴍ' (line 509) 1120s # Converting 'Ⴎ' => 'ⴎ' (line 510) 1120s # Converting 'Ⴏ' => 'ⴏ' (line 511) 1120s # Converting 'Ⴐ' => 'ⴐ' (line 512) 1120s # Converting 'Ⴑ' => 'ⴑ' (line 513) 1120s # Converting 'Ⴒ' => 'ⴒ' (line 514) 1120s # Converting 'Ⴓ' => 'ⴓ' (line 515) 1120s # Converting 'Ⴔ' => 'ⴔ' (line 516) 1120s # Converting 'Ⴕ' => 'ⴕ' (line 517) 1120s # Converting 'Ⴖ' => 'ⴖ' (line 518) 1120s # Converting 'Ⴗ' => 'ⴗ' (line 519) 1120s # Converting 'Ⴘ' => 'ⴘ' (line 520) 1120s # Converting 'Ⴙ' => 'ⴙ' (line 521) 1120s # Converting 'Ⴚ' => 'ⴚ' (line 522) 1120s # Converting 'Ⴛ' => 'ⴛ' (line 523) 1120s # Converting 'Ⴜ' => 'ⴜ' (line 524) 1120s # Converting 'Ⴝ' => 'ⴝ' (line 525) 1120s # Converting 'Ⴞ' => 'ⴞ' (line 526) 1120s # Converting 'Ⴟ' => 'ⴟ' (line 527) 1120s # Converting 'Ⴠ' => 'ⴠ' (line 528) 1120s # Converting 'Ⴡ' => 'ⴡ' (line 529) 1120s # Converting 'Ⴢ' => 'ⴢ' (line 530) 1120s # Converting 'Ⴣ' => 'ⴣ' (line 531) 1120s # Converting 'Ⴤ' => 'ⴤ' (line 532) 1120s # Converting 'Ⴥ' => 'ⴥ' (line 533) 1120s # Converting 'Ⴧ' => 'ⴧ' (line 534) 1120s # Converting 'Ⴭ' => 'ⴭ' (line 535) 1120s # Converting 'ᏸ' => 'Ᏸ' (line 536) 1120s # Converting 'ᏹ' => 'Ᏹ' (line 537) 1120s # Converting 'ᏺ' => 'Ᏺ' (line 538) 1120s # Converting 'ᏻ' => 'Ᏻ' (line 539) 1120s # Converting 'ᏼ' => 'Ᏼ' (line 540) 1120s # Converting 'ᏽ' => 'Ᏽ' (line 541) 1120s # Converting 'ᲀ' => 'в' (line 542) 1120s # Converting 'ᲁ' => 'д' (line 543) 1120s # Converting 'ᲂ' => 'о' (line 544) 1120s # Converting 'ᲃ' => 'с' (line 545) 1120s # Converting 'ᲄ' => 'т' (line 546) 1120s # Converting 'ᲅ' => 'т' (line 547) 1120s # Converting 'ᲆ' => 'ъ' (line 548) 1120s # Converting 'ᲇ' => 'ѣ' (line 549) 1120s # Converting 'ᲈ' => 'ꙋ' (line 550) 1120s # Converting 'Ᲊ' => 'ᲊ' (line 551) 1120s # Converting 'Ა' => 'ა' (line 552) 1120s # Converting 'Ბ' => 'ბ' (line 553) 1120s # Converting 'Გ' => 'გ' (line 554) 1120s # Converting 'Დ' => 'დ' (line 555) 1120s # Converting 'Ე' => 'ე' (line 556) 1120s # Converting 'Ვ' => 'ვ' (line 557) 1120s # Converting 'Ზ' => 'ზ' (line 558) 1120s # Converting 'Თ' => 'თ' (line 559) 1120s # Converting 'Ი' => 'ი' (line 560) 1120s # Converting 'Კ' => 'კ' (line 561) 1120s # Converting 'Ლ' => 'ლ' (line 562) 1120s # Converting 'Მ' => 'მ' (line 563) 1120s # Converting 'Ნ' => 'ნ' (line 564) 1120s # Converting 'Ო' => 'ო' (line 565) 1120s # Converting 'Პ' => 'პ' (line 566) 1120s # Converting 'Ჟ' => 'ჟ' (line 567) 1120s # Converting 'Რ' => 'რ' (line 568) 1120s # Converting 'Ს' => 'ს' (line 569) 1120s # Converting 'Ტ' => 'ტ' (line 570) 1120s # Converting 'Უ' => 'უ' (line 571) 1120s # Converting 'Ფ' => 'ფ' (line 572) 1120s # Converting 'Ქ' => 'ქ' (line 573) 1120s # Converting 'Ღ' => 'ღ' (line 574) 1120s # Converting 'Ყ' => 'ყ' (line 575) 1120s # Converting 'Შ' => 'შ' (line 576) 1120s # Converting 'Ჩ' => 'ჩ' (line 577) 1120s # Converting 'Ც' => 'ც' (line 578) 1120s # Converting 'Ძ' => 'ძ' (line 579) 1120s # Converting 'Წ' => 'წ' (line 580) 1120s # Converting 'Ჭ' => 'ჭ' (line 581) 1120s # Converting 'Ხ' => 'ხ' (line 582) 1120s # Converting 'Ჯ' => 'ჯ' (line 583) 1120s # Converting 'Ჰ' => 'ჰ' (line 584) 1120s # Converting 'Ჱ' => 'ჱ' (line 585) 1120s # Converting 'Ჲ' => 'ჲ' (line 586) 1120s # Converting 'Ჳ' => 'ჳ' (line 587) 1120s # Converting 'Ჴ' => 'ჴ' (line 588) 1120s # Converting 'Ჵ' => 'ჵ' (line 589) 1120s # Converting 'Ჶ' => 'ჶ' (line 590) 1120s # Converting 'Ჷ' => 'ჷ' (line 591) 1120s # Converting 'Ჸ' => 'ჸ' (line 592) 1120s # Converting 'Ჹ' => 'ჹ' (line 593) 1120s # Converting 'Ჺ' => 'ჺ' (line 594) 1120s # Converting 'Ჽ' => 'ჽ' (line 595) 1120s # Converting 'Ჾ' => 'ჾ' (line 596) 1120s # Converting 'Ჿ' => 'ჿ' (line 597) 1120s # Converting 'Ḁ' => 'ḁ' (line 598) 1120s # Converting 'Ḃ' => 'ḃ' (line 599) 1120s # Converting 'Ḅ' => 'ḅ' (line 600) 1120s # Converting 'Ḇ' => 'ḇ' (line 601) 1120s # Converting 'Ḉ' => 'ḉ' (line 602) 1120s # Converting 'Ḋ' => 'ḋ' (line 603) 1120s # Converting 'Ḍ' => 'ḍ' (line 604) 1120s # Converting 'Ḏ' => 'ḏ' (line 605) 1120s # Converting 'Ḑ' => 'ḑ' (line 606) 1120s # Converting 'Ḓ' => 'ḓ' (line 607) 1120s # Converting 'Ḕ' => 'ḕ' (line 608) 1120s # Converting 'Ḗ' => 'ḗ' (line 609) 1120s # Converting 'Ḙ' => 'ḙ' (line 610) 1120s # Converting 'Ḛ' => 'ḛ' (line 611) 1120s # Converting 'Ḝ' => 'ḝ' (line 612) 1120s # Converting 'Ḟ' => 'ḟ' (line 613) 1120s # Converting 'Ḡ' => 'ḡ' (line 614) 1120s # Converting 'Ḣ' => 'ḣ' (line 615) 1120s # Converting 'Ḥ' => 'ḥ' (line 616) 1120s # Converting 'Ḧ' => 'ḧ' (line 617) 1120s # Converting 'Ḩ' => 'ḩ' (line 618) 1120s # Converting 'Ḫ' => 'ḫ' (line 619) 1120s # Converting 'Ḭ' => 'ḭ' (line 620) 1120s # Converting 'Ḯ' => 'ḯ' (line 621) 1120s # Converting 'Ḱ' => 'ḱ' (line 622) 1120s # Converting 'Ḳ' => 'ḳ' (line 623) 1120s # Converting 'Ḵ' => 'ḵ' (line 624) 1120s # Converting 'Ḷ' => 'ḷ' (line 625) 1120s # Converting 'Ḹ' => 'ḹ' (line 626) 1120s # Converting 'Ḻ' => 'ḻ' (line 627) 1120s # Converting 'Ḽ' => 'ḽ' (line 628) 1120s # Converting 'Ḿ' => 'ḿ' (line 629) 1120s # Converting 'Ṁ' => 'ṁ' (line 630) 1120s # Converting 'Ṃ' => 'ṃ' (line 631) 1120s # Converting 'Ṅ' => 'ṅ' (line 632) 1120s # Converting 'Ṇ' => 'ṇ' (line 633) 1120s # Converting 'Ṉ' => 'ṉ' (line 634) 1120s # Converting 'Ṋ' => 'ṋ' (line 635) 1120s # Converting 'Ṍ' => 'ṍ' (line 636) 1120s # Converting 'Ṏ' => 'ṏ' (line 637) 1120s # Converting 'Ṑ' => 'ṑ' (line 638) 1120s # Converting 'Ṓ' => 'ṓ' (line 639) 1120s # Converting 'Ṕ' => 'ṕ' (line 640) 1120s # Converting 'Ṗ' => 'ṗ' (line 641) 1120s # Converting 'Ṙ' => 'ṙ' (line 642) 1120s # Converting 'Ṛ' => 'ṛ' (line 643) 1120s # Converting 'Ṝ' => 'ṝ' (line 644) 1120s # Converting 'Ṟ' => 'ṟ' (line 645) 1120s # Converting 'Ṡ' => 'ṡ' (line 646) 1120s # Converting 'Ṣ' => 'ṣ' (line 647) 1120s # Converting 'Ṥ' => 'ṥ' (line 648) 1120s # Converting 'Ṧ' => 'ṧ' (line 649) 1120s # Converting 'Ṩ' => 'ṩ' (line 650) 1120s # Converting 'Ṫ' => 'ṫ' (line 651) 1120s # Converting 'Ṭ' => 'ṭ' (line 652) 1120s # Converting 'Ṯ' => 'ṯ' (line 653) 1120s # Converting 'Ṱ' => 'ṱ' (line 654) 1120s # Converting 'Ṳ' => 'ṳ' (line 655) 1120s # Converting 'Ṵ' => 'ṵ' (line 656) 1120s # Converting 'Ṷ' => 'ṷ' (line 657) 1120s # Converting 'Ṹ' => 'ṹ' (line 658) 1120s # Converting 'Ṻ' => 'ṻ' (line 659) 1120s # Converting 'Ṽ' => 'ṽ' (line 660) 1120s # Converting 'Ṿ' => 'ṿ' (line 661) 1120s # Converting 'Ẁ' => 'ẁ' (line 662) 1120s # Converting 'Ẃ' => 'ẃ' (line 663) 1120s # Converting 'Ẅ' => 'ẅ' (line 664) 1120s # Converting 'Ẇ' => 'ẇ' (line 665) 1120s # Converting 'Ẉ' => 'ẉ' (line 666) 1120s # Converting 'Ẋ' => 'ẋ' (line 667) 1120s # Converting 'Ẍ' => 'ẍ' (line 668) 1120s # Converting 'Ẏ' => 'ẏ' (line 669) 1120s # Converting 'Ẑ' => 'ẑ' (line 670) 1120s # Converting 'Ẓ' => 'ẓ' (line 671) 1120s # Converting 'Ẕ' => 'ẕ' (line 672) 1120s # Converting 'ẖ' => 'ẖ' (line 673) 1120s # Converting 'ẗ' => 'ẗ' (line 674) 1120s # Converting 'ẘ' => 'ẘ' (line 675) 1120s # Converting 'ẙ' => 'ẙ' (line 676) 1120s # Converting 'ẚ' => 'aʾ' (line 677) 1120s # Converting 'ẛ' => 'ṡ' (line 678) 1120s # Converting 'ẞ' => 'ss' (line 679) 1120s # Converting 'Ạ' => 'ạ' (line 680) 1120s # Converting 'Ả' => 'ả' (line 681) 1120s # Converting 'Ấ' => 'ấ' (line 682) 1120s # Converting 'Ầ' => 'ầ' (line 683) 1120s # Converting 'Ẩ' => 'ẩ' (line 684) 1120s # Converting 'Ẫ' => 'ẫ' (line 685) 1120s # Converting 'Ậ' => 'ậ' (line 686) 1120s # Converting 'Ắ' => 'ắ' (line 687) 1120s # Converting 'Ằ' => 'ằ' (line 688) 1120s # Converting 'Ẳ' => 'ẳ' (line 689) 1120s # Converting 'Ẵ' => 'ẵ' (line 690) 1120s # Converting 'Ặ' => 'ặ' (line 691) 1120s # Converting 'Ẹ' => 'ẹ' (line 692) 1120s # Converting 'Ẻ' => 'ẻ' (line 693) 1120s # Converting 'Ẽ' => 'ẽ' (line 694) 1120s # Converting 'Ế' => 'ế' (line 695) 1120s # Converting 'Ề' => 'ề' (line 696) 1120s # Converting 'Ể' => 'ể' (line 697) 1120s # Converting 'Ễ' => 'ễ' (line 698) 1120s # Converting 'Ệ' => 'ệ' (line 699) 1120s # Converting 'Ỉ' => 'ỉ' (line 700) 1120s # Converting 'Ị' => 'ị' (line 701) 1120s # Converting 'Ọ' => 'ọ' (line 702) 1120s # Converting 'Ỏ' => 'ỏ' (line 703) 1120s # Converting 'Ố' => 'ố' (line 704) 1120s # Converting 'Ồ' => 'ồ' (line 705) 1120s # Converting 'Ổ' => 'ổ' (line 706) 1120s # Converting 'Ỗ' => 'ỗ' (line 707) 1120s # Converting 'Ộ' => 'ộ' (line 708) 1120s # Converting 'Ớ' => 'ớ' (line 709) 1120s # Converting 'Ờ' => 'ờ' (line 710) 1120s # Converting 'Ở' => 'ở' (line 711) 1120s # Converting 'Ỡ' => 'ỡ' (line 712) 1120s # Converting 'Ợ' => 'ợ' (line 713) 1120s # Converting 'Ụ' => 'ụ' (line 714) 1120s # Converting 'Ủ' => 'ủ' (line 715) 1120s # Converting 'Ứ' => 'ứ' (line 716) 1120s # Converting 'Ừ' => 'ừ' (line 717) 1120s # Converting 'Ử' => 'ử' (line 718) 1120s # Converting 'Ữ' => 'ữ' (line 719) 1120s # Converting 'Ự' => 'ự' (line 720) 1120s # Converting 'Ỳ' => 'ỳ' (line 721) 1120s # Converting 'Ỵ' => 'ỵ' (line 722) 1120s # Converting 'Ỷ' => 'ỷ' (line 723) 1120s # Converting 'Ỹ' => 'ỹ' (line 724) 1120s # Converting 'Ỻ' => 'ỻ' (line 725) 1120s # Converting 'Ỽ' => 'ỽ' (line 726) 1120s # Converting 'Ỿ' => 'ỿ' (line 727) 1120s # Converting 'Ἀ' => 'ἀ' (line 728) 1120s # Converting 'Ἁ' => 'ἁ' (line 729) 1120s # Converting 'Ἂ' => 'ἂ' (line 730) 1120s # Converting 'Ἃ' => 'ἃ' (line 731) 1120s # Converting 'Ἄ' => 'ἄ' (line 732) 1120s # Converting 'Ἅ' => 'ἅ' (line 733) 1120s # Converting 'Ἆ' => 'ἆ' (line 734) 1120s # Converting 'Ἇ' => 'ἇ' (line 735) 1120s # Converting 'Ἐ' => 'ἐ' (line 736) 1120s # Converting 'Ἑ' => 'ἑ' (line 737) 1120s # Converting 'Ἒ' => 'ἒ' (line 738) 1120s # Converting 'Ἓ' => 'ἓ' (line 739) 1120s # Converting 'Ἔ' => 'ἔ' (line 740) 1120s # Converting 'Ἕ' => 'ἕ' (line 741) 1120s # Converting 'Ἠ' => 'ἠ' (line 742) 1120s # Converting 'Ἡ' => 'ἡ' (line 743) 1120s # Converting 'Ἢ' => 'ἢ' (line 744) 1120s # Converting 'Ἣ' => 'ἣ' (line 745) 1120s # Converting 'Ἤ' => 'ἤ' (line 746) 1120s # Converting 'Ἥ' => 'ἥ' (line 747) 1120s # Converting 'Ἦ' => 'ἦ' (line 748) 1120s # Converting 'Ἧ' => 'ἧ' (line 749) 1120s # Converting 'Ἰ' => 'ἰ' (line 750) 1120s # Converting 'Ἱ' => 'ἱ' (line 751) 1120s # Converting 'Ἲ' => 'ἲ' (line 752) 1120s # Converting 'Ἳ' => 'ἳ' (line 753) 1120s # Converting 'Ἴ' => 'ἴ' (line 754) 1120s # Converting 'Ἵ' => 'ἵ' (line 755) 1120s # Converting 'Ἶ' => 'ἶ' (line 756) 1120s # Converting 'Ἷ' => 'ἷ' (line 757) 1120s # Converting 'Ὀ' => 'ὀ' (line 758) 1120s # Converting 'Ὁ' => 'ὁ' (line 759) 1120s # Converting 'Ὂ' => 'ὂ' (line 760) 1120s # Converting 'Ὃ' => 'ὃ' (line 761) 1120s # Converting 'Ὄ' => 'ὄ' (line 762) 1120s # Converting 'Ὅ' => 'ὅ' (line 763) 1120s # Converting 'ὐ' => 'ὐ' (line 764) 1120s # Converting 'ὒ' => 'ὒ' (line 765) 1120s # Converting 'ὔ' => 'ὔ' (line 766) 1120s # Converting 'ὖ' => 'ὖ' (line 767) 1120s # Converting 'Ὑ' => 'ὑ' (line 768) 1120s # Converting 'Ὓ' => 'ὓ' (line 769) 1120s # Converting 'Ὕ' => 'ὕ' (line 770) 1120s # Converting 'Ὗ' => 'ὗ' (line 771) 1120s # Converting 'Ὠ' => 'ὠ' (line 772) 1120s # Converting 'Ὡ' => 'ὡ' (line 773) 1120s # Converting 'Ὢ' => 'ὢ' (line 774) 1120s # Converting 'Ὣ' => 'ὣ' (line 775) 1120s # Converting 'Ὤ' => 'ὤ' (line 776) 1120s # Converting 'Ὥ' => 'ὥ' (line 777) 1120s # Converting 'Ὦ' => 'ὦ' (line 778) 1120s # Converting 'Ὧ' => 'ὧ' (line 779) 1120s # Converting 'ᾀ' => 'ἀι' (line 780) 1120s # Converting 'ᾁ' => 'ἁι' (line 781) 1120s # Converting 'ᾂ' => 'ἂι' (line 782) 1120s # Converting 'ᾃ' => 'ἃι' (line 783) 1120s # Converting 'ᾄ' => 'ἄι' (line 784) 1120s # Converting 'ᾅ' => 'ἅι' (line 785) 1120s # Converting 'ᾆ' => 'ἆι' (line 786) 1120s # Converting 'ᾇ' => 'ἇι' (line 787) 1120s # Converting 'ᾈ' => 'ἀι' (line 788) 1120s # Converting 'ᾉ' => 'ἁι' (line 789) 1120s # Converting 'ᾊ' => 'ἂι' (line 790) 1120s # Converting 'ᾋ' => 'ἃι' (line 791) 1120s # Converting 'ᾌ' => 'ἄι' (line 792) 1120s # Converting 'ᾍ' => 'ἅι' (line 793) 1120s # Converting 'ᾎ' => 'ἆι' (line 794) 1120s # Converting 'ᾏ' => 'ἇι' (line 795) 1120s # Converting 'ᾐ' => 'ἠι' (line 796) 1120s # Converting 'ᾑ' => 'ἡι' (line 797) 1120s # Converting 'ᾒ' => 'ἢι' (line 798) 1120s # Converting 'ᾓ' => 'ἣι' (line 799) 1120s # Converting 'ᾔ' => 'ἤι' (line 800) 1120s # Converting 'ᾕ' => 'ἥι' (line 801) 1120s # Converting 'ᾖ' => 'ἦι' (line 802) 1120s # Converting 'ᾗ' => 'ἧι' (line 803) 1120s # Converting 'ᾘ' => 'ἠι' (line 804) 1120s # Converting 'ᾙ' => 'ἡι' (line 805) 1120s # Converting 'ᾚ' => 'ἢι' (line 806) 1120s # Converting 'ᾛ' => 'ἣι' (line 807) 1120s # Converting 'ᾜ' => 'ἤι' (line 808) 1120s # Converting 'ᾝ' => 'ἥι' (line 809) 1120s # Converting 'ᾞ' => 'ἦι' (line 810) 1120s # Converting 'ᾟ' => 'ἧι' (line 811) 1120s # Converting 'ᾠ' => 'ὠι' (line 812) 1120s # Converting 'ᾡ' => 'ὡι' (line 813) 1120s # Converting 'ᾢ' => 'ὢι' (line 814) 1120s # Converting 'ᾣ' => 'ὣι' (line 815) 1120s # Converting 'ᾤ' => 'ὤι' (line 816) 1120s # Converting 'ᾥ' => 'ὥι' (line 817) 1120s # Converting 'ᾦ' => 'ὦι' (line 818) 1120s # Converting 'ᾧ' => 'ὧι' (line 819) 1120s # Converting 'ᾨ' => 'ὠι' (line 820) 1120s # Converting 'ᾩ' => 'ὡι' (line 821) 1120s # Converting 'ᾪ' => 'ὢι' (line 822) 1120s # Converting 'ᾫ' => 'ὣι' (line 823) 1120s # Converting 'ᾬ' => 'ὤι' (line 824) 1120s # Converting 'ᾭ' => 'ὥι' (line 825) 1120s # Converting 'ᾮ' => 'ὦι' (line 826) 1120s # Converting 'ᾯ' => 'ὧι' (line 827) 1120s # Converting 'ᾲ' => 'ὰι' (line 828) 1120s # Converting 'ᾳ' => 'αι' (line 829) 1120s # Converting 'ᾴ' => 'άι' (line 830) 1120s # Converting 'ᾶ' => 'ᾶ' (line 831) 1120s # Converting 'ᾷ' => 'ᾶι' (line 832) 1120s # Converting 'Ᾰ' => 'ᾰ' (line 833) 1120s # Converting 'Ᾱ' => 'ᾱ' (line 834) 1120s # Converting 'Ὰ' => 'ὰ' (line 835) 1120s # Converting 'Ά' => 'ά' (line 836) 1120s # Converting 'ᾼ' => 'αι' (line 837) 1120s # Converting 'ι' => 'ι' (line 838) 1120s # Converting 'ῂ' => 'ὴι' (line 839) 1120s # Converting 'ῃ' => 'ηι' (line 840) 1120s # Converting 'ῄ' => 'ήι' (line 841) 1120s # Converting 'ῆ' => 'ῆ' (line 842) 1120s # Converting 'ῇ' => 'ῆι' (line 843) 1120s # Converting 'Ὲ' => 'ὲ' (line 844) 1120s # Converting 'Έ' => 'έ' (line 845) 1120s # Converting 'Ὴ' => 'ὴ' (line 846) 1120s # Converting 'Ή' => 'ή' (line 847) 1120s # Converting 'ῌ' => 'ηι' (line 848) 1120s # Converting 'ῒ' => 'ῒ' (line 849) 1120s # Converting 'ΐ' => 'ΐ' (line 850) 1120s # Converting 'ῖ' => 'ῖ' (line 851) 1120s # Converting 'ῗ' => 'ῗ' (line 852) 1120s # Converting 'Ῐ' => 'ῐ' (line 853) 1120s # Converting 'Ῑ' => 'ῑ' (line 854) 1120s # Converting 'Ὶ' => 'ὶ' (line 855) 1120s # Converting 'Ί' => 'ί' (line 856) 1120s # Converting 'ῢ' => 'ῢ' (line 857) 1120s # Converting 'ΰ' => 'ΰ' (line 858) 1120s # Converting 'ῤ' => 'ῤ' (line 859) 1120s # Converting 'ῦ' => 'ῦ' (line 860) 1120s # Converting 'ῧ' => 'ῧ' (line 861) 1120s # Converting 'Ῠ' => 'ῠ' (line 862) 1120s # Converting 'Ῡ' => 'ῡ' (line 863) 1120s # Converting 'Ὺ' => 'ὺ' (line 864) 1120s # Converting 'Ύ' => 'ύ' (line 865) 1120s # Converting 'Ῥ' => 'ῥ' (line 866) 1120s # Converting 'ῲ' => 'ὼι' (line 867) 1120s # Converting 'ῳ' => 'ωι' (line 868) 1120s # Converting 'ῴ' => 'ώι' (line 869) 1120s # Converting 'ῶ' => 'ῶ' (line 870) 1120s # Converting 'ῷ' => 'ῶι' (line 871) 1120s # Converting 'Ὸ' => 'ὸ' (line 872) 1120s # Converting 'Ό' => 'ό' (line 873) 1120s # Converting 'Ὼ' => 'ὼ' (line 874) 1120s # Converting 'Ώ' => 'ώ' (line 875) 1120s # Converting 'ῼ' => 'ωι' (line 876) 1120s # Converting 'Ω' => 'ω' (line 877) 1120s # Converting 'K' => 'k' (line 878) 1120s # Converting 'Å' => 'å' (line 879) 1120s # Converting 'Ⅎ' => 'ⅎ' (line 880) 1120s # Converting 'Ⅰ' => 'ⅰ' (line 881) 1120s # Converting 'Ⅱ' => 'ⅱ' (line 882) 1120s # Converting 'Ⅲ' => 'ⅲ' (line 883) 1120s # Converting 'Ⅳ' => 'ⅳ' (line 884) 1120s # Converting 'Ⅴ' => 'ⅴ' (line 885) 1120s # Converting 'Ⅵ' => 'ⅵ' (line 886) 1120s # Converting 'Ⅶ' => 'ⅶ' (line 887) 1120s # Converting 'Ⅷ' => 'ⅷ' (line 888) 1120s # Converting 'Ⅸ' => 'ⅸ' (line 889) 1120s # Converting 'Ⅹ' => 'ⅹ' (line 890) 1120s # Converting 'Ⅺ' => 'ⅺ' (line 891) 1120s # Converting 'Ⅻ' => 'ⅻ' (line 892) 1120s # Converting 'Ⅼ' => 'ⅼ' (line 893) 1120s # Converting 'Ⅽ' => 'ⅽ' (line 894) 1120s # Converting 'Ⅾ' => 'ⅾ' (line 895) 1120s # Converting 'Ⅿ' => 'ⅿ' (line 896) 1120s # Converting 'Ↄ' => 'ↄ' (line 897) 1120s # Converting 'Ⓐ' => 'ⓐ' (line 898) 1120s # Converting 'Ⓑ' => 'ⓑ' (line 899) 1120s # Converting 'Ⓒ' => 'ⓒ' (line 900) 1120s # Converting 'Ⓓ' => 'ⓓ' (line 901) 1120s # Converting 'Ⓔ' => 'ⓔ' (line 902) 1120s # Converting 'Ⓕ' => 'ⓕ' (line 903) 1120s # Converting 'Ⓖ' => 'ⓖ' (line 904) 1120s # Converting 'Ⓗ' => 'ⓗ' (line 905) 1120s # Converting 'Ⓘ' => 'ⓘ' (line 906) 1120s # Converting 'Ⓙ' => 'ⓙ' (line 907) 1120s # Converting 'Ⓚ' => 'ⓚ' (line 908) 1120s # Converting 'Ⓛ' => 'ⓛ' (line 909) 1120s # Converting 'Ⓜ' => 'ⓜ' (line 910) 1120s # Converting 'Ⓝ' => 'ⓝ' (line 911) 1120s # Converting 'Ⓞ' => 'ⓞ' (line 912) 1120s # Converting 'Ⓟ' => 'ⓟ' (line 913) 1120s # Converting 'Ⓠ' => 'ⓠ' (line 914) 1120s # Converting 'Ⓡ' => 'ⓡ' (line 915) 1120s # Converting 'Ⓢ' => 'ⓢ' (line 916) 1120s # Converting 'Ⓣ' => 'ⓣ' (line 917) 1120s # Converting 'Ⓤ' => 'ⓤ' (line 918) 1120s # Converting 'Ⓥ' => 'ⓥ' (line 919) 1120s # Converting 'Ⓦ' => 'ⓦ' (line 920) 1120s # Converting 'Ⓧ' => 'ⓧ' (line 921) 1120s # Converting 'Ⓨ' => 'ⓨ' (line 922) 1120s # Converting 'Ⓩ' => 'ⓩ' (line 923) 1120s # Converting 'Ⰰ' => 'ⰰ' (line 924) 1120s # Converting 'Ⰱ' => 'ⰱ' (line 925) 1120s # Converting 'Ⰲ' => 'ⰲ' (line 926) 1120s # Converting 'Ⰳ' => 'ⰳ' (line 927) 1120s # Converting 'Ⰴ' => 'ⰴ' (line 928) 1120s # Converting 'Ⰵ' => 'ⰵ' (line 929) 1120s # Converting 'Ⰶ' => 'ⰶ' (line 930) 1120s # Converting 'Ⰷ' => 'ⰷ' (line 931) 1120s # Converting 'Ⰸ' => 'ⰸ' (line 932) 1120s # Converting 'Ⰹ' => 'ⰹ' (line 933) 1120s # Converting 'Ⰺ' => 'ⰺ' (line 934) 1120s # Converting 'Ⰻ' => 'ⰻ' (line 935) 1120s # Converting 'Ⰼ' => 'ⰼ' (line 936) 1120s # Converting 'Ⰽ' => 'ⰽ' (line 937) 1120s # Converting 'Ⰾ' => 'ⰾ' (line 938) 1120s # Converting 'Ⰿ' => 'ⰿ' (line 939) 1120s # Converting 'Ⱀ' => 'ⱀ' (line 940) 1120s # Converting 'Ⱁ' => 'ⱁ' (line 941) 1120s # Converting 'Ⱂ' => 'ⱂ' (line 942) 1120s # Converting 'Ⱃ' => 'ⱃ' (line 943) 1120s # Converting 'Ⱄ' => 'ⱄ' (line 944) 1120s # Converting 'Ⱅ' => 'ⱅ' (line 945) 1120s # Converting 'Ⱆ' => 'ⱆ' (line 946) 1120s # Converting 'Ⱇ' => 'ⱇ' (line 947) 1120s # Converting 'Ⱈ' => 'ⱈ' (line 948) 1120s # Converting 'Ⱉ' => 'ⱉ' (line 949) 1120s # Converting 'Ⱊ' => 'ⱊ' (line 950) 1120s # Converting 'Ⱋ' => 'ⱋ' (line 951) 1120s # Converting 'Ⱌ' => 'ⱌ' (line 952) 1120s # Converting 'Ⱍ' => 'ⱍ' (line 953) 1120s # Converting 'Ⱎ' => 'ⱎ' (line 954) 1120s # Converting 'Ⱏ' => 'ⱏ' (line 955) 1120s # Converting 'Ⱐ' => 'ⱐ' (line 956) 1120s # Converting 'Ⱑ' => 'ⱑ' (line 957) 1120s # Converting 'Ⱒ' => 'ⱒ' (line 958) 1120s # Converting 'Ⱓ' => 'ⱓ' (line 959) 1120s # Converting 'Ⱔ' => 'ⱔ' (line 960) 1120s # Converting 'Ⱕ' => 'ⱕ' (line 961) 1120s # Converting 'Ⱖ' => 'ⱖ' (line 962) 1120s # Converting 'Ⱗ' => 'ⱗ' (line 963) 1120s # Converting 'Ⱘ' => 'ⱘ' (line 964) 1120s # Converting 'Ⱙ' => 'ⱙ' (line 965) 1120s # Converting 'Ⱚ' => 'ⱚ' (line 966) 1120s # Converting 'Ⱛ' => 'ⱛ' (line 967) 1120s # Converting 'Ⱜ' => 'ⱜ' (line 968) 1120s # Converting 'Ⱝ' => 'ⱝ' (line 969) 1120s # Converting 'Ⱞ' => 'ⱞ' (line 970) 1120s # Converting 'Ⱟ' => 'ⱟ' (line 971) 1120s # Converting 'Ⱡ' => 'ⱡ' (line 972) 1120s # Converting 'Ɫ' => 'ɫ' (line 973) 1120s # Converting 'Ᵽ' => 'ᵽ' (line 974) 1120s # Converting 'Ɽ' => 'ɽ' (line 975) 1120s # Converting 'Ⱨ' => 'ⱨ' (line 976) 1120s # Converting 'Ⱪ' => 'ⱪ' (line 977) 1120s # Converting 'Ⱬ' => 'ⱬ' (line 978) 1120s # Converting 'Ɑ' => 'ɑ' (line 979) 1120s # Converting 'Ɱ' => 'ɱ' (line 980) 1120s # Converting 'Ɐ' => 'ɐ' (line 981) 1120s # Converting 'Ɒ' => 'ɒ' (line 982) 1120s # Converting 'Ⱳ' => 'ⱳ' (line 983) 1120s # Converting 'Ⱶ' => 'ⱶ' (line 984) 1120s # Converting 'Ȿ' => 'ȿ' (line 985) 1120s # Converting 'Ɀ' => 'ɀ' (line 986) 1120s # Converting 'Ⲁ' => 'ⲁ' (line 987) 1120s # Converting 'Ⲃ' => 'ⲃ' (line 988) 1120s # Converting 'Ⲅ' => 'ⲅ' (line 989) 1120s # Converting 'Ⲇ' => 'ⲇ' (line 990) 1120s # Converting 'Ⲉ' => 'ⲉ' (line 991) 1120s # Converting 'Ⲋ' => 'ⲋ' (line 992) 1120s # Converting 'Ⲍ' => 'ⲍ' (line 993) 1120s # Converting 'Ⲏ' => 'ⲏ' (line 994) 1120s # Converting 'Ⲑ' => 'ⲑ' (line 995) 1120s # Converting 'Ⲓ' => 'ⲓ' (line 996) 1120s # Converting 'Ⲕ' => 'ⲕ' (line 997) 1120s # Converting 'Ⲗ' => 'ⲗ' (line 998) 1120s # Converting 'Ⲙ' => 'ⲙ' (line 999) 1120s # Converting 'Ⲛ' => 'ⲛ' (line 1000) 1120s # Converting 'Ⲝ' => 'ⲝ' (line 1001) 1120s # Converting 'Ⲟ' => 'ⲟ' (line 1002) 1120s # Converting 'Ⲡ' => 'ⲡ' (line 1003) 1120s # Converting 'Ⲣ' => 'ⲣ' (line 1004) 1120s # Converting 'Ⲥ' => 'ⲥ' (line 1005) 1120s # Converting 'Ⲧ' => 'ⲧ' (line 1006) 1120s # Converting 'Ⲩ' => 'ⲩ' (line 1007) 1120s # Converting 'Ⲫ' => 'ⲫ' (line 1008) 1120s # Converting 'Ⲭ' => 'ⲭ' (line 1009) 1120s # Converting 'Ⲯ' => 'ⲯ' (line 1010) 1120s # Converting 'Ⲱ' => 'ⲱ' (line 1011) 1120s # Converting 'Ⲳ' => 'ⲳ' (line 1012) 1120s # Converting 'Ⲵ' => 'ⲵ' (line 1013) 1120s # Converting 'Ⲷ' => 'ⲷ' (line 1014) 1120s # Converting 'Ⲹ' => 'ⲹ' (line 1015) 1120s # Converting 'Ⲻ' => 'ⲻ' (line 1016) 1120s # Converting 'Ⲽ' => 'ⲽ' (line 1017) 1120s # Converting 'Ⲿ' => 'ⲿ' (line 1018) 1120s # Converting 'Ⳁ' => 'ⳁ' (line 1019) 1120s # Converting 'Ⳃ' => 'ⳃ' (line 1020) 1120s # Converting 'Ⳅ' => 'ⳅ' (line 1021) 1120s # Converting 'Ⳇ' => 'ⳇ' (line 1022) 1120s # Converting 'Ⳉ' => 'ⳉ' (line 1023) 1120s # Converting 'Ⳋ' => 'ⳋ' (line 1024) 1120s # Converting 'Ⳍ' => 'ⳍ' (line 1025) 1120s # Converting 'Ⳏ' => 'ⳏ' (line 1026) 1120s # Converting 'Ⳑ' => 'ⳑ' (line 1027) 1120s # Converting 'Ⳓ' => 'ⳓ' (line 1028) 1120s # Converting 'Ⳕ' => 'ⳕ' (line 1029) 1120s # Converting 'Ⳗ' => 'ⳗ' (line 1030) 1120s # Converting 'Ⳙ' => 'ⳙ' (line 1031) 1120s # Converting 'Ⳛ' => 'ⳛ' (line 1032) 1120s # Converting 'Ⳝ' => 'ⳝ' (line 1033) 1120s # Converting 'Ⳟ' => 'ⳟ' (line 1034) 1120s # Converting 'Ⳡ' => 'ⳡ' (line 1035) 1120s # Converting 'Ⳣ' => 'ⳣ' (line 1036) 1120s # Converting 'Ⳬ' => 'ⳬ' (line 1037) 1120s # Converting 'Ⳮ' => 'ⳮ' (line 1038) 1120s # Converting 'Ⳳ' => 'ⳳ' (line 1039) 1120s # Converting 'Ꙁ' => 'ꙁ' (line 1040) 1120s # Converting 'Ꙃ' => 'ꙃ' (line 1041) 1120s # Converting 'Ꙅ' => 'ꙅ' (line 1042) 1120s # Converting 'Ꙇ' => 'ꙇ' (line 1043) 1120s # Converting 'Ꙉ' => 'ꙉ' (line 1044) 1120s # Converting 'Ꙋ' => 'ꙋ' (line 1045) 1120s # Converting 'Ꙍ' => 'ꙍ' (line 1046) 1120s # Converting 'Ꙏ' => 'ꙏ' (line 1047) 1120s # Converting 'Ꙑ' => 'ꙑ' (line 1048) 1120s # Converting 'Ꙓ' => 'ꙓ' (line 1049) 1120s # Converting 'Ꙕ' => 'ꙕ' (line 1050) 1120s # Converting 'Ꙗ' => 'ꙗ' (line 1051) 1120s # Converting 'Ꙙ' => 'ꙙ' (line 1052) 1120s # Converting 'Ꙛ' => 'ꙛ' (line 1053) 1120s # Converting 'Ꙝ' => 'ꙝ' (line 1054) 1120s # Converting 'Ꙟ' => 'ꙟ' (line 1055) 1120s # Converting 'Ꙡ' => 'ꙡ' (line 1056) 1120s # Converting 'Ꙣ' => 'ꙣ' (line 1057) 1120s # Converting 'Ꙥ' => 'ꙥ' (line 1058) 1120s # Converting 'Ꙧ' => 'ꙧ' (line 1059) 1120s # Converting 'Ꙩ' => 'ꙩ' (line 1060) 1120s # Converting 'Ꙫ' => 'ꙫ' (line 1061) 1120s # Converting 'Ꙭ' => 'ꙭ' (line 1062) 1120s # Converting 'Ꚁ' => 'ꚁ' (line 1063) 1120s # Converting 'Ꚃ' => 'ꚃ' (line 1064) 1120s # Converting 'Ꚅ' => 'ꚅ' (line 1065) 1120s # Converting 'Ꚇ' => 'ꚇ' (line 1066) 1120s # Converting 'Ꚉ' => 'ꚉ' (line 1067) 1120s # Converting 'Ꚋ' => 'ꚋ' (line 1068) 1120s # Converting 'Ꚍ' => 'ꚍ' (line 1069) 1120s # Converting 'Ꚏ' => 'ꚏ' (line 1070) 1120s # Converting 'Ꚑ' => 'ꚑ' (line 1071) 1120s # Converting 'Ꚓ' => 'ꚓ' (line 1072) 1120s # Converting 'Ꚕ' => 'ꚕ' (line 1073) 1120s # Converting 'Ꚗ' => 'ꚗ' (line 1074) 1120s # Converting 'Ꚙ' => 'ꚙ' (line 1075) 1120s # Converting 'Ꚛ' => 'ꚛ' (line 1076) 1120s # Converting 'Ꜣ' => 'ꜣ' (line 1077) 1120s # Converting 'Ꜥ' => 'ꜥ' (line 1078) 1120s # Converting 'Ꜧ' => 'ꜧ' (line 1079) 1120s # Converting 'Ꜩ' => 'ꜩ' (line 1080) 1120s # Converting 'Ꜫ' => 'ꜫ' (line 1081) 1120s # Converting 'Ꜭ' => 'ꜭ' (line 1082) 1120s # Converting 'Ꜯ' => 'ꜯ' (line 1083) 1120s # Converting 'Ꜳ' => 'ꜳ' (line 1084) 1120s # Converting 'Ꜵ' => 'ꜵ' (line 1085) 1120s # Converting 'Ꜷ' => 'ꜷ' (line 1086) 1120s # Converting 'Ꜹ' => 'ꜹ' (line 1087) 1120s # Converting 'Ꜻ' => 'ꜻ' (line 1088) 1120s # Converting 'Ꜽ' => 'ꜽ' (line 1089) 1120s # Converting 'Ꜿ' => 'ꜿ' (line 1090) 1120s # Converting 'Ꝁ' => 'ꝁ' (line 1091) 1120s # Converting 'Ꝃ' => 'ꝃ' (line 1092) 1120s # Converting 'Ꝅ' => 'ꝅ' (line 1093) 1120s # Converting 'Ꝇ' => 'ꝇ' (line 1094) 1120s # Converting 'Ꝉ' => 'ꝉ' (line 1095) 1120s # Converting 'Ꝋ' => 'ꝋ' (line 1096) 1120s # Converting 'Ꝍ' => 'ꝍ' (line 1097) 1120s # Converting 'Ꝏ' => 'ꝏ' (line 1098) 1120s # Converting 'Ꝑ' => 'ꝑ' (line 1099) 1120s # Converting 'Ꝓ' => 'ꝓ' (line 1100) 1120s # Converting 'Ꝕ' => 'ꝕ' (line 1101) 1120s # Converting 'Ꝗ' => 'ꝗ' (line 1102) 1120s # Converting 'Ꝙ' => 'ꝙ' (line 1103) 1120s # Converting 'Ꝛ' => 'ꝛ' (line 1104) 1120s # Converting 'Ꝝ' => 'ꝝ' (line 1105) 1120s # Converting 'Ꝟ' => 'ꝟ' (line 1106) 1120s # Converting 'Ꝡ' => 'ꝡ' (line 1107) 1120s # Converting 'Ꝣ' => 'ꝣ' (line 1108) 1120s # Converting 'Ꝥ' => 'ꝥ' (line 1109) 1120s # Converting 'Ꝧ' => 'ꝧ' (line 1110) 1120s # Converting 'Ꝩ' => 'ꝩ' (line 1111) 1120s # Converting 'Ꝫ' => 'ꝫ' (line 1112) 1120s # Converting 'Ꝭ' => 'ꝭ' (line 1113) 1120s # Converting 'Ꝯ' => 'ꝯ' (line 1114) 1120s # Converting 'Ꝺ' => 'ꝺ' (line 1115) 1120s # Converting 'Ꝼ' => 'ꝼ' (line 1116) 1120s # Converting 'Ᵹ' => 'ᵹ' (line 1117) 1120s # Converting 'Ꝿ' => 'ꝿ' (line 1118) 1120s # Converting 'Ꞁ' => 'ꞁ' (line 1119) 1120s # Converting 'Ꞃ' => 'ꞃ' (line 1120) 1120s # Converting 'Ꞅ' => 'ꞅ' (line 1121) 1120s # Converting 'Ꞇ' => 'ꞇ' (line 1122) 1120s # Converting 'Ꞌ' => 'ꞌ' (line 1123) 1120s # Converting 'Ɥ' => 'ɥ' (line 1124) 1120s # Converting 'Ꞑ' => 'ꞑ' (line 1125) 1120s # Converting 'Ꞓ' => 'ꞓ' (line 1126) 1120s # Converting 'Ꞗ' => 'ꞗ' (line 1127) 1120s # Converting 'Ꞙ' => 'ꞙ' (line 1128) 1120s # Converting 'Ꞛ' => 'ꞛ' (line 1129) 1120s # Converting 'Ꞝ' => 'ꞝ' (line 1130) 1120s # Converting 'Ꞟ' => 'ꞟ' (line 1131) 1120s # Converting 'Ꞡ' => 'ꞡ' (line 1132) 1120s # Converting 'Ꞣ' => 'ꞣ' (line 1133) 1120s # Converting 'Ꞥ' => 'ꞥ' (line 1134) 1120s # Converting 'Ꞧ' => 'ꞧ' (line 1135) 1120s # Converting 'Ꞩ' => 'ꞩ' (line 1136) 1120s # Converting 'Ɦ' => 'ɦ' (line 1137) 1120s # Converting 'Ɜ' => 'ɜ' (line 1138) 1120s # Converting 'Ɡ' => 'ɡ' (line 1139) 1120s # Converting 'Ɬ' => 'ɬ' (line 1140) 1120s # Converting 'Ɪ' => 'ɪ' (line 1141) 1120s # Converting 'Ʞ' => 'ʞ' (line 1142) 1120s # Converting 'Ʇ' => 'ʇ' (line 1143) 1120s # Converting 'Ʝ' => 'ʝ' (line 1144) 1120s # Converting 'Ꭓ' => 'ꭓ' (line 1145) 1120s # Converting 'Ꞵ' => 'ꞵ' (line 1146) 1120s # Converting 'Ꞷ' => 'ꞷ' (line 1147) 1120s # Converting 'Ꞹ' => 'ꞹ' (line 1148) 1120s # Converting 'Ꞻ' => 'ꞻ' (line 1149) 1120s # Converting 'Ꞽ' => 'ꞽ' (line 1150) 1120s # Converting 'Ꞿ' => 'ꞿ' (line 1151) 1120s # Converting 'Ꟁ' => 'ꟁ' (line 1152) 1120s # Converting 'Ꟃ' => 'ꟃ' (line 1153) 1120s # Converting 'Ꞔ' => 'ꞔ' (line 1154) 1120s # Converting 'Ʂ' => 'ʂ' (line 1155) 1120s # Converting 'Ᶎ' => 'ᶎ' (line 1156) 1120s # Converting 'Ꟈ' => 'ꟈ' (line 1157) 1120s # Converting 'Ꟊ' => 'ꟊ' (line 1158) 1120s # Converting 'Ɤ' => 'ɤ' (line 1159) 1120s # Converting 'Ꟍ' => 'ꟍ' (line 1160) 1120s # Converting '꟎' => '꟏' (line 1161) 1120s # Converting 'Ꟑ' => 'ꟑ' (line 1162) 1120s # Converting '꟒' => 'ꟓ' (line 1163) 1120s # Converting '꟔' => 'ꟕ' (line 1164) 1120s # Converting 'Ꟗ' => 'ꟗ' (line 1165) 1120s # Converting 'Ꟙ' => 'ꟙ' (line 1166) 1120s # Converting 'Ꟛ' => 'ꟛ' (line 1167) 1120s # Converting 'Ƛ' => 'ƛ' (line 1168) 1120s # Converting 'Ꟶ' => 'ꟶ' (line 1169) 1120s # Converting 'ꭰ' => 'Ꭰ' (line 1170) 1120s # Converting 'ꭱ' => 'Ꭱ' (line 1171) 1120s # Converting 'ꭲ' => 'Ꭲ' (line 1172) 1120s # Converting 'ꭳ' => 'Ꭳ' (line 1173) 1120s # Converting 'ꭴ' => 'Ꭴ' (line 1174) 1120s # Converting 'ꭵ' => 'Ꭵ' (line 1175) 1120s # Converting 'ꭶ' => 'Ꭶ' (line 1176) 1120s # Converting 'ꭷ' => 'Ꭷ' (line 1177) 1120s # Converting 'ꭸ' => 'Ꭸ' (line 1178) 1120s # Converting 'ꭹ' => 'Ꭹ' (line 1179) 1120s # Converting 'ꭺ' => 'Ꭺ' (line 1180) 1120s # Converting 'ꭻ' => 'Ꭻ' (line 1181) 1120s # Converting 'ꭼ' => 'Ꭼ' (line 1182) 1120s # Converting 'ꭽ' => 'Ꭽ' (line 1183) 1120s # Converting 'ꭾ' => 'Ꭾ' (line 1184) 1120s # Converting 'ꭿ' => 'Ꭿ' (line 1185) 1120s # Converting 'ꮀ' => 'Ꮀ' (line 1186) 1120s # Converting 'ꮁ' => 'Ꮁ' (line 1187) 1120s # Converting 'ꮂ' => 'Ꮂ' (line 1188) 1120s # Converting 'ꮃ' => 'Ꮃ' (line 1189) 1120s # Converting 'ꮄ' => 'Ꮄ' (line 1190) 1120s # Converting 'ꮅ' => 'Ꮅ' (line 1191) 1120s # Converting 'ꮆ' => 'Ꮆ' (line 1192) 1120s # Converting 'ꮇ' => 'Ꮇ' (line 1193) 1120s # Converting 'ꮈ' => 'Ꮈ' (line 1194) 1120s # Converting 'ꮉ' => 'Ꮉ' (line 1195) 1120s # Converting 'ꮊ' => 'Ꮊ' (line 1196) 1120s # Converting 'ꮋ' => 'Ꮋ' (line 1197) 1120s # Converting 'ꮌ' => 'Ꮌ' (line 1198) 1120s # Converting 'ꮍ' => 'Ꮍ' (line 1199) 1120s # Converting 'ꮎ' => 'Ꮎ' (line 1200) 1120s # Converting 'ꮏ' => 'Ꮏ' (line 1201) 1120s # Converting 'ꮐ' => 'Ꮐ' (line 1202) 1120s # Converting 'ꮑ' => 'Ꮑ' (line 1203) 1120s # Converting 'ꮒ' => 'Ꮒ' (line 1204) 1120s # Converting 'ꮓ' => 'Ꮓ' (line 1205) 1120s # Converting 'ꮔ' => 'Ꮔ' (line 1206) 1120s # Converting 'ꮕ' => 'Ꮕ' (line 1207) 1120s # Converting 'ꮖ' => 'Ꮖ' (line 1208) 1120s # Converting 'ꮗ' => 'Ꮗ' (line 1209) 1120s # Converting 'ꮘ' => 'Ꮘ' (line 1210) 1120s # Converting 'ꮙ' => 'Ꮙ' (line 1211) 1120s # Converting 'ꮚ' => 'Ꮚ' (line 1212) 1120s # Converting 'ꮛ' => 'Ꮛ' (line 1213) 1120s # Converting 'ꮜ' => 'Ꮜ' (line 1214) 1120s # Converting 'ꮝ' => 'Ꮝ' (line 1215) 1120s # Converting 'ꮞ' => 'Ꮞ' (line 1216) 1120s # Converting 'ꮟ' => 'Ꮟ' (line 1217) 1120s # Converting 'ꮠ' => 'Ꮠ' (line 1218) 1120s # Converting 'ꮡ' => 'Ꮡ' (line 1219) 1120s # Converting 'ꮢ' => 'Ꮢ' (line 1220) 1120s # Converting 'ꮣ' => 'Ꮣ' (line 1221) 1120s # Converting 'ꮤ' => 'Ꮤ' (line 1222) 1120s # Converting 'ꮥ' => 'Ꮥ' (line 1223) 1120s # Converting 'ꮦ' => 'Ꮦ' (line 1224) 1120s # Converting 'ꮧ' => 'Ꮧ' (line 1225) 1120s # Converting 'ꮨ' => 'Ꮨ' (line 1226) 1120s # Converting 'ꮩ' => 'Ꮩ' (line 1227) 1120s # Converting 'ꮪ' => 'Ꮪ' (line 1228) 1120s # Converting 'ꮫ' => 'Ꮫ' (line 1229) 1120s # Converting 'ꮬ' => 'Ꮬ' (line 1230) 1120s # Converting 'ꮭ' => 'Ꮭ' (line 1231) 1120s # Converting 'ꮮ' => 'Ꮮ' (line 1232) 1120s # Converting 'ꮯ' => 'Ꮯ' (line 1233) 1120s # Converting 'ꮰ' => 'Ꮰ' (line 1234) 1120s # Converting 'ꮱ' => 'Ꮱ' (line 1235) 1120s # Converting 'ꮲ' => 'Ꮲ' (line 1236) 1120s # Converting 'ꮳ' => 'Ꮳ' (line 1237) 1120s # Converting 'ꮴ' => 'Ꮴ' (line 1238) 1120s # Converting 'ꮵ' => 'Ꮵ' (line 1239) 1120s # Converting 'ꮶ' => 'Ꮶ' (line 1240) 1120s # Converting 'ꮷ' => 'Ꮷ' (line 1241) 1120s # Converting 'ꮸ' => 'Ꮸ' (line 1242) 1120s # Converting 'ꮹ' => 'Ꮹ' (line 1243) 1120s # Converting 'ꮺ' => 'Ꮺ' (line 1244) 1120s # Converting 'ꮻ' => 'Ꮻ' (line 1245) 1120s # Converting 'ꮼ' => 'Ꮼ' (line 1246) 1120s # Converting 'ꮽ' => 'Ꮽ' (line 1247) 1120s # Converting 'ꮾ' => 'Ꮾ' (line 1248) 1120s # Converting 'ꮿ' => 'Ꮿ' (line 1249) 1120s # Converting 'ff' => 'ff' (line 1250) 1120s # Converting 'fi' => 'fi' (line 1251) 1120s # Converting 'fl' => 'fl' (line 1252) 1120s # Converting 'ffi' => 'ffi' (line 1253) 1120s # Converting 'ffl' => 'ffl' (line 1254) 1120s # Converting 'ſt' => 'st' (line 1255) 1120s # Converting 'st' => 'st' (line 1256) 1120s # Converting 'ﬓ' => 'մն' (line 1257) 1120s # Converting 'ﬔ' => 'մե' (line 1258) 1120s # Converting 'ﬕ' => 'մի' (line 1259) 1120s # Converting 'ﬖ' => 'վն' (line 1260) 1120s # Converting 'ﬗ' => 'մխ' (line 1261) 1120s # Converting 'A' => 'a' (line 1262) 1120s # Converting 'B' => 'b' (line 1263) 1120s # Converting 'C' => 'c' (line 1264) 1120s # Converting 'D' => 'd' (line 1265) 1120s # Converting 'E' => 'e' (line 1266) 1120s # Converting 'F' => 'f' (line 1267) 1120s # Converting 'G' => 'g' (line 1268) 1120s # Converting 'H' => 'h' (line 1269) 1120s # Converting 'I' => 'i' (line 1270) 1120s # Converting 'J' => 'j' (line 1271) 1120s # Converting 'K' => 'k' (line 1272) 1120s # Converting 'L' => 'l' (line 1273) 1120s # Converting 'M' => 'm' (line 1274) 1120s # Converting 'N' => 'n' (line 1275) 1120s # Converting 'O' => 'o' (line 1276) 1120s # Converting 'P' => 'p' (line 1277) 1120s # Converting 'Q' => 'q' (line 1278) 1120s # Converting 'R' => 'r' (line 1279) 1120s # Converting 'S' => 's' (line 1280) 1120s # Converting 'T' => 't' (line 1281) 1120s # Converting 'U' => 'u' (line 1282) 1120s # Converting 'V' => 'v' (line 1283) 1120s # Converting 'W' => 'w' (line 1284) 1120s # Converting 'X' => 'x' (line 1285) 1120s # Converting 'Y' => 'y' (line 1286) 1120s # Converting 'Z' => 'z' (line 1287) 1120s # Converting '𐐀' => '𐐨' (line 1288) 1120s # Converting '𐐁' => '𐐩' (line 1289) 1120s # Converting '𐐂' => '𐐪' (line 1290) 1120s # Converting '𐐃' => '𐐫' (line 1291) 1120s # Converting '𐐄' => '𐐬' (line 1292) 1120s # Converting '𐐅' => '𐐭' (line 1293) 1120s # Converting '𐐆' => '𐐮' (line 1294) 1120s # Converting '𐐇' => '𐐯' (line 1295) 1120s # Converting '𐐈' => '𐐰' (line 1296) 1120s # Converting '𐐉' => '𐐱' (line 1297) 1120s # Converting '𐐊' => '𐐲' (line 1298) 1120s # Converting '𐐋' => '𐐳' (line 1299) 1120s # Converting '𐐌' => '𐐴' (line 1300) 1120s # Converting '𐐍' => '𐐵' (line 1301) 1120s # Converting '𐐎' => '𐐶' (line 1302) 1120s # Converting '𐐏' => '𐐷' (line 1303) 1120s # Converting '𐐐' => '𐐸' (line 1304) 1120s # Converting '𐐑' => '𐐹' (line 1305) 1120s # Converting '𐐒' => '𐐺' (line 1306) 1120s # Converting '𐐓' => '𐐻' (line 1307) 1120s # Converting '𐐔' => '𐐼' (line 1308) 1120s # Converting '𐐕' => '𐐽' (line 1309) 1120s # Converting '𐐖' => '𐐾' (line 1310) 1120s # Converting '𐐗' => '𐐿' (line 1311) 1120s # Converting '𐐘' => '𐑀' (line 1312) 1120s # Converting '𐐙' => '𐑁' (line 1313) 1120s # Converting '𐐚' => '𐑂' (line 1314) 1120s # Converting '𐐛' => '𐑃' (line 1315) 1120s # Converting '𐐜' => '𐑄' (line 1316) 1120s # Converting '𐐝' => '𐑅' (line 1317) 1120s # Converting '𐐞' => '𐑆' (line 1318) 1120s # Converting '𐐟' => '𐑇' (line 1319) 1120s # Converting '𐐠' => '𐑈' (line 1320) 1120s # Converting '𐐡' => '𐑉' (line 1321) 1120s # Converting '𐐢' => '𐑊' (line 1322) 1120s # Converting '𐐣' => '𐑋' (line 1323) 1120s # Converting '𐐤' => '𐑌' (line 1324) 1120s # Converting '𐐥' => '𐑍' (line 1325) 1120s # Converting '𐐦' => '𐑎' (line 1326) 1120s # Converting '𐐧' => '𐑏' (line 1327) 1120s # Converting '𐒰' => '𐓘' (line 1328) 1120s # Converting '𐒱' => '𐓙' (line 1329) 1120s # Converting '𐒲' => '𐓚' (line 1330) 1120s # Converting '𐒳' => '𐓛' (line 1331) 1120s # Converting '𐒴' => '𐓜' (line 1332) 1120s # Converting '𐒵' => '𐓝' (line 1333) 1120s # Converting '𐒶' => '𐓞' (line 1334) 1120s # Converting '𐒷' => '𐓟' (line 1335) 1120s # Converting '𐒸' => '𐓠' (line 1336) 1120s # Converting '𐒹' => '𐓡' (line 1337) 1120s # Converting '𐒺' => '𐓢' (line 1338) 1120s # Converting '𐒻' => '𐓣' (line 1339) 1120s # Converting '𐒼' => '𐓤' (line 1340) 1120s # Converting '𐒽' => '𐓥' (line 1341) 1120s # Converting '𐒾' => '𐓦' (line 1342) 1120s # Converting '𐒿' => '𐓧' (line 1343) 1120s # Converting '𐓀' => '𐓨' (line 1344) 1120s # Converting '𐓁' => '𐓩' (line 1345) 1120s # Converting '𐓂' => '𐓪' (line 1346) 1120s # Converting '𐓃' => '𐓫' (line 1347) 1120s # Converting '𐓄' => '𐓬' (line 1348) 1120s # Converting '𐓅' => '𐓭' (line 1349) 1120s # Converting '𐓆' => '𐓮' (line 1350) 1120s # Converting '𐓇' => '𐓯' (line 1351) 1120s # Converting '𐓈' => '𐓰' (line 1352) 1120s # Converting '𐓉' => '𐓱' (line 1353) 1120s # Converting '𐓊' => '𐓲' (line 1354) 1120s # Converting '𐓋' => '𐓳' (line 1355) 1120s # Converting '𐓌' => '𐓴' (line 1356) 1120s # Converting '𐓍' => '𐓵' (line 1357) 1120s # Converting '𐓎' => '𐓶' (line 1358) 1120s # Converting '𐓏' => '𐓷' (line 1359) 1120s # Converting '𐓐' => '𐓸' (line 1360) 1120s # Converting '𐓑' => '𐓹' (line 1361) 1120s # Converting '𐓒' => '𐓺' (line 1362) 1120s # Converting '𐓓' => '𐓻' (line 1363) 1120s # Converting '𐕰' => '𐖗' (line 1364) 1120s # Converting '𐕱' => '𐖘' (line 1365) 1120s # Converting '𐕲' => '𐖙' (line 1366) 1120s # Converting '𐕳' => '𐖚' (line 1367) 1120s # Converting '𐕴' => '𐖛' (line 1368) 1120s # Converting '𐕵' => '𐖜' (line 1369) 1120s # Converting '𐕶' => '𐖝' (line 1370) 1120s # Converting '𐕷' => '𐖞' (line 1371) 1120s # Converting '𐕸' => '𐖟' (line 1372) 1120s # Converting '𐕹' => '𐖠' (line 1373) 1120s # Converting '𐕺' => '𐖡' (line 1374) 1120s # Converting '𐕼' => '𐖣' (line 1375) 1120s # Converting '𐕽' => '𐖤' (line 1376) 1120s # Converting '𐕾' => '𐖥' (line 1377) 1120s # Converting '𐕿' => '𐖦' (line 1378) 1120s # Converting '𐖀' => '𐖧' (line 1379) 1120s # Converting '𐖁' => '𐖨' (line 1380) 1120s # Converting '𐖂' => '𐖩' (line 1381) 1120s # Converting '𐖃' => '𐖪' (line 1382) 1120s # Converting '𐖄' => '𐖫' (line 1383) 1120s # Converting '𐖅' => '𐖬' (line 1384) 1120s # Converting '𐖆' => '𐖭' (line 1385) 1120s # Converting '𐖇' => '𐖮' (line 1386) 1120s # Converting '𐖈' => '𐖯' (line 1387) 1120s # Converting '𐖉' => '𐖰' (line 1388) 1120s # Converting '𐖊' => '𐖱' (line 1389) 1120s # Converting '𐖌' => '𐖳' (line 1390) 1120s # Converting '𐖍' => '𐖴' (line 1391) 1120s # Converting '𐖎' => '𐖵' (line 1392) 1120s # Converting '𐖏' => '𐖶' (line 1393) 1120s # Converting '𐖐' => '𐖷' (line 1394) 1120s # Converting '𐖑' => '𐖸' (line 1395) 1120s # Converting '𐖒' => '𐖹' (line 1396) 1120s # Converting '𐖔' => '𐖻' (line 1397) 1120s # Converting '𐖕' => '𐖼' (line 1398) 1120s # Converting '𐲀' => '𐳀' (line 1399) 1120s # Converting '𐲁' => '𐳁' (line 1400) 1120s # Converting '𐲂' => '𐳂' (line 1401) 1120s # Converting '𐲃' => '𐳃' (line 1402) 1120s # Converting '𐲄' => '𐳄' (line 1403) 1120s # Converting '𐲅' => '𐳅' (line 1404) 1120s # Converting '𐲆' => '𐳆' (line 1405) 1120s # Converting '𐲇' => '𐳇' (line 1406) 1120s # Converting '𐲈' => '𐳈' (line 1407) 1120s # Converting '𐲉' => '𐳉' (line 1408) 1120s # Converting '𐲊' => '𐳊' (line 1409) 1120s # Converting '𐲋' => '𐳋' (line 1410) 1120s # Converting '𐲌' => '𐳌' (line 1411) 1120s # Converting '𐲍' => '𐳍' (line 1412) 1120s # Converting '𐲎' => '𐳎' (line 1413) 1120s # Converting '𐲏' => '𐳏' (line 1414) 1120s # Converting '𐲐' => '𐳐' (line 1415) 1120s # Converting '𐲑' => '𐳑' (line 1416) 1120s # Converting '𐲒' => '𐳒' (line 1417) 1120s # Converting '𐲓' => '𐳓' (line 1418) 1120s # Converting '𐲔' => '𐳔' (line 1419) 1120s # Converting '𐲕' => '𐳕' (line 1420) 1120s # Converting '𐲖' => '𐳖' (line 1421) 1120s # Converting '𐲗' => '𐳗' (line 1422) 1120s # Converting '𐲘' => '𐳘' (line 1423) 1120s # Converting '𐲙' => '𐳙' (line 1424) 1120s # Converting '𐲚' => '𐳚' (line 1425) 1120s # Converting '𐲛' => '𐳛' (line 1426) 1120s # Converting '𐲜' => '𐳜' (line 1427) 1120s # Converting '𐲝' => '𐳝' (line 1428) 1120s # Converting '𐲞' => '𐳞' (line 1429) 1120s # Converting '𐲟' => '𐳟' (line 1430) 1120s # Converting '𐲠' => '𐳠' (line 1431) 1120s # Converting '𐲡' => '𐳡' (line 1432) 1120s # Converting '𐲢' => '𐳢' (line 1433) 1120s # Converting '𐲣' => '𐳣' (line 1434) 1120s # Converting '𐲤' => '𐳤' (line 1435) 1120s # Converting '𐲥' => '𐳥' (line 1436) 1120s # Converting '𐲦' => '𐳦' (line 1437) 1120s # Converting '𐲧' => '𐳧' (line 1438) 1120s # Converting '𐲨' => '𐳨' (line 1439) 1120s # Converting '𐲩' => '𐳩' (line 1440) 1120s # Converting '𐲪' => '𐳪' (line 1441) 1120s # Converting '𐲫' => '𐳫' (line 1442) 1120s # Converting '𐲬' => '𐳬' (line 1443) 1120s # Converting '𐲭' => '𐳭' (line 1444) 1120s # Converting '𐲮' => '𐳮' (line 1445) 1120s # Converting '𐲯' => '𐳯' (line 1446) 1120s # Converting '𐲰' => '𐳰' (line 1447) 1120s # Converting '𐲱' => '𐳱' (line 1448) 1120s # Converting '𐲲' => '𐳲' (line 1449) 1120s # Converting '𐵐' => '𐵰' (line 1450) 1120s # Converting '𐵑' => '𐵱' (line 1451) 1120s # Converting '𐵒' => '𐵲' (line 1452) 1120s # Converting '𐵓' => '𐵳' (line 1453) 1120s # Converting '𐵔' => '𐵴' (line 1454) 1120s # Converting '𐵕' => '𐵵' (line 1455) 1120s # Converting '𐵖' => '𐵶' (line 1456) 1120s # Converting '𐵗' => '𐵷' (line 1457) 1120s # Converting '𐵘' => '𐵸' (line 1458) 1120s # Converting '𐵙' => '𐵹' (line 1459) 1120s # Converting '𐵚' => '𐵺' (line 1460) 1120s # Converting '𐵛' => '𐵻' (line 1461) 1120s # Converting '𐵜' => '𐵼' (line 1462) 1120s # Converting '𐵝' => '𐵽' (line 1463) 1120s # Converting '𐵞' => '𐵾' (line 1464) 1120s # Converting '𐵟' => '𐵿' (line 1465) 1120s # Converting '𐵠' => '𐶀' (line 1466) 1120s # Converting '𐵡' => '𐶁' (line 1467) 1120s # Converting '𐵢' => '𐶂' (line 1468) 1120s # Converting '𐵣' => '𐶃' (line 1469) 1120s # Converting '𐵤' => '𐶄' (line 1470) 1120s # Converting '𐵥' => '𐶅' (line 1471) 1120s # Converting '𑢠' => '𑣀' (line 1472) 1120s # Converting '𑢡' => '𑣁' (line 1473) 1120s # Converting '𑢢' => '𑣂' (line 1474) 1120s # Converting '𑢣' => '𑣃' (line 1475) 1120s # Converting '𑢤' => '𑣄' (line 1476) 1120s # Converting '𑢥' => '𑣅' (line 1477) 1120s # Converting '𑢦' => '𑣆' (line 1478) 1120s # Converting '𑢧' => '𑣇' (line 1479) 1120s # Converting '𑢨' => '𑣈' (line 1480) 1120s # Converting '𑢩' => '𑣉' (line 1481) 1120s # Converting '𑢪' => '𑣊' (line 1482) 1120s # Converting '𑢫' => '𑣋' (line 1483) 1120s # Converting '𑢬' => '𑣌' (line 1484) 1120s # Converting '𑢭' => '𑣍' (line 1485) 1120s # Converting '𑢮' => '𑣎' (line 1486) 1120s # Converting '𑢯' => '𑣏' (line 1487) 1120s # Converting '𑢰' => '𑣐' (line 1488) 1120s # Converting '𑢱' => '𑣑' (line 1489) 1120s # Converting '𑢲' => '𑣒' (line 1490) 1120s # Converting '𑢳' => '𑣓' (line 1491) 1120s # Converting '𑢴' => '𑣔' (line 1492) 1120s # Converting '𑢵' => '𑣕' (line 1493) 1120s # Converting '𑢶' => '𑣖' (line 1494) 1120s # Converting '𑢷' => '𑣗' (line 1495) 1120s # Converting '𑢸' => '𑣘' (line 1496) 1120s # Converting '𑢹' => '𑣙' (line 1497) 1120s # Converting '𑢺' => '𑣚' (line 1498) 1120s # Converting '𑢻' => '𑣛' (line 1499) 1120s # Converting '𑢼' => '𑣜' (line 1500) 1120s # Converting '𑢽' => '𑣝' (line 1501) 1120s # Converting '𑢾' => '𑣞' (line 1502) 1120s # Converting '𑢿' => '𑣟' (line 1503) 1120s # Converting '𖹀' => '𖹠' (line 1504) 1120s # Converting '𖹁' => '𖹡' (line 1505) 1120s # Converting '𖹂' => '𖹢' (line 1506) 1120s # Converting '𖹃' => '𖹣' (line 1507) 1120s # Converting '𖹄' => '𖹤' (line 1508) 1120s # Converting '𖹅' => '𖹥' (line 1509) 1120s # Converting '𖹆' => '𖹦' (line 1510) 1120s # Converting '𖹇' => '𖹧' (line 1511) 1120s # Converting '𖹈' => '𖹨' (line 1512) 1120s # Converting '𖹉' => '𖹩' (line 1513) 1120s # Converting '𖹊' => '𖹪' (line 1514) 1120s # Converting '𖹋' => '𖹫' (line 1515) 1120s # Converting '𖹌' => '𖹬' (line 1516) 1120s # Converting '𖹍' => '𖹭' (line 1517) 1120s # Converting '𖹎' => '𖹮' (line 1518) 1120s # Converting '𖹏' => '𖹯' (line 1519) 1120s # Converting '𖹐' => '𖹰' (line 1520) 1120s # Converting '𖹑' => '𖹱' (line 1521) 1120s # Converting '𖹒' => '𖹲' (line 1522) 1120s # Converting '𖹓' => '𖹳' (line 1523) 1120s # Converting '𖹔' => '𖹴' (line 1524) 1120s # Converting '𖹕' => '𖹵' (line 1525) 1120s # Converting '𖹖' => '𖹶' (line 1526) 1120s # Converting '𖹗' => '𖹷' (line 1527) 1120s # Converting '𖹘' => '𖹸' (line 1528) 1120s # Converting '𖹙' => '𖹹' (line 1529) 1120s # Converting '𖹚' => '𖹺' (line 1530) 1120s # Converting '𖹛' => '𖹻' (line 1531) 1120s # Converting '𖹜' => '𖹼' (line 1532) 1120s # Converting '𖹝' => '𖹽' (line 1533) 1120s # Converting '𖹞' => '𖹾' (line 1534) 1120s # Converting '𖹟' => '𖹿' (line 1535) 1120s # Converting '𖺠' => '𖺻' (line 1536) 1120s # Converting '𖺡' => '𖺼' (line 1537) 1120s # Converting '𖺢' => '𖺽' (line 1538) 1120s # Converting '𖺣' => '𖺾' (line 1539) 1120s # Converting '𖺤' => '𖺿' (line 1540) 1120s # Converting '𖺥' => '𖻀' (line 1541) 1120s # Converting '𖺦' => '𖻁' (line 1542) 1120s # Converting '𖺧' => '𖻂' (line 1543) 1120s # Converting '𖺨' => '𖻃' (line 1544) 1120s # Converting '𖺩' => '𖻄' (line 1545) 1120s # Converting '𖺪' => '𖻅' (line 1546) 1120s # Converting '𖺫' => '𖻆' (line 1547) 1120s # Converting '𖺬' => '𖻇' (line 1548) 1120s # Converting '𖺭' => '𖻈' (line 1549) 1120s # Converting '𖺮' => '𖻉' (line 1550) 1120s # Converting '𖺯' => '𖻊' (line 1551) 1120s # Converting '𖺰' => '𖻋' (line 1552) 1120s # Converting '𖺱' => '𖻌' (line 1553) 1120s # Converting '𖺲' => '𖻍' (line 1554) 1120s # Converting '𖺳' => '𖻎' (line 1555) 1120s # Converting '𖺴' => '𖻏' (line 1556) 1120s # Converting '𖺵' => '𖻐' (line 1557) 1120s # Converting '𖺶' => '𖻑' (line 1558) 1120s # Converting '𖺷' => '𖻒' (line 1559) 1120s # Converting '𖺸' => '𖻓' (line 1560) 1120s # Converting '𞤀' => '𞤢' (line 1561) 1120s # Converting '𞤁' => '𞤣' (line 1562) 1120s # Converting '𞤂' => '𞤤' (line 1563) 1120s # Converting '𞤃' => '𞤥' (line 1564) 1120s # Converting '𞤄' => '𞤦' (line 1565) 1120s # Converting '𞤅' => '𞤧' (line 1566) 1120s # Converting '𞤆' => '𞤨' (line 1567) 1120s # Converting '𞤇' => '𞤩' (line 1568) 1120s # Converting '𞤈' => '𞤪' (line 1569) 1120s # Converting '𞤉' => '𞤫' (line 1570) 1120s # Converting '𞤊' => '𞤬' (line 1571) 1120s # Converting '𞤋' => '𞤭' (line 1572) 1120s # Converting '𞤌' => '𞤮' (line 1573) 1120s # Converting '𞤍' => '𞤯' (line 1574) 1120s # Converting '𞤎' => '𞤰' (line 1575) 1120s # Converting '𞤏' => '𞤱' (line 1576) 1120s # Converting '𞤐' => '𞤲' (line 1577) 1120s # Converting '𞤑' => '𞤳' (line 1578) 1120s # Converting '𞤒' => '𞤴' (line 1579) 1120s # Converting '𞤓' => '𞤵' (line 1580) 1120s # Converting '𞤔' => '𞤶' (line 1581) 1120s # Converting '𞤕' => '𞤷' (line 1582) 1120s # Converting '𞤖' => '𞤸' (line 1583) 1120s # Converting '𞤗' => '𞤹' (line 1584) 1120s # Converting '𞤘' => '𞤺' (line 1585) 1120s # Converting '𞤙' => '𞤻' (line 1586) 1120s # Converting '𞤚' => '𞤼' (line 1587) 1120s # Converting '𞤛' => '𞤽' (line 1588) 1120s # Converting '𞤜' => '𞤾' (line 1589) 1120s # Converting '𞤝' => '𞤿' (line 1590) 1120s # Converting '𞤞' => '𞥀' (line 1591) 1120s # Converting '𞤟' => '𞥁' (line 1592) 1120s # Converting '𞤠' => '𞥂' (line 1593) 1120s # Converting '𞤡' => '𞥃' (line 1594) 1120s ok 6 /unicode/casemap_and_casefold 1120s ok 7 /unicode/cases 1120s ok 8 /unicode/character-type 1120s ok 9 /unicode/cntrl 1120s ok 10 /unicode/combining-class 1120s # Composing U+000041 and U+000042; expecting U+000000 1120s # Composing U+000041 and U+000000; expecting U+000000 1120s # Composing U+000066 and U+000069; expecting U+000000 1120s # Composing U+000308 and U+000301; expecting U+000000 1120s # Composing U+000f71 and U+000f72; expecting U+000000 1120s # Composing U+00212b and U+000000; expecting U+000000 1120s # Composing U+0000c5 and U+000000; expecting U+000000 1120s # Composing U+002126 and U+000000; expecting U+000000 1120s # Composing U+0003a9 and U+000000; expecting U+000000 1120s # Composing U+000041 and U+00030a; expecting U+0000c5 1120s # Composing U+00006f and U+000302; expecting U+0000f4 1120s # Composing U+001e63 and U+000307; expecting U+001e69 1120s # Composing U+000073 and U+000323; expecting U+001e63 1120s # Composing U+000064 and U+000307; expecting U+001e0b 1120s # Composing U+000064 and U+000323; expecting U+001e0d 1120s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 1120s # Composing U+001111 and U+001171; expecting U+00d4cc 1120s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 1120s # Composing U+00110e and U+001173; expecting U+00ce20 1120s # Composing U+001100 and U+001160; expecting U+000000 1120s # Composing U+001100 and U+001177; expecting U+000000 1120s # Composing U+00abff and U+0011b6; expecting U+000000 1120s # Composing U+00d7a5 and U+0011b6; expecting U+000000 1120s # Composing U+00ac01 and U+0011b6; expecting U+000000 1120s # Composing U+00d4cc and U+0011a6; expecting U+000000 1120s # Composing U+00d4cc and U+0011c4; expecting U+000000 1120s # Composing U+01611e and U+01611e; expecting U+016121 1120s # Composing U+01611e and U+01611f; expecting U+016123 1120s # Composing U+0000f6 and U+000304; expecting U+00022b 1120s # Composing U+000b47 and U+000b57; expecting U+000b4c 1120s # Composing U+0000a0 and U+000b57; expecting U+000000 1120s # Composing U+016e00 and U+00030a; expecting U+000000 1120s # Composing U+00212b and U+016e00; expecting U+000000 1120s # Composing U+001e63 and U+000306; expecting U+000000 1120s # Composing U+001e63 and U+000304; expecting U+000000 1120s # Composing U+001e63 and U+000b57; expecting U+000000 1120s # Composing U+001e63 and U+000000; expecting U+000000 1120s # Composing U+001e63 and U+0113c2; expecting U+000000 1120s # Composing U+001f01 and U+0113c2; expecting U+000000 1120s # Composing U+00006e and U+000302; expecting U+000000 1120s # Composing U+001e63 and U+01611f; expecting U+000000 1120s # Composing U+01138e and U+0113b8; expecting U+000000 1120s # Composing U+01611e and U+000000; expecting U+000000 1120s # Composing U+000000 and U+01611f; expecting U+000000 1120s # Composing U+011390 and U+0113c2; expecting U+000000 1120s ok 11 /unicode/compose 1120s ok 12 /unicode/decompose 1120s ok 13 /unicode/decompose-tail 1120s ok 14 /unicode/defined 1120s ok 15 /unicode/digit 1120s ok 16 /unicode/digit-value 1120s # Fully decomposing U+000041; expecting 1 codepoints 1120s # Fully decomposing U+00fb01; expecting 1 codepoints 1120s # Fully decomposing U+00212b; expecting 2 codepoints 1120s # Fully decomposing U+002126; expecting 1 codepoints 1120s # Fully decomposing U+000344; expecting 2 codepoints 1120s # Fully decomposing U+000f73; expecting 2 codepoints 1120s # Fully decomposing U+0000c5; expecting 2 codepoints 1120s # Fully decomposing U+0000f4; expecting 2 codepoints 1120s # Fully decomposing U+001e69; expecting 3 codepoints 1120s # Fully decomposing U+001e63; expecting 2 codepoints 1120s # Fully decomposing U+001e0b; expecting 2 codepoints 1120s # Fully decomposing U+001e0d; expecting 2 codepoints 1120s # Fully decomposing U+00d4db; expecting 3 codepoints 1120s # Fully decomposing U+00d4cc; expecting 2 codepoints 1120s # Fully decomposing U+00ce31; expecting 3 codepoints 1120s # Fully decomposing U+00ce20; expecting 2 codepoints 1120s ok 17 /unicode/fully-decompose-canonical 1120s ok 18 /unicode/fully-decompose-len 1120s ok 19 /unicode/normalization 1120s ok 20 /unicode/graph 1120s # Testing script Zyyy (code 1517910393) 1120s # Testing script Zinh (code 1516858984) 1120s # Testing script Zmth (code 1517122664) 1120s # Testing script Arab (code 1098015074) 1120s # Testing script Armn (code 1098018158) 1120s # Testing script Beng (code 1113943655) 1120s # Testing script Bopo (code 1114599535) 1120s # Testing script Cher (code 1130915186) 1120s # Testing script Copt (code 1131376756) 1120s # Testing script Cyrl (code 1132032620) 1120s # Testing script Dsrt (code 1148416628) 1120s # Testing script Deva (code 1147500129) 1120s # Testing script Ethi (code 1165256809) 1120s # Testing script Geor (code 1197830002) 1120s # Testing script Goth (code 1198486632) 1120s # Testing script Grek (code 1198679403) 1120s # Testing script Gujr (code 1198877298) 1120s # Testing script Guru (code 1198879349) 1120s # Testing script Hani (code 1214344809) 1120s # Testing script Hang (code 1214344807) 1120s # Testing script Hebr (code 1214603890) 1120s # Testing script Hira (code 1214870113) 1120s # Testing script Knda (code 1265525857) 1120s # Testing script Kana (code 1264676449) 1120s # Testing script Khmr (code 1265134962) 1120s # Testing script Laoo (code 1281453935) 1120s # Testing script Latn (code 1281455214) 1120s # Testing script Mlym (code 1298954605) 1120s # Testing script Mong (code 1299148391) 1120s # Testing script Mymr (code 1299803506) 1120s # Testing script Ogam (code 1332175213) 1120s # Testing script Ital (code 1232363884) 1120s # Testing script Orya (code 1332902241) 1120s # Testing script Runr (code 1383427698) 1120s # Testing script Sinh (code 1399418472) 1120s # Testing script Syrc (code 1400468067) 1120s # Testing script Taml (code 1415671148) 1120s # Testing script Telu (code 1415933045) 1120s # Testing script Thaa (code 1416126817) 1120s # Testing script Thai (code 1416126825) 1120s # Testing script Tibt (code 1416192628) 1120s # Testing script Cans (code 1130458739) 1120s # Testing script Yiii (code 1500080489) 1120s # Testing script Tglg (code 1416064103) 1120s # Testing script Hano (code 1214344815) 1120s # Testing script Buhd (code 1114990692) 1120s # Testing script Tagb (code 1415669602) 1120s # Testing script Brai (code 1114792297) 1120s # Testing script Cprt (code 1131442804) 1120s # Testing script Limb (code 1281977698) 1120s # Testing script Osma (code 1332964705) 1120s # Testing script Shaw (code 1399349623) 1120s # Testing script Linb (code 1281977954) 1120s # Testing script Tale (code 1415670885) 1120s # Testing script Ugar (code 1432838514) 1120s # Testing script Talu (code 1415670901) 1120s # Testing script Bugi (code 1114990441) 1120s # Testing script Glag (code 1198285159) 1120s # Testing script Tfng (code 1415999079) 1120s # Testing script Sylo (code 1400466543) 1120s # Testing script Xpeo (code 1483761007) 1120s # Testing script Khar (code 1265131890) 1120s # Testing script Zzzz (code 1517976186) 1120s # Testing script Bali (code 1113681001) 1120s # Testing script Xsux (code 1483961720) 1120s # Testing script Phnx (code 1349021304) 1120s # Testing script Phag (code 1349017959) 1120s # Testing script Nkoo (code 1315663727) 1120s # Testing script Kali (code 1264675945) 1120s # Testing script Lepc (code 1281716323) 1120s # Testing script Rjng (code 1382706791) 1120s # Testing script Sund (code 1400204900) 1120s # Testing script Saur (code 1398895986) 1120s # Testing script Cham (code 1130914157) 1120s # Testing script Olck (code 1332503403) 1120s # Testing script Vaii (code 1449224553) 1120s # Testing script Cari (code 1130459753) 1120s # Testing script Lyci (code 1283023721) 1120s # Testing script Lydi (code 1283023977) 1120s # Testing script Avst (code 1098281844) 1120s # Testing script Bamu (code 1113681269) 1120s # Testing script Egyp (code 1164409200) 1120s # Testing script Armi (code 1098018153) 1120s # Testing script Phli (code 1349020777) 1120s # Testing script Prti (code 1349678185) 1120s # Testing script Java (code 1247901281) 1120s # Testing script Kthi (code 1265920105) 1120s # Testing script Lisu (code 1281979253) 1120s # Testing script Mtei (code 1299473769) 1120s # Testing script Sarb (code 1398895202) 1120s # Testing script Orkh (code 1332898664) 1120s # Testing script Samr (code 1398893938) 1120s # Testing script Lana (code 1281453665) 1120s # Testing script Tavt (code 1415673460) 1120s # Testing script Batk (code 1113683051) 1120s # Testing script Brah (code 1114792296) 1120s # Testing script Mand (code 1298230884) 1120s # Testing script Cakm (code 1130457965) 1120s # Testing script Merc (code 1298494051) 1120s # Testing script Mero (code 1298494063) 1120s # Testing script Plrd (code 1349284452) 1120s # Testing script Shrd (code 1399353956) 1120s # Testing script Sora (code 1399812705) 1120s # Testing script Takr (code 1415670642) 1120s # Testing script Bass (code 1113682803) 1120s # Testing script Aghb (code 1097295970) 1120s # Testing script Dupl (code 1148547180) 1120s # Testing script Elba (code 1164730977) 1120s # Testing script Gran (code 1198678382) 1120s # Testing script Khoj (code 1265135466) 1120s # Testing script Sind (code 1399418468) 1120s # Testing script Lina (code 1281977953) 1120s # Testing script Mahj (code 1298229354) 1120s # Testing script Mani (code 1298230889) 1120s # Testing script Mend (code 1298493028) 1120s # Testing script Modi (code 1299145833) 1120s # Testing script Mroo (code 1299345263) 1120s # Testing script Nbat (code 1315070324) 1120s # Testing script Narb (code 1315009122) 1120s # Testing script Perm (code 1348825709) 1120s # Testing script Hmng (code 1215131239) 1120s # Testing script Palm (code 1348562029) 1120s # Testing script Pauc (code 1348564323) 1120s # Testing script Phlp (code 1349020784) 1120s # Testing script Sidd (code 1399415908) 1120s # Testing script Tirh (code 1416196712) 1120s # Testing script Wara (code 1466004065) 1120s # Testing script Ahom (code 1097363309) 1120s # Testing script Hluw (code 1215067511) 1120s # Testing script Hatr (code 1214346354) 1120s # Testing script Mult (code 1299541108) 1120s # Testing script Hung (code 1215655527) 1120s # Testing script Sgnw (code 1399287415) 1120s # Testing script Adlm (code 1097100397) 1120s # Testing script Bhks (code 1114139507) 1120s # Testing script Marc (code 1298231907) 1120s # Testing script Newa (code 1315272545) 1120s # Testing script Osge (code 1332963173) 1120s # Testing script Tang (code 1415671399) 1120s # Testing script Gonm (code 1198485101) 1120s # Testing script Nshu (code 1316186229) 1120s # Testing script Soyo (code 1399814511) 1120s # Testing script Zanb (code 1516334690) 1120s # Testing script Dogr (code 1148151666) 1120s # Testing script Gong (code 1198485095) 1120s # Testing script Rohg (code 1383032935) 1120s # Testing script Maka (code 1298230113) 1120s # Testing script Medf (code 1298490470) 1120s # Testing script Sogo (code 1399809903) 1120s # Testing script Sogd (code 1399809892) 1120s # Testing script Elym (code 1164736877) 1120s # Testing script Nand (code 1315008100) 1120s # Testing script Hmnp (code 1215131248) 1120s # Testing script Wcho (code 1466132591) 1120s # Testing script Chrs (code 1130918515) 1120s # Testing script Diak (code 1147756907) 1120s # Testing script Kits (code 1265202291) 1120s # Testing script Yezi (code 1499822697) 1120s # Testing script Cpmn (code 1131441518) 1120s # Testing script Ougr (code 1333094258) 1120s # Testing script Tnsa (code 1416524641) 1120s # Testing script Toto (code 1416590447) 1120s # Testing script Vith (code 1449751656) 1120s # Testing script Kawi (code 1264678761) 1120s # Testing script Nagm (code 1315006317) 1120s # Testing script Todr (code 1416586354) 1120s # Testing script Gara (code 1197568609) 1120s # Testing script Tutg (code 1416983655) 1120s # Testing script Sunu (code 1400204917) 1120s # Testing script Gukh (code 1198877544) 1120s # Testing script Krai (code 1265787241) 1120s # Testing script Onao (code 1332633967) 1120s ok 21 /unicode/iso15924 1120s ok 22 /unicode/lower 1120s ok 23 /unicode/mark 1120s ok 24 /unicode/mirror 1120s ok 25 /unicode/print 1120s ok 26 /unicode/punctuation 1120s ok 27 /unicode/script 1120s ok 28 /unicode/space 1120s ok 29 /unicode/strdown 1120s ok 30 /unicode/strup 1120s ok 31 /unicode/turkish-strupdown 1120s ok 32 /unicode/title 1120s ok 33 /unicode/upper 1120s ok 34 /unicode/validate 1120s ok 35 /unicode/wide 1120s ok 36 /unicode/unichar-to-utf8 1120s ok 37 /unicode/xdigit 1120s ok 38 /unicode/xdigit-value 1120s ok 39 /unicode/zero-width 1120s ok 40 /unicode/normalize 1120s # Testing script 0 1120s # Testing script 1 1120s # Testing script 2 1120s # Testing script 3 1120s # Testing script 4 1120s # Testing script 5 1120s # Testing script 6 1120s # Testing script 7 1120s # Testing script 8 1120s # Testing script 9 1120s # Testing script 10 1120s # Testing script 11 1120s # Testing script 12 1120s # Testing script 13 1120s # Testing script 14 1120s # Testing script 15 1120s # Testing script 16 1120s # Testing script 17 1120s # Testing script 18 1120s # Testing script 19 1120s # Testing script 20 1120s # Testing script 21 1120s # Testing script 22 1120s # Testing script 23 1120s # Testing script 24 1120s # Testing script 25 1120s # Testing script 26 1120s # Testing script 27 1120s # Testing script 28 1120s # Testing script 29 1120s # Testing script 30 1120s # Testing script 31 1120s # Testing script 32 1120s # Testing script 33 1120s # Testing script 34 1120s # Testing script 35 1120s # Testing script 36 1120s # Testing script 37 1120s # Testing script 38 1120s # Testing script 39 1120s # Testing script 40 1120s # Testing script 41 1120s # Testing script 42 1120s # Testing script 43 1120s # Testing script 44 1120s # Testing script 45 1120s # Testing script 46 1120s # Testing script 47 1120s # Testing script 48 1120s # Testing script 49 1120s # Testing script 50 1120s # Testing script 51 1120s # Testing script 52 1120s # Testing script 53 1120s # Testing script 54 1120s # Testing script 55 1120s # Testing script 56 1120s # Testing script 57 1120s # Testing script 58 1120s # Testing script 59 1120s # Testing script 60 1120s # Testing script 61 1120s # Testing script 62 1120s # Testing script 63 1120s # Testing script 64 1120s # Testing script 65 1120s # Testing script 66 1120s # Testing script 67 1120s # Testing script 68 1120s # Testing script 69 1120s # Testing script 70 1120s # Testing script 71 1120s # Testing script 72 1120s # Testing script 73 1120s # Testing script 74 1120s # Testing script 75 1120s # Testing script 76 1120s # Testing script 77 1120s # Testing script 78 1120s # Testing script 79 1120s # Testing script 80 1120s # Testing script 81 1120s # Testing script 82 1120s # Testing script 83 1120s # Testing script 84 1120s # Testing script 85 1120s # Testing script 86 1120s # Testing script 87 1120s # Testing script 88 1120s # Testing script 89 1120s # Testing script 90 1120s # Testing script 91 1120s # Testing script 92 1120s # Testing script 93 1120s # Testing script 94 1120s # Testing script 95 1120s # Testing script 96 1120s # Testing script 97 1120s # Testing script 98 1120s # Testing script 99 1120s # Testing script 100 1120s # Testing script 101 1120s # Testing script 102 1120s # Testing script 103 1120s # Testing script 104 1120s # Testing script 105 1120s # Testing script 106 1120s # Testing script 107 1120s # Testing script 108 1120s # Testing script 109 1120s # Testing script 110 1120s # Testing script 111 1120s # Testing script 112 1120s # Testing script 113 1120s # Testing script 114 1120s # Testing script 115 1120s # Testing script 116 1120s # Testing script 117 1120s # Testing script 118 1120s # Testing script 119 1120s # Testing script 120 1120s # Testing script 121 1120s # Testing script 122 1120s # Testing script 123 1120s # Testing script 124 1120s # Testing script 125 1120s # Testing script 126 1120s # Testing script 127 1120s # Testing script 128 1120s # Testing script 129 1120s # Testing script 130 1120s # Testing script 131 1120s # Testing script 132 1120s # Testing script 133 1120s # Testing script 134 1120s # Testing script 135 1120s # Testing script 136 1120s # Testing script 137 1120s # Testing script 138 1120s # Testing script 139 1120s # Testing script 140 1120s # Testing script 141 1120s # Testing script 142 1120s # Testing script 143 1120s # Testing script 144 1120s # Testing script 145 1120s # Testing script 146 1120s # Testing script 147 1120s # Testing script 148 1120s # Testing script 149 1120s # Testing script 150 1120s # Testing script 151 1120s # Testing script 152 1120s # Testing script 153 1120s # Testing script 154 1120s # Testing script 155 1120s # Testing script 156 1120s # Testing script 157 1120s # Testing script 158 1120s # Testing script 159 1120s # Testing script 160 1120s # Testing script 161 1120s # Testing script 162 1120s # Testing script 163 1120s # Testing script 164 1120s # Testing script 165 1120s # Testing script 166 1120s # Testing script 167 1120s # Testing script 168 1120s # Testing script 169 1120s # Testing script 170 1120s # Testing script 171 1120s # Testing script 172 1120s # Testing script 173 1120s # Testing script 174 1120s # Testing script 175 1120s ok 41 /unicode/unknown-scripts 1120s # End of unicode tests 1120s TAP version 14 1120s # random seed: R02S416f97f18b42f4f606b1b27a7041e65c 1120s 1..1 1120s # Start of credentials tests 1120s # GCredentials:linux-ucred:pid=4980,uid=1000,gid=1000 1120s # GCredentials:linux-ucred:pid=4980,uid=0,gid=1000 1120s ok 1 /credentials/basic 1120s # End of credentials tests 1120s TAP version 14 1120s # random seed: R02Sf43744a6b39a458c87f2022c4404aeb8 1120s 1..2 1120s # Start of uuid tests 1120s ok 1 /uuid/string 1120s ok 2 /uuid/random 1120s # End of uuid tests 1120s TAP version 14 1120s # random seed: R02Sf905d27f732cbf1a30a77608511e5044 1120s 1..4 1120s # Start of socket-listener tests 1120s ok 1 /socket-listener/event-signal 1120s # Start of accept tests 1120s # /socket-listener/accept/multi-simultaneously summary: Test that accepting multiple pending connections on the same GMainContext iteration works 1120s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3739 1120s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1120s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb91269ff44f0 and GSocketClientAsyncConnectData 0xb91269fef980 1120s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1120s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb91269ff6b80 and GSocketClientAsyncConnectData 0xb91269ff69d0 1120s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1120s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb91269ff73a0 and GSocketClientAsyncConnectData 0xb91269ff7120 1120s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1120s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb91269ff7c20 and GSocketClientAsyncConnectData 0xb91269ff79a0 1120s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1120s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb91269ff8440 and GSocketClientAsyncConnectData 0xb91269ff81c0 1120s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1120s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1120s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb91269ffa980 for GSocketClientAsyncConnectData 0xb91269fef980 1120s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1120s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1120s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb91269ffcaf0 for GSocketClientAsyncConnectData 0xb91269ff69d0 1120s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1120s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1120s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb91269ffd2a0 for GSocketClientAsyncConnectData 0xb91269ff7120 1120s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1120s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1120s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb91269ffd940 for GSocketClientAsyncConnectData 0xb91269ff79a0 1120s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1120s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1120s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb91269ffde60 for GSocketClientAsyncConnectData 0xb91269ff81c0 1120s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1120s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1120s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1120s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1120s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1120s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1120s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1120s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1120s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1120s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1120s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1120s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1120s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1120s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1120s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1120s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1120s ok 2 /socket-listener/accept/multi-simultaneously 1120s # End of accept tests 1120s # Start of add-any-inet-port tests 1120s # /socket-listener/add-any-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 1120s # Test 0 1120s # Test 1 1120s # Test 2 1120s # Test 3 1120s # Test 4 1120s # Test 5 1120s ok - glib/unicode.test 1120s # Running test: glib/credentials.test 1120s ok - glib/credentials.test 1120s # Running test: glib/guuid.test 1120s ok - glib/guuid.test 1120s # Running test: glib/socket-listener.test 1120s # Test 6 1120s # Test 7 1120s # Test 8 1120s # Test 9 1120s # Test 10 1120s ok 3 /socket-listener/add-any-inet-port/listen-failures 1120s # End of add-any-inet-port tests 1120s # Start of add-inet-port tests 1120s # /socket-listener/add-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 1120s # Test 0 1120s # Test 1 1120s # Test 2 1120s # Test 3 1120s # Test 4 1120s # Test 5 1120s # Test 6 1120s # Test 7 1120s # Test 8 1120s # Test 9 1120s # Test 10 1120s ok 4 /socket-listener/add-inet-port/listen-failures 1120s # End of add-inet-port tests 1120s # End of socket-listener tests 1120s ok - glib/socket-listener.test 1120s # Running test: glib/genmarshal.py.test 1120s TAP version 13 1120s ok 1 __main__.TestGenmarshal.test_empty_list 1120s # glib-genmarshal: /usr/bin/glib-genmarshal 1120s # tmpdir: /tmp/tmpa1lct1b7 1120s # /tmp/tmpa1lct1b7/tmpkcvrgr1b.list: 1120s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpa1lct1b7/tmpkcvrgr1b.list', '--header', '--quiet'] 1120s # Return code: 0 1120s # Output: 1120s # /* 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. */ 1120s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1120s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1120s # 1120s # #include 1120s # 1120s # G_BEGIN_DECLS 1120s # 1120s # 1120s # G_END_DECLS 1120s # 1120s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1120s # Error: 1120s # 1120s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpa1lct1b7/tmpkcvrgr1b.list', '--body', '--quiet'] 1120s # Return code: 0 1120s # Output: 1120s # /* 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. */ 1120s # #include 1120s # 1120s # #ifdef G_ENABLE_DEBUG 1120s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1120s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1120s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1120s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1120s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1120s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1120s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1120s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1120s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1120s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1120s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1120s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1120s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1120s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1120s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1120s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1120s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1120s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1120s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1120s # #else /* !G_ENABLE_DEBUG */ 1120s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1120s # * Do not access GValues directly in your code. Instead, use the 1120s # * g_value_get_*() functions 1120s # */ 1120s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1120s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1120s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1120s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1120s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1120s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1120s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1120s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1120s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1120s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1120s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1120s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1120s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1120s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1120s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1120s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1120s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1120s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1120s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1120s # #endif /* !G_ENABLE_DEBUG */ 1120s # Error: 1120s ok 2 __main__.TestGenmarshal.test_help 1120s # glib-genmarshal: /usr/bin/glib-genmarshal 1120s # tmpdir: /tmp/tmphdj6yl5l 1120s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1120s # Return code: 0 1120s # Output: 1120s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1120s # [--internal] [--valist-marshallers] [-v] 1120s # [--g-fatal-warnings] [--include-header [HEADER]] 1120s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1120s # [--prototypes] [--header] [--body] [--stdinc | 1120s # --nostdinc] [--quiet | --verbose] 1120s # [FILE ...] 1120s # 1120s # Generate signal marshallers for GObject 1120s # 1120s # positional arguments: 1120s # FILE Files with lists of marshallers to generate, or "-" 1120s # for standard input 1120s # 1120s # options: 1120s # -h, --help show this help message and exit 1120s # --prefix STRING Specify marshaller prefix 1120s # --output FILE Write output into the specified file 1120s # --skip-source Skip source location comments 1120s # --internal Mark generated functions as internal 1120s # --valist-marshallers Generate va_list marshallers 1120s # -v, --version Print version information, and exit 1120s # --g-fatal-warnings Make warnings fatal 1120s # --include-header [HEADER] 1120s # Include the specified header in the body 1120s # --pragma-once Use "pragma once" as the inclusion guard 1120s # -D CPP_DEFINES Pre-processor define 1120s # -U CPP_UNDEFINES Pre-processor undefine 1120s # --prototypes Generate the marshallers prototype in the C code 1120s # --header Generate C headers 1120s # --body Generate C code 1120s # --stdinc Include standard marshallers 1120s # --nostdinc Use standard marshallers 1120s # --quiet Only print warnings and errors 1120s # --verbose Be verbose, and include debugging information 1120s # Error: 1120s ok 3 __main__.TestGenmarshal.test_no_args 1120s # glib-genmarshal: /usr/bin/glib-genmarshal 1120s # tmpdir: /tmp/tmp10ae6kpi 1120s # Running: ['/usr/bin/glib-genmarshal'] 1120s # Return code: 0 1120s # Output: 1120s # 1120s # Error: 1120s ok 4 __main__.TestGenmarshal.test_void_boolean 1120s # glib-genmarshal: /usr/bin/glib-genmarshal 1120s # tmpdir: /tmp/tmp3rdpzc9h 1120s # /tmp/tmp3rdpzc9h/tmpri5n3j09.list: VOID:BOOLEAN 1120s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp3rdpzc9h/tmpri5n3j09.list', '--header', '--quiet'] 1120s # Return code: 0 1120s # Output: 1120s # /* 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. */ 1120s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1120s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1120s # 1120s # #include 1120s # 1120s # G_BEGIN_DECLS 1120s # 1120s # /* VOID:BOOLEAN (/tmp/tmp3rdpzc9h/tmpri5n3j09.list:1) */ 1120s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1120s # 1120s # 1120s # G_END_DECLS 1120s # 1120s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1120s # Error: 1120s # 1120s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp3rdpzc9h/tmpri5n3j09.list', '--body', '--quiet'] 1120s # Return code: 0 1120s # Output: 1120s # /* 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. */ 1120s # #include 1120s # 1120s # #ifdef G_ENABLE_DEBUG 1120s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1120s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1120s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1120s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1120s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1120s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1120s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1120s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1120s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1120s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1120s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1120s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1120s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1120s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1120s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1120s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1120s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1120s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1120s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1120s # #else /* !G_ENABLE_DEBUG */ 1120s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1120s # * Do not access GValues directly in your code. Instead, use the 1120s # * g_value_get_*() functions 1120s # */ 1120s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1120s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1120s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1120s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1120s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1120s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1120s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1120s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1120s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1120s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1120s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1120s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1120s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1120s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1120s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1120s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1120s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1120s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1120s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1120s # #endif /* !G_ENABLE_DEBUG */ 1120s # Error: 1120s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1120s # glib-genmarshal: /usr/bin/glib-genmarshal 1120s # tmpdir: /tmp/tmpi4na1sgf 1120s # /tmp/tmpi4na1sgf/tmpmqdr_1x_.list: VOID:BOOLEAN,INT64 1120s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpi4na1sgf/tmpmqdr_1x_.list', '--header', '--quiet'] 1120s # Return code: 0 1120s # Output: 1120s # /* 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. */ 1120s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1120s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1120s # 1120s # #include 1120s # 1120s # G_BEGIN_DECLS 1120s # 1120s # /* VOID:BOOLEAN,INT64 (/tmp/tmpi4na1sgf/tmpmqdr_1x_.list:1) */ 1120s # extern 1120s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1120s # GValue *return_value, 1120s # guint n_param_values, 1120s # const GValue *param_values, 1120s # gpointer invocation_hint, 1120s # gpointer marshal_data); 1120s # 1120s # 1120s # G_END_DECLS 1120s # 1120s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1120s # Error: 1120s # 1120s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpi4na1sgf/tmpmqdr_1x_.list', '--body', '--quiet'] 1120s # Return code: 0 1120s # Output: 1120s # /* 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. */ 1120s # #include 1120s # 1120s # #ifdef G_ENABLE_DEBUG 1120s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1120s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1120s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1120s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1120s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1120s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1120s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1120s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1120s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1120s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1120s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1120s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1120s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1120s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1120s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1120s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1120s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1120s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1120s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1120s # #else /* !G_ENABLE_DEBUG */ 1120s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1120s # * Do not access GValues directly in your code. Instead, use the 1120s # * g_value_get_*() functions 1120s # */ 1120s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1120s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1120s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1120s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1120s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1120s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1120s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1120s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1120s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1120s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1120s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1120s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1120s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1120s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1120s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1120s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1120s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1120s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1120s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1120s # #endif /* !G_ENABLE_DEBUG */ 1120s # 1120s # /* VOID:BOOLEAN,INT64 (/tmp/tmpi4na1sgf/tmpmqdr_1x_.list:1) */ 1120s # void 1120s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1120s # GValue *return_value G_GNUC_UNUSED, 1120s # guint n_param_values, 1120s # const GValue *param_values, 1120s # gpointer invocation_hint G_GNUC_UNUSED, 1120s # gpointer marshal_data) 1120s # { 1120s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1120s # gboolean arg1, 1120s # gint64 arg2, 1120s # gpointer data2); 1120s # GCClosure *cc = (GCClosure *) closure; 1120s # gpointer data1, data2; 1120s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1120s # 1120s # g_return_if_fail (n_param_values == 3); 1120s # 1120s # if (G_CCLOSURE_SWAP_DATA (closure)) 1120s # { 1120s # data1 = closure->data; 1120s # data2 = g_value_peek_pointer (param_values + 0); 1120s # } 1120s # else 1120s # { 1120s # data1 = g_value_peek_pointer (param_values + 0); 1120s # data2 = closure->data; 1120s # } 1120s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1120s # 1120s # callback (data1, 1120s # g_marshal_value_peek_boolean (param_values + 1), 1120s # g_marshal_value_peek_int64 (param_values + 2), 1120s # data2); 1120s # } 1120s # Error: 1121s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1121s # glib-genmarshal: /usr/bin/glib-genmarshal 1121s # tmpdir: /tmp/tmpnhgij9fa 1121s # /tmp/tmpnhgij9fa/tmpjomf7sow.list: VOID:PARAM 1121s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpnhgij9fa/tmpjomf7sow.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1121s # Return code: 0 1121s # Output: 1121s # /* 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. */ 1121s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1121s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1121s # 1121s # G_BEGIN_DECLS 1121s # 1121s # /* VOID:PARAM (/tmp/tmpnhgij9fa/tmpjomf7sow.list:1) */ 1121s # extern 1121s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1121s # GValue *return_value, 1121s # guint n_param_values, 1121s # const GValue *param_values, 1121s # gpointer invocation_hint, 1121s # gpointer marshal_data); 1121s # extern 1121s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1121s # GValue *return_value, 1121s # gpointer instance, 1121s # va_list args, 1121s # gpointer marshal_data, 1121s # int n_params, 1121s # GType *param_types); 1121s # 1121s # 1121s # G_END_DECLS 1121s # 1121s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1121s # Error: 1121s # 1121s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpnhgij9fa/tmpjomf7sow.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1121s # Return code: 0 1121s # Output: 1121s # /* 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. */ 1121s # #ifdef G_ENABLE_DEBUG 1121s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1121s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1121s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1121s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1121s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1121s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1121s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1121s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1121s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1121s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1121s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1121s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1121s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1121s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1121s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1121s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1121s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1121s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1121s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1121s # #else /* !G_ENABLE_DEBUG */ 1121s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1121s # * Do not access GValues directly in your code. Instead, use the 1121s # * g_value_get_*() functions 1121s # */ 1121s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1121s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1121s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1121s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1121s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1121s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1121s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1121s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1121s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1121s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1121s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1121s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1121s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1121s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1121s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1121s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1121s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1121s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1121s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1121s # #endif /* !G_ENABLE_DEBUG */ 1121s # 1121s # /* VOID:PARAM (/tmp/tmpnhgij9fa/tmpjomf7sow.list:1) */ 1121s # void 1121s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1121s # GValue *return_value G_GNUC_UNUSED, 1121s # guint n_param_values, 1121s # const GValue *param_values, 1121s # gpointer invocation_hint G_GNUC_UNUSED, 1121s # gpointer marshal_data) 1121s # { 1121s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1121s # gpointer arg1, 1121s # gpointer data2); 1121s # GCClosure *cc = (GCClosure *) closure; 1121s # gpointer data1, data2; 1121s # GMarshalFunc_VOID__PARAM callback; 1121s # 1121s # g_return_if_fail (n_param_values == 2); 1121s # 1121s # if (G_CCLOSURE_SWAP_DATA (closure)) 1121s # { 1121s # data1 = closure->data; 1121s # data2 = g_value_peek_pointer (param_values + 0); 1121s # } 1121s # else 1121s # { 1121s # data1 = g_value_peek_pointer (param_values + 0); 1121s # data2 = closure->data; 1121s # } 1121s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1121s # 1121s # callback (data1, 1121s # g_marshal_value_peek_param (param_values + 1), 1121s # data2); 1121s # } 1121s # 1121s # void 1121s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1121s # GValue *return_value G_GNUC_UNUSED, 1121s # gpointer instance, 1121s # va_list args, 1121s # gpointer marshal_data, 1121s # int n_params, 1121s # GType *param_types) 1121s # { 1121s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1121s # gpointer arg1, 1121s # gpointer data2); 1121s # GCClosure *cc = (GCClosure *) closure; 1121s # gpointer data1, data2; 1121s # GMarshalFunc_VOID__PARAM callback; 1121s # gpointer arg0; 1121s # va_list args_copy; 1121s # 1121s # va_copy (args_copy, args); 1121s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1121s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1121s # arg0 = g_param_spec_ref (arg0); 1121s # va_end (args_copy); 1121s # 1121s # 1121s # if (G_CCLOSURE_SWAP_DATA (closure)) 1121s # { 1121s # data1 = closure->data; 1121s # data2 = instance; 1121s # } 1121s # else 1121s # { 1121s # data1 = instance; 1121s # data2 = closure->data; 1121s # } 1121s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1121s # 1121s # callback (data1, 1121s # arg0, 1121s # data2); 1121s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1121s # g_param_spec_unref (arg0); 1121s # } 1121s # Error: 1121s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1121s # glib-genmarshal: /usr/bin/glib-genmarshal 1121s # tmpdir: /tmp/tmp2g6chm4_ 1121s # /tmp/tmp2g6chm4_/tmpk0fmz1r7.list: VOID:STRING 1121s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2g6chm4_/tmpk0fmz1r7.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1121s # Return code: 0 1121s # Output: 1121s # /* 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. */ 1121s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1121s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1121s # 1121s # G_BEGIN_DECLS 1121s # 1121s # /* VOID:STRING (/tmp/tmp2g6chm4_/tmpk0fmz1r7.list:1) */ 1121s # extern 1121s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1121s # GValue *return_value, 1121s # guint n_param_values, 1121s # const GValue *param_values, 1121s # gpointer invocation_hint, 1121s # gpointer marshal_data); 1121s # extern 1121s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1121s # GValue *return_value, 1121s # gpointer instance, 1121s # va_list args, 1121s # gpointer marshal_data, 1121s # int n_params, 1121s # GType *param_types); 1121s # 1121s # 1121s # G_END_DECLS 1121s # 1121s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1121s # Error: 1121s # 1121s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2g6chm4_/tmpk0fmz1r7.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1121s # Return code: 0 1121s # Output: 1121s # /* 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. */ 1121s # #ifdef G_ENABLE_DEBUG 1121s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1121s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1121s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1121s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1121s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1121s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1121s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1121s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1121s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1121s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1121s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1121s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1121s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1121s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1121s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1121s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1121s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1121s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1121s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1121s # #else /* !G_ENABLE_DEBUG */ 1121s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1121s # * Do not access GValues directly in your code. Instead, use the 1121s # * g_value_get_*() functions 1121s # */ 1121s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1121s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1121s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1121s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1121s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1121s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1121s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1121s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1121s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1121s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1121s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1121s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1121s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1121s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1121s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1121s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1121s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1121s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1121s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1121s # #endif /* !G_ENABLE_DEBUG */ 1121s # 1121s # /* VOID:STRING (/tmp/tmp2g6chm4_/tmpk0fmz1r7.list:1) */ 1121s # void 1121s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1121s # GValue *return_value G_GNUC_UNUSED, 1121s # guint n_param_values, 1121s # const GValue *param_values, 1121s # gpointer invocation_hint G_GNUC_UNUSED, 1121s # gpointer marshal_data) 1121s # { 1121s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1121s # gpointer arg1, 1121s # gpointer data2); 1121s # GCClosure *cc = (GCClosure *) closure; 1121s # gpointer data1, data2; 1121s # GMarshalFunc_VOID__STRING callback; 1121s # 1121s # g_return_if_fail (n_param_values == 2); 1121s # 1121s # if (G_CCLOSURE_SWAP_DATA (closure)) 1121s # { 1121s # data1 = closure->data; 1121s # data2 = g_value_peek_pointer (param_values + 0); 1121s # } 1121s # else 1121s # { 1121s # data1 = g_value_peek_pointer (param_values + 0); 1121s # data2 = closure->data; 1121s # } 1121s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1121s # 1121s # callback (data1, 1121s # g_marshal_value_peek_string (param_values + 1), 1121s # data2); 1121s # } 1121s # 1121s # void 1121s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1121s # GValue *return_value G_GNUC_UNUSED, 1121s # gpointer instance, 1121s # va_list args, 1121s # gpointer marshal_data, 1121s # int n_params, 1121s # GType *param_types) 1121s # { 1121s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1121s # gpointer arg1, 1121s # gpointer data2); 1121s # GCClosure *cc = (GCClosure *) closure; 1121s # gpointer data1, data2; 1121s # GMarshalFunc_VOID__STRING callback; 1121s # gpointer arg0; 1121s # va_list args_copy; 1121s # 1121s # va_copy (args_copy, args); 1121s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1121s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1121s # arg0 = g_strdup (arg0); 1121s # va_end (args_copy); 1121s # 1121s # 1121s # if (G_CCLOSURE_SWAP_DATA (closure)) 1121s # { 1121s # data1 = closure->data; 1121s # data2 = instance; 1121s # } 1121s # else 1121s # { 1121s # data1 = instance; 1121s # data2 = closure->data; 1121s # } 1121s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1121s # 1121s # callback (data1, 1121s # arg0, 1121s # data2); 1121s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1121s # g_free (arg0); 1121s # } 1121s # Error: 1121s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1121s # glib-genmarshal: /usr/bin/glib-genmarshal 1121s # tmpdir: /tmp/tmpqsk8ob6a 1121s # /tmp/tmpqsk8ob6a/tmpl1z57szt.list: VOID:VARIANT 1121s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpqsk8ob6a/tmpl1z57szt.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1121s # Return code: 0 1121s # Output: 1121s # /* 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. */ 1121s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1121s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1121s # 1121s # G_BEGIN_DECLS 1121s # 1121s # /* VOID:VARIANT (/tmp/tmpqsk8ob6a/tmpl1z57szt.list:1) */ 1121s # extern 1121s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1121s # GValue *return_value, 1121s # guint n_param_values, 1121s # const GValue *param_values, 1121s # gpointer invocation_hint, 1121s # gpointer marshal_data); 1121s # extern 1121s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1121s # GValue *return_value, 1121s # gpointer instance, 1121s # va_list args, 1121s # gpointer marshal_data, 1121s # int n_params, 1121s # GType *param_types); 1121s # 1121s # 1121s # G_END_DECLS 1121s # 1121s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1121s # Error: 1121s # 1121s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpqsk8ob6a/tmpl1z57szt.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1121s # Return code: 0 1121s # Output: 1121s # /* 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. */ 1121s # #ifdef G_ENABLE_DEBUG 1121s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1121s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1121s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1121s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1121s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1121s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1121s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1121s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1121s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1121s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1121s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1121s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1121s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1121s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1121s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1121s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1121s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1121s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1121s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1121s # #else /* !G_ENABLE_DEBUG */ 1121s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1121s # * Do not access GValues directly in your code. Instead, use the 1121s # * g_value_get_*() functions 1121s # */ 1121s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1121s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1121s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1121s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1121s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1121s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1121s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1121s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1121s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1121s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1121s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1121s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1121s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1121s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1121s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1121s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1121s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1121s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1121s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1121s # #endif /* !G_ENABLE_DEBUG */ 1121s # 1121s # /* VOID:VARIANT (/tmp/tmpqsk8ob6a/tmpl1z57szt.list:1) */ 1121s # void 1121s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1121s # GValue *return_value G_GNUC_UNUSED, 1121s # guint n_param_values, 1121s # const GValue *param_values, 1121s # gpointer invocation_hint G_GNUC_UNUSED, 1121s # gpointer marshal_data) 1121s # { 1121s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1121s # gpointer arg1, 1121s # gpointer data2); 1121s # GCClosure *cc = (GCClosure *) closure; 1121s # gpointer data1, data2; 1121s # GMarshalFunc_VOID__VARIANT callback; 1121s # 1121s # g_return_if_fail (n_param_values == 2); 1121s # 1121s # if (G_CCLOSURE_SWAP_DATA (closure)) 1121s # { 1121s # data1 = closure->data; 1121s # data2 = g_value_peek_pointer (param_values + 0); 1121s # } 1121s # else 1121s # { 1121s # data1 = g_value_peek_pointer (param_values + 0); 1121s # data2 = closure->data; 1121s # } 1121s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1121s # 1121s # callback (data1, 1121s # g_marshal_value_peek_variant (param_values + 1), 1121s # data2); 1121s # } 1121s # 1121s # void 1121s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1121s # GValue *return_value G_GNUC_UNUSED, 1121s # gpointer instance, 1121s # va_list args, 1121s # gpointer marshal_data, 1121s # int n_params, 1121s # GType *param_types) 1121s # { 1121s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1121s # gpointer arg1, 1121s # gpointer data2); 1121s # GCClosure *cc = (GCClosure *) closure; 1121s # gpointer data1, data2; 1121s # GMarshalFunc_VOID__VARIANT callback; 1121s # gpointer arg0; 1121s # va_list args_copy; 1121s # 1121s # va_copy (args_copy, args); 1121s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1121s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1121s # arg0 = g_variant_ref_sink (arg0); 1121s # va_end (args_copy); 1121s # 1121s # 1121s # if (G_CCLOSURE_SWAP_DATA (closure)) 1121s # { 1121s # data1 = closure->data; 1121s # data2 = instance; 1121s # } 1121s # else 1121s # { 1121s # data1 = instance; 1121s # data2 = closure->data; 1121s # } 1121s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1121s # 1121s # callback (data1, 1121s # arg0, 1121s # data2); 1121s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1121s # g_variant_unref (arg0); 1121s # } 1121s # Error: 1121s 1..8 1121s ok - glib/genmarshal.py.test 1121s # Running test: glib/atomic-c-99.test 1121s TAP version 14 1121s # random seed: R02Sd669a739acaeebb3dafa9ebd1be5436c 1121s 1..2 1121s # Start of atomic tests 1121s ok 1 /atomic/types 1121s ok 2 /atomic/threaded 1121s # End of atomic tests 1121s ok - glib/atomic-c-99.test 1121s # Running test: glib/option-argv0.test 1121s TAP version 14 1121s # random seed: R02S6090e872637f07e352b3e0aea00c4365 1121s 1..1 1121s # Start of option tests 1121s ok 1 /option/argv0 1121s # End of option tests 1121s ok - glib/option-argv0.test 1121s # Running test: glib/memory-monitor-dbus.test 1121s TAP version 13 1121s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1121s 1..1 1121s ok - glib/memory-monitor-dbus.test 1121s # Running test: glib/overflow-fallback.test 1121s TAP version 14 1121s # random seed: R02S36581af0f2ada8c127ffcc6692eabf8e 1121s 1..6 1121s # Start of glib tests 1121s # Start of checked-math tests 1121s ok 1 /glib/checked-math/guint-add 1121s ok - glib/overflow-fallback.test 1121s ok 2 /glib/checked-math/guint-mul 1121s ok 3 /glib/checked-math/guint64-add 1121s ok 4 /glib/checked-math/guint64-mul 1121s ok 5 /glib/checked-math/gsize-add 1121s ok 6 /glib/checked-math/gsize-mul 1121s # End of checked-math tests 1121s # End of glib tests 1121s # Running test: glib/properties-refcount4.test 1121s TAP version 14 1121s # random seed: R02Sb33e773792b61b77b15dd78674b7b45c 1121s 1..1 1121s # Start of gobject tests 1121s # Start of refcount tests 1121s ok 1 /gobject/refcount/properties-4 1121s # End of refcount tests 1121s # End of gobject tests 1121s ok - glib/properties-refcount4.test 1121s # Running test: glib/g-icon.test 1121s TAP version 14 1121s # random seed: R02Sc9ca3cfe2506ecdf5939b96f63cc38a5 1121s 1..7 1121s # Start of icons tests 1121s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1121s ok 1 /icons/to-string 1121s ok 2 /icons/serialize 1121s ok 3 /icons/themed 1121s ok 4 /icons/emblemed 1121s ok 5 /icons/file 1121s ok 6 /icons/bytes 1121s # Start of emblem tests 1121s ok 7 /icons/emblem/parsing 1121s # End of emblem tests 1121s # End of icons tests 1121s ok - glib/g-icon.test 1121s # Running test: glib/utils-c-99.test 1121s TAP version 14 1121s # random seed: R02S8dac8b919c1333e7ceb85901e3f0d5c6 1121s 1..41 1121s # Start of utils tests 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/language-names/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/language-names/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/language-names/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/language-names/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/language-names/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/language-names/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/language-names/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/language-names/.dirs/runtime 1121s ok 1 /utils/language-names 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/locale-variants/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/locale-variants/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/locale-variants/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/locale-variants/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/locale-variants/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/locale-variants/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/locale-variants/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/locale-variants/.dirs/runtime 1121s # Testing locale ‘en’ 1121s # Testing locale ‘sr@latin’ 1121s # Testing locale ‘fr_BE’ 1121s # Testing locale ‘sr_SR@latin’ 1121s # Testing locale ‘sr_SR@latin.UTF-8’ 1121s # Testing locale ‘sr@latin_invalid’ 1121s # Testing locale ‘sr.UTF-8@latin’ 1121s # Testing locale ‘sr.UTF-8_latin’ 1121s # Testing locale ‘sr.UTF-8@latin_invalid’ 1121s ok 2 /utils/locale-variants 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/version/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/version/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/version/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/version/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/version/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/version/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/version/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/version/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/version/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/version/.dirs/runtime 1121s ok 3 /utils/version 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/appname/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/appname/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/appname/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/appname/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/appname/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/appname/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/appname/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/appname/.dirs/runtime 1121s ok 4 /utils/appname 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/prgname-thread-safety/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/prgname-thread-safety/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/prgname-thread-safety/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/prgname-thread-safety/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/prgname-thread-safety/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/prgname-thread-safety/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/prgname-thread-safety/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/prgname-thread-safety/.dirs/runtime 1121s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1121s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1121s ok 5 /utils/prgname-thread-safety 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/tmpdir/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/tmpdir/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/tmpdir/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/tmpdir/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/tmpdir/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/tmpdir/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/tmpdir/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/tmpdir/.dirs/runtime 1121s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1121s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1121s Unable to clean up temporary directory /tmp/test_utils-c-99_H7F9J3/utils/tmpdir: No such file or directory 1121s ok 6 /utils/tmpdir 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/basic_bits/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/basic_bits/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/basic_bits/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/basic_bits/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/basic_bits/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/basic_bits/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/basic_bits/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/basic_bits/.dirs/runtime 1121s ok 7 /utils/basic_bits 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/bits/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/bits/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/bits/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/bits/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/bits/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/bits/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/bits/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/bits/.dirs/runtime 1121s ok 8 /utils/bits 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/swap/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/swap/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/swap/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/swap/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/swap/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/swap/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/swap/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/swap/.dirs/runtime 1121s ok 9 /utils/swap 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/find-program/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/find-program/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/find-program/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/find-program/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/find-program/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/find-program/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/find-program/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/find-program/.dirs/runtime 1121s ok 10 /utils/find-program 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/find-program-for-path/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/find-program-for-path/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/find-program-for-path/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/find-program-for-path/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/find-program-for-path/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/find-program-for-path/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/find-program-for-path/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/find-program-for-path/.dirs/runtime 1121s ok 11 /utils/find-program-for-path 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/debug/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/debug/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/debug/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/debug/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/debug/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/debug/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/debug/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/debug/.dirs/runtime 1121s Unable to clean up temporary directory /tmp/test_utils-c-99_H7F9J3/utils/debug: No such file or directory 1121s ok 12 /utils/debug 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/codeset/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/codeset/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/codeset/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/codeset/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/codeset/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/codeset/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/codeset/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/codeset/.dirs/runtime 1121s ok 13 /utils/codeset 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/codeset2/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/codeset2/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/codeset2/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/codeset2/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/codeset2/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/codeset2/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/codeset2/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/codeset2/.dirs/runtime 1121s Unable to clean up temporary directory /tmp/test_utils-c-99_H7F9J3/utils/codeset2: No such file or directory 1121s ok 14 /utils/codeset2 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/console-charset/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/console-charset/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/console-charset/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/console-charset/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/console-charset/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/console-charset/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/console-charset/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/console-charset/.dirs/runtime 1121s ok 15 /utils/console-charset 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/gettext/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/gettext/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/gettext/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/gettext/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/gettext/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/gettext/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/gettext/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/gettext/.dirs/runtime 1121s ok 16 /utils/gettext 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/username/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/username/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/username/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/username/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/username/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/username/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/username/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/username/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/username/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/username/.dirs/runtime 1121s ok 17 /utils/username 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/realname/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/realname/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/realname/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/realname/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/realname/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/realname/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/realname/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/realname/.dirs/runtime 1121s ok 18 /utils/realname 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/hostname/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/hostname/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/hostname/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/hostname/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/hostname/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/hostname/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/hostname/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/hostname/.dirs/runtime 1121s ok 19 /utils/hostname 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/os-info/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/os-info/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/os-info/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/os-info/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/os-info/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/os-info/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/os-info/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/os-info/.dirs/runtime 1121s # NAME: Ubuntu 1121s ok 20 /utils/os-info 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/.dirs/runtime 1121s ok 21 /utils/clear-pointer 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer-cast/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer-cast/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/clear-pointer-cast/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer-cast/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/clear-pointer-cast/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer-cast/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer-cast/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer-cast/.dirs/runtime 1121s ok 22 /utils/clear-pointer-cast 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/take-pointer/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/take-pointer/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/take-pointer/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/take-pointer/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/take-pointer/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/take-pointer/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/take-pointer/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/take-pointer/.dirs/runtime 1121s ok 23 /utils/take-pointer 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-source/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-source/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/clear-source/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-source/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/clear-source/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-source/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-source/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/clear-source/.dirs/runtime 1121s ok 24 /utils/clear-source 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/misc-mem/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/misc-mem/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/misc-mem/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/misc-mem/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/misc-mem/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/misc-mem/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/misc-mem/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/misc-mem/.dirs/runtime 1121s ok 25 /utils/misc-mem 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/.dirs/runtime 1121s # /utils/aligned-mem summary: Aligned memory allocator 1121s # Alignment must not be zero 1121s # Alignment must be a power of two 1121s # Alignment must be a multiple of sizeof(void*) 1121s ok 26 /utils/aligned-mem 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/free-sized/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/free-sized/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/free-sized/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/free-sized/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/free-sized/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/free-sized/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/free-sized/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/free-sized/.dirs/runtime 1121s # /utils/free-sized summary: Check that g_free_sized() works 1121s ok 27 /utils/free-sized 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/nullify/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/nullify/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/nullify/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/nullify/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/nullify/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/nullify/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/nullify/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/nullify/.dirs/runtime 1121s ok 28 /utils/nullify 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/atexit/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/atexit/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/atexit/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/atexit/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/atexit/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/atexit/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/atexit/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/atexit/.dirs/runtime 1121s Unable to clean up temporary directory /tmp/test_utils-c-99_H7F9J3/utils/atexit: No such file or directory 1121s ok 29 /utils/atexit 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/check-setuid/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/check-setuid/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/check-setuid/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/check-setuid/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/check-setuid/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/check-setuid/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/check-setuid/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/check-setuid/.dirs/runtime 1121s ok 30 /utils/check-setuid 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/int-limits/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/int-limits/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/int-limits/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/int-limits/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/int-limits/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/int-limits/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/int-limits/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/int-limits/.dirs/runtime 1121s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1121s ok 31 /utils/int-limits 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-list/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-list/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/clear-list/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-list/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/clear-list/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-list/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-list/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/clear-list/.dirs/runtime 1121s ok 32 /utils/clear-list 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-slist/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-slist/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/clear-slist/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-slist/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/clear-slist/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-slist/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-slist/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/clear-slist/.dirs/runtime 1121s ok 33 /utils/clear-slist 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/steal-handle-id/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/steal-handle-id/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/steal-handle-id/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/steal-handle-id/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/steal-handle-id/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/steal-handle-id/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/steal-handle-id/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/steal-handle-id/.dirs/runtime 1121s ok 34 /utils/steal-handle-id 1121s # Start of user-special-dirs tests 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/desktop/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/desktop/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/desktop/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/desktop/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/desktop/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/desktop/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/desktop/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/desktop/.dirs/runtime 1121s ok 35 /utils/user-special-dirs/desktop 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/load-unlocked/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/load-unlocked/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/load-unlocked/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/load-unlocked/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/load-unlocked/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1121s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1121s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1121s Unable to clean up temporary directory /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/load-unlocked: No such file or directory 1121s ok 36 /utils/user-special-dirs/load-unlocked 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/reload-leaks/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/reload-leaks/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/reload-leaks/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/reload-leaks/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/reload-leaks/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1121s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1121s Unable to clean up temporary directory /tmp/test_utils-c-99_H7F9J3/utils/user-special-dirs/reload-leaks: No such file or directory 1121s ok 37 /utils/user-special-dirs/reload-leaks 1121s # End of user-special-dirs tests 1121s # Start of clear-pointer tests 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/side-effects/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/side-effects/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/side-effects/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/side-effects/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/side-effects/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/side-effects/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/side-effects/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/clear-pointer/side-effects/.dirs/runtime 1121s ok 38 /utils/clear-pointer/side-effects 1121s # End of clear-pointer tests 1121s # Start of aligned-mem tests 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/alignment/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/alignment/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/alignment/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/alignment/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/alignment/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/alignment/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/alignment/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/alignment/.dirs/runtime 1121s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1121s ok 39 /utils/aligned-mem/alignment 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/zeroed/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/zeroed/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/zeroed/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/zeroed/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/zeroed/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/zeroed/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/zeroed/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/zeroed/.dirs/runtime 1121s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1121s ok 40 /utils/aligned-mem/zeroed 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/free-sized/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/free-sized/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/free-sized/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/free-sized/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/free-sized/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/free-sized/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/free-sized/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H7F9J3/utils/aligned-mem/free-sized/.dirs/runtime 1121s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1121s ok 41 /utils/aligned-mem/free-sized 1121s # Start of subprocess tests 1121s # End of subprocess tests 1121s # End of aligned-mem tests 1121s # End of utils tests 1121s ok - glib/utils-c-99.test 1121s # Running test: glib/gio-tool.py.test 1121s TAP version 13 1121s ok 1 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_folder 1121s # gio: /usr/bin/gio 1121s # tmpdir: /tmp/tmp0apql62v 1121s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmp0apql62v/folder/desktop.entry'] 1121s # Working Directory: /tmp/tmp0apql62v/folder 1121s # Return code: 0 1121s # Output: 1121s # /tmp/tmp0apql62v/folder/desktop.entry 1121s # Error: 1121s ok 2 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_parent 1121s # gio: /usr/bin/gio 1121s # tmpdir: /tmp/tmp0ztufyrv 1121s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmp0ztufyrv/folder/desktop.entry'] 1121s # Working Directory: /tmp/tmp0ztufyrv 1121s # Return code: 0 1121s # Output: 1121s # /tmp/tmp0ztufyrv/folder/desktop.entry 1121s # Error: 1121s ok 3 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_sibling 1121s # gio: /usr/bin/gio 1121s # tmpdir: /tmp/tmp8ml2r2h8 1121s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmp8ml2r2h8/folder/desktop.entry'] 1121s # Working Directory: /tmp/tmp8ml2r2h8/sibling 1121s # Return code: 0 1121s # Output: 1121s # /tmp/tmp8ml2r2h8/folder/desktop.entry 1121s # Error: 1121s ok 4 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_folder 1121s # gio: /usr/bin/gio 1121s # tmpdir: /tmp/tmpuo_0158c 1121s # Running: ['/usr/bin/gio', 'launch', 'desktop.entry'] 1121s # Working Directory: /tmp/tmpuo_0158c/folder 1121s # Return code: 0 1121s # Output: 1121s # /tmp/tmpuo_0158c/folder/desktop.entry 1121s # Error: 1121s ok 5 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_parent 1121s # gio: /usr/bin/gio 1121s # tmpdir: /tmp/tmpm_8khpe0 1121s # Running: ['/usr/bin/gio', 'launch', 'folder/desktop.entry'] 1121s # Working Directory: /tmp/tmpm_8khpe0 1121s # Return code: 0 1121s # Output: 1121s # /tmp/tmpm_8khpe0/folder/desktop.entry 1121s # Error: 1121s ok 6 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_sibling 1121s # gio: /usr/bin/gio 1121s # tmpdir: /tmp/tmppkimi16w 1121s # Running: ['/usr/bin/gio', 'launch', '../folder/desktop.entry'] 1121s # Working Directory: /tmp/tmppkimi16w/sibling 1121s # Return code: 0 1121s # Output: 1121s # /tmp/tmppkimi16w/folder/desktop.entry 1121s # Error: 1121s ok 7 __main__.TestGioTool.test_help 1121s # gio: /usr/bin/gio 1121s # tmpdir: /tmp/tmpfxmt_dr_ 1121s # Running: ['/usr/bin/gio', '--help'] 1121s # Return code: 0 1121s # Output: 1121s # Usage: 1121s # gio COMMAND [ARGS…] 1121s # 1121s # Commands: 1121s # help Print help 1121s # version Print version 1121s # cat Concatenate files to standard output 1121s # copy Copy one or more files 1121s # info Show information about locations 1121s # launch Launch an application from a desktop file 1121s # list List the contents of locations 1121s # mime Get or set the handler for a mimetype 1121s # mkdir Create directories 1121s # monitor Monitor files and directories for changes 1121s # mount Mount or unmount the locations 1121s # move Move one or more files 1121s # open Open files with the default application 1121s # rename Rename a file 1121s # remove Delete one or more files 1121s # save Read from standard input and save 1121s # set Set a file attribute 1121s # trash Move files or directories to the trash 1121s # tree Lists the contents of locations in a tree 1121s # 1121s # Use “gio help COMMAND” to get detailed help. 1121s # Error: 1121s # 1121s # Running: ['/usr/bin/gio', 'help'] 1121s # Return code: 0 1121s # Output: 1121s # Usage: 1121s # gio COMMAND [ARGS…] 1121s # 1121s # Commands: 1121s # help Print help 1121s # version Print version 1121s # cat Concatenate files to standard output 1121s # copy Copy one or more files 1121s # info Show information about locations 1121s # launch Launch an application from a desktop file 1121s # list List the contents of locations 1121s # mime Get or set the handler for a mimetype 1121s # mkdir Create directories 1121s # monitor Monitor files and directories for changes 1121s # mount Mount or unmount the locations 1121s # move Move one or more files 1121s # open Open files with the default application 1121s # rename Rename a file 1121s # remove Delete one or more files 1121s # save Read from standard input and save 1121s # set Set a file attribute 1121s # trash Move files or directories to the trash 1121s # tree Lists the contents of locations in a tree 1121s # 1121s # Use “gio help COMMAND” to get detailed help. 1121s # Error: 1121s ok 8 __main__.TestGioTool.test_info_non_default_attributes 1121s # gio: /usr/bin/gio 1121s # tmpdir: /tmp/tmptb2nay4e 1121s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmptb2nay4e/tmpj44tpzjs'] 1121s # Return code: 0 1121s # Output: 1121s # uri: file:///tmp/tmptb2nay4e/tmpj44tpzjs 1121s # local path: /tmp/tmptb2nay4e/tmpj44tpzjs 1121s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1121s # attributes: 1121s # standard::content-type: application/x-zerosize 1121s # Error: 1121s ok 9 __main__.TestGioTool.test_no_args 1121s # gio: /usr/bin/gio 1121s # tmpdir: /tmp/tmpvwmzvnt8 1121s # Running: ['/usr/bin/gio'] 1121s # Return code: 1 1121s # Output: 1121s # 1121s # Error: 1121s # Usage: 1121s # gio COMMAND [ARGS…] 1121s # 1121s # Commands: 1121s # help Print help 1121s # version Print version 1121s # cat Concatenate files to standard output 1121s # copy Copy one or more files 1121s # info Show information about locations 1121s # launch Launch an application from a desktop file 1121s # list List the contents of locations 1121s # mime Get or set the handler for a mimetype 1121s # mkdir Create directories 1121s # monitor Monitor files and directories for changes 1121s # mount Mount or unmount the locations 1121s # move Move one or more files 1121s # open Open files with the default application 1121s # rename Rename a file 1121s # remove Delete one or more files 1121s # save Read from standard input and save 1121s # set Set a file attribute 1121s # trash Move files or directories to the trash 1121s # tree Lists the contents of locations in a tree 1121s # 1121s # Use “gio help COMMAND” to get detailed help. 1121s 1..9 1121s ok - glib/gio-tool.py.test 1121s # Running test: glib/sleepy-stream.test 1121s TAP version 14 1121s # random seed: R02Sd603b1de8f48d8a9999a247fd79a0aa0 1121s 1..2 1121s # Start of filter-stream tests 1121s ok 1 /filter-stream/input 1121s ok 2 /filter-stream/async 1121s # End of filter-stream tests 1121s ok - glib/sleepy-stream.test 1121s # Running test: glib/strvbuilder.test 1121s TAP version 14 1121s # random seed: R02S3962186dd60a24bfab143c6c6f4738f0 1121s 1..7 1121s # Start of strvbuilder tests 1121s ok 1 /strvbuilder/empty 1121s ok 2 /strvbuilder/add 1121s ok 3 /strvbuilder/addv 1121s ok 4 /strvbuilder/add_many 1121s ok 5 /strvbuilder/take 1121s ok 6 /strvbuilder/ref 1121s ok - glib/strvbuilder.test 1121s ok 7 /strvbuilder/unref_to_strv 1121s # End of strvbuilder tests 1121s # Running test: glib/utils-isolated.test 1121s TAP version 14 1121s # random seed: R02S0372bea313bfe5e97824eae4175bf6fd 1121s 1..11 1121s # Start of utils-isolated tests 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/tmp-dir/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/tmp-dir/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_H49HK3/utils-isolated/tmp-dir/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/tmp-dir/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_H49HK3/utils-isolated/tmp-dir/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/tmp-dir/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/tmp-dir/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_H49HK3/utils-isolated/tmp-dir/.dirs/runtime 1121s ok 1 /utils-isolated/tmp-dir 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/home-dir/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/home-dir/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_H49HK3/utils-isolated/home-dir/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/home-dir/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_H49HK3/utils-isolated/home-dir/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/home-dir/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/home-dir/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_H49HK3/utils-isolated/home-dir/.dirs/runtime 1121s ok 2 /utils-isolated/home-dir 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-cache-dir/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-cache-dir/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_H49HK3/utils-isolated/user-cache-dir/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-cache-dir/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_H49HK3/utils-isolated/user-cache-dir/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-cache-dir/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-cache-dir/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-cache-dir/.dirs/runtime 1121s ok 3 /utils-isolated/user-cache-dir 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/system-config-dirs/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/system-config-dirs/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_H49HK3/utils-isolated/system-config-dirs/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/system-config-dirs/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_H49HK3/utils-isolated/system-config-dirs/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/system-config-dirs/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/system-config-dirs/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_H49HK3/utils-isolated/system-config-dirs/.dirs/runtime 1121s ok 4 /utils-isolated/system-config-dirs 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-config-dir/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-config-dir/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_H49HK3/utils-isolated/user-config-dir/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-config-dir/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_H49HK3/utils-isolated/user-config-dir/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-config-dir/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-config-dir/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-config-dir/.dirs/runtime 1121s ok 5 /utils-isolated/user-config-dir 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/system-data-dirs/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/system-data-dirs/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_H49HK3/utils-isolated/system-data-dirs/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/system-data-dirs/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_H49HK3/utils-isolated/system-data-dirs/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/system-data-dirs/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/system-data-dirs/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_H49HK3/utils-isolated/system-data-dirs/.dirs/runtime 1121s ok 6 /utils-isolated/system-data-dirs 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-data-dir/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-data-dir/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_H49HK3/utils-isolated/user-data-dir/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-data-dir/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_H49HK3/utils-isolated/user-data-dir/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-data-dir/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-data-dir/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-data-dir/.dirs/runtime 1121s ok 7 /utils-isolated/user-data-dir 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-state-dir/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-state-dir/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_H49HK3/utils-isolated/user-state-dir/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-state-dir/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_H49HK3/utils-isolated/user-state-dir/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-state-dir/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-state-dir/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-state-dir/.dirs/runtime 1121s ok 8 /utils-isolated/user-state-dir 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-runtime-dir/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-runtime-dir/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_H49HK3/utils-isolated/user-runtime-dir/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-runtime-dir/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_H49HK3/utils-isolated/user-runtime-dir/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-runtime-dir/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-runtime-dir/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_H49HK3/utils-isolated/user-runtime-dir/.dirs/runtime 1121s ok 9 /utils-isolated/user-runtime-dir 1121s # Start of cleanup tests 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/handles-errors/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/handles-errors/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/handles-errors/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/handles-errors/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/handles-errors/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/handles-errors/.dirs/runtime 1121s Unable to clean up temporary directory /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1121s Unable to clean up temporary directory /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1121s Unable to clean up temporary directory /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/handles-errors: Directory not empty 1121s ok 10 /utils-isolated/cleanup/handles-errors 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1121s Unable to clean up temporary directory /tmp/test_utils-isolated_H49HK3/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1121s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1121s # End of cleanup tests 1121s # End of utils-isolated tests 1121s ok - glib/utils-isolated.test 1121s # Running test: glib/autoptr.test 1121s TAP version 14 1121s # random seed: R02S466e778aa5795c1554023ccde01ba398 1121s 1..6 1121s # Start of autoptr tests 1121s ok 1 /autoptr/autoptr 1121s ok 2 /autoptr/autoptr_steal 1121s ok 3 /autoptr/autolist 1121s ok 4 /autoptr/autoslist 1121s ok 5 /autoptr/autoqueue 1121s ok 6 /autoptr/autoclass 1121s # End of autoptr tests 1121s ok - glib/autoptr.test 1121s # Running test: glib/ir-parser.test 1121s ok - glib/ir-parser.test 1121s TAP version 14 1121s # random seed: R02S57054f526a46e42991831ba409733bd0 1121s 1..1 1121s # Start of ir-parser tests 1121s # /ir-parser/type-parsing summary: Test parsing different valid and invalid types 1121s # GLib-GIRepository-DEBUG: 1121s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1121s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 1121s # GLib-GIRepository-DEBUG: 1121s # GLib-GIRepository-DEBUG: 1121s # GLib-GIRepository-DEBUG: 1121s # GLib-GIRepository-DEBUG: 1121s # GLib-GIRepository-DEBUG: popping node 1 dummy 1121s # GLib-GIRepository-DEBUG: 1121s # GLib-GIRepository-DEBUG: 1121s # GLib-GIRepository-DEBUG: 1121s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1121s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 1121s # GLib-GIRepository-DEBUG: 1121s # GLib-GIRepository-DEBUG: 1121s # GLib-GIRepository-DEBUG: 1121s # GLib-GIRepository-DEBUG: 1121s # GLib-GIRepository-DEBUG: popping node 1 dummy 1121s # GLib-GIRepository-DEBUG: 1121s # GLib-GIRepository-DEBUG: 1121s # GLib-GIRepository-DEBUG: 1121s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1121s # GLib-GIRepository-DEBUG: Failed to parse type: 'GLib.Errorx)|(?Py)/ failed with error: Error while compiling regular expression ‘(?Px)|(?Py)’ at char 15: two named subpatterns have the same name 1136s ok 59 /regex/new-fail/42 1136s # Compiling pattern /a\/ failed with error: Error while compiling regular expression ‘a\’ at char 2: \ at end of pattern 1136s ok 60 /regex/new-fail/43 1136s # Compiling pattern /a\c/ failed with error: Error while compiling regular expression ‘a\c’ at char 3: \c at end of pattern 1136s ok 61 /regex/new-fail/44 1136s # Compiling pattern /a\l/ failed with error: Error while compiling regular expression ‘a\l’ at char 3: unrecognized character following \ 1136s ok 62 /regex/new-fail/45 1136s # 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 1136s ok 63 /regex/new-fail/46 1136s # Compiling pattern /a{999999,}/ failed with error: Error while compiling regular expression ‘a{999999,}’ at char 8: number too big in {} quantifier 1136s ok 64 /regex/new-fail/47 1136s # Compiling pattern /[a-z/ failed with error: Error while compiling regular expression ‘[a-z’ at char 4: missing terminating ] for character class 1136s ok 65 /regex/new-fail/48 1136s # Compiling pattern /[\B]/ failed with error: Error while compiling regular expression ‘[\B]’ at char 2: invalid escape sequence in character class 1136s ok 66 /regex/new-fail/49 1136s # Compiling pattern /[z-a]/ failed with error: Error while compiling regular expression ‘[z-a]’ at char 3: range out of order in character class 1136s ok 67 /regex/new-fail/50 1136s # Compiling pattern /^[[:alnum:]-_.]+$/ failed with error: Error while compiling regular expression ‘^[[:alnum:]-_.]+$’ at char 12: invalid range in character class 1136s ok 68 /regex/new-fail/51 1136s # Compiling pattern /{2,4}/ failed with error: Error while compiling regular expression ‘{2,4}’ at char 4: nothing to repeat 1136s ok 69 /regex/new-fail/52 1136s # Compiling pattern /a(?u)/ failed with error: Error while compiling regular expression ‘a(?u)’ at char 3: unrecognized character after (? or (?- 1136s ok 70 /regex/new-fail/53 1136s # Compiling pattern /a(?<$foo)bar/ failed with error: Error while compiling regular expression ‘a(?<$foo)bar’ at char 4: missing subpattern name after (?& 1136s ok 71 /regex/new-fail/54 1136s # 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 1136s ok 72 /regex/new-fail/55 1136s # Compiling pattern /a(b/ failed with error: Error while compiling regular expression ‘a(b’ at char 3: missing terminating ) 1136s ok 73 /regex/new-fail/56 1136s # Compiling pattern /a)b/ failed with error: Error while compiling regular expression ‘a)b’ at char 1: missing terminating ) 1136s ok 74 /regex/new-fail/57 1136s # Compiling pattern /a(?R/ failed with error: Error while compiling regular expression ‘a(?R’ at char 4: missing terminating ) 1136s ok 75 /regex/new-fail/58 1136s # Compiling pattern /a(?-54/ failed with error: Error while compiling regular expression ‘a(?-54’ at char 6: reference to non-existent subpattern 1136s ok 76 /regex/new-fail/59 1136s # Compiling pattern /(ab\2)/ failed with error: Error while compiling regular expression ‘(ab\2)’ at char 4: reference to non-existent subpattern 1136s ok 77 /regex/new-fail/60 1136s # Compiling pattern /a(?#abc/ failed with error: Error while compiling regular expression ‘a(?#abc’ at char 7: missing ) after comment 1136s ok 78 /regex/new-fail/61 1136s # Compiling pattern /(?<=a+)b/ failed with error: Error while compiling regular expression ‘(?<=a+)b’ at char 0: lookbehind assertion is not fixed length 1136s ok 79 /regex/new-fail/62 1136s # Compiling pattern /(?(1?)a|b)/ failed with error: Error while compiling regular expression ‘(?(1?)a|b)’ at char 4: malformed number or name after (?( 1136s ok 80 /regex/new-fail/63 1136s # 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 1136s ok 81 /regex/new-fail/64 1136s # Compiling pattern /(?(?i))/ failed with error: Error while compiling regular expression ‘(?(?i))’ at char 2: assertion expected after (?( 1136s ok 82 /regex/new-fail/65 1136s # Compiling pattern /a[[:fubar:]]b/ failed with error: Error while compiling regular expression ‘a[[:fubar:]]b’ at char 11: unknown POSIX class name 1136s ok 83 /regex/new-fail/66 1136s # Compiling pattern /[[.ch.]]/ failed with error: Error while compiling regular expression ‘[[.ch.]]’ at char 7: POSIX collating elements are not supported 1136s ok 84 /regex/new-fail/67 1136s # 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 1136s ok 85 /regex/new-fail/68 1136s # 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 1136s ok 86 /regex/new-fail/69 1136s # Compiling pattern /(?<=\C)X/ failed with error: Error while compiling regular expression ‘(?<=\C)X’ at char 0: \C not allowed in lookbehind assertion 1136s ok 87 /regex/new-fail/70 1136s # 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 1136s ok 90 /regex/new-fail/74 1136s # Compiling pattern /\666/ failed with error: Error while compiling regular expression ‘\666’ at char 4: octal value is greater than \377 1136s ok 91 /regex/new-fail/75 1136s # 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 1136s ok 92 /regex/new-fail/76 1136s # Compiling pattern /a/ failed with error: Invalid newline flags 1136s ok 93 /regex/new-fail/77 1136s # 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 1136s ok 94 /regex/new-fail/78 1136s # 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 1136s ok 95 /regex/new-fail/79 1136s # Compiling pattern /^(a)\g{0}/ failed with error: Error while compiling regular expression ‘^(a)\g{0}’ at char 9: reference to non-existent subpattern 1136s ok 96 /regex/new-fail/80 1136s # Compiling pattern /a(*FOOBAR)b/ failed with error: Error while compiling regular expression ‘a(*FOOBAR)b’ at char 9: (*VERB) not recognized 1136s ok 97 /regex/new-fail/82 1136s # Compiling pattern /(?)(?&)/ failed with error: Error while compiling regular expression ‘(?)(?&)’ at char 9: missing subpattern name after (?& 1136s ok 98 /regex/new-fail/84 1136s # Compiling pattern /(?+-a)/ failed with error: Error while compiling regular expression ‘(?+-a)’ at char 2: a numbered reference must not be zero 1136s ok 99 /regex/new-fail/85 1136s # 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 1136s ok 100 /regex/new-fail/86 1136s # Compiling pattern /a(*MARK)b/ failed with error: Error while compiling regular expression ‘a(*MARK)b’ at char 7: (*MARK) must have an argument 1136s ok 101 /regex/new-fail/87 1136s # Compiling pattern /^\c€/ failed with error: Error while compiling regular expression ‘^\c€’ at char 3: \c must be followed by an ASCII character 1136s ok 102 /regex/new-fail/88 1136s # 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 1136s ok 103 /regex/new-fail/89 1136s # 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 1136s ok 104 /regex/new-fail/90 1136s # 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) 1136s ok 105 /regex/new-fail/91 1136s # 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 1136s ok 106 /regex/new-fail/92 1136s # End of new-fail tests 1136s # Start of match-simple tests 1136s ok 107 /regex/match-simple/93 1136s ok 108 /regex/match-simple/94 1136s ok 109 /regex/match-simple/95 1136s ok 110 /regex/match-simple/96 1136s ok 111 /regex/match-simple/97 1136s ok 112 /regex/match-simple/98 1136s ok 113 /regex/match-simple/99 1136s ok 114 /regex/match-simple/100 1136s ok 115 /regex/match-simple/101 1136s ok 116 /regex/match-simple/102 1136s ok 117 /regex/match-simple/103 1136s ok 118 /regex/match-simple/104 1136s ok 119 /regex/match-simple/105 1136s ok 120 /regex/match-simple/106 1136s ok 121 /regex/match-simple/107 1136s ok 122 /regex/match-simple/108 1136s ok 123 /regex/match-simple/109 1136s ok 124 /regex/match-simple/110 1136s ok 125 /regex/match-simple/111 1136s ok 126 /regex/match-simple/112 1136s ok 127 /regex/match-simple/113 1136s ok 128 /regex/match-simple/114 1136s ok 129 /regex/match-simple/115 1136s ok 130 /regex/match-simple/116 1136s ok 131 /regex/match-simple/117 1136s ok 132 /regex/match-simple/118 1136s ok 133 /regex/match-simple/119 1136s ok 134 /regex/match-simple/120 1136s ok 135 /regex/match-simple/121 1136s ok 136 /regex/match-simple/122 1136s ok 137 /regex/match-simple/123 1136s ok 138 /regex/match-simple/124 1136s ok 139 /regex/match-simple/125 1136s ok 140 /regex/match-simple/126 1136s ok 141 /regex/match-simple/127 1136s ok 142 /regex/match-simple/128 1136s ok 143 /regex/match-simple/129 1136s ok 144 /regex/match-simple/130 1136s ok 145 /regex/match-simple/131 1136s ok 146 /regex/match-simple/132 1136s ok 147 /regex/match-simple/133 1136s ok 148 /regex/match-simple/134 1136s ok 149 /regex/match-simple/135 1136s ok 150 /regex/match-simple/136 1136s ok 151 /regex/match-simple/137 1136s ok 152 /regex/match-simple/138 1136s ok 153 /regex/match-simple/139 1136s ok 154 /regex/match-simple/140 1136s ok 155 /regex/match-simple/141 1136s ok 156 /regex/match-simple/142 1136s ok 157 /regex/match-simple/143 1136s ok 158 /regex/match-simple/144 1136s ok 159 /regex/match-simple/145 1136s ok 160 /regex/match-simple/146 1136s ok 161 /regex/match-simple/147 1136s ok 162 /regex/match-simple/148 1136s ok 163 /regex/match-simple/149 1136s ok 164 /regex/match-simple/150 1136s ok 165 /regex/match-simple/151 1136s ok 166 /regex/match-simple/152 1136s ok 167 /regex/match-simple/153 1136s ok 168 /regex/match-simple/154 1136s ok 169 /regex/match-simple/155 1136s ok 170 /regex/match-simple/156 1136s ok 171 /regex/match-simple/157 1136s ok 172 /regex/match-simple/158 1136s ok 173 /regex/match-simple/159 1136s ok 174 /regex/match-simple/160 1136s ok 175 /regex/match-simple/161 1136s ok 176 /regex/match-simple/162 1136s ok 177 /regex/match-simple/163 1136s ok 178 /regex/match-simple/164 1136s ok 179 /regex/match-simple/165 1136s # End of match-simple tests 1136s # Start of match-simple-optimized tests 1136s ok 180 /regex/match-simple-optimized/93 1136s ok 181 /regex/match-simple-optimized/94 1136s ok 182 /regex/match-simple-optimized/95 1136s ok 183 /regex/match-simple-optimized/96 1136s ok 184 /regex/match-simple-optimized/97 1136s ok 185 /regex/match-simple-optimized/98 1136s ok 186 /regex/match-simple-optimized/99 1136s ok 187 /regex/match-simple-optimized/100 1136s ok 188 /regex/match-simple-optimized/101 1136s ok 189 /regex/match-simple-optimized/102 1136s ok 190 /regex/match-simple-optimized/103 1136s ok 191 /regex/match-simple-optimized/104 1136s ok 192 /regex/match-simple-optimized/105 1136s ok 193 /regex/match-simple-optimized/106 1136s ok 194 /regex/match-simple-optimized/107 1136s ok 195 /regex/match-simple-optimized/108 1136s ok 196 /regex/match-simple-optimized/109 1136s ok 197 /regex/match-simple-optimized/110 1136s ok 198 /regex/match-simple-optimized/111 1136s ok 199 /regex/match-simple-optimized/112 1136s ok 200 /regex/match-simple-optimized/113 1136s ok 201 /regex/match-simple-optimized/114 1136s ok 202 /regex/match-simple-optimized/115 1136s ok 203 /regex/match-simple-optimized/116 1136s ok 204 /regex/match-simple-optimized/117 1136s ok 205 /regex/match-simple-optimized/118 1136s ok 206 /regex/match-simple-optimized/119 1136s ok 207 /regex/match-simple-optimized/120 1136s ok 208 /regex/match-simple-optimized/121 1136s ok 209 /regex/match-simple-optimized/122 1136s ok 210 /regex/match-simple-optimized/123 1136s ok 211 /regex/match-simple-optimized/124 1136s ok 212 /regex/match-simple-optimized/125 1136s ok 213 /regex/match-simple-optimized/126 1136s ok 214 /regex/match-simple-optimized/127 1136s ok 215 /regex/match-simple-optimized/128 1136s ok 216 /regex/match-simple-optimized/129 1136s ok 217 /regex/match-simple-optimized/130 1136s ok 218 /regex/match-simple-optimized/131 1136s ok 219 /regex/match-simple-optimized/132 1136s ok 220 /regex/match-simple-optimized/133 1136s ok 221 /regex/match-simple-optimized/134 1136s ok 222 /regex/match-simple-optimized/135 1136s ok 223 /regex/match-simple-optimized/136 1136s ok 224 /regex/match-simple-optimized/137 1136s ok 225 /regex/match-simple-optimized/138 1136s ok 226 /regex/match-simple-optimized/139 1136s ok 227 /regex/match-simple-optimized/140 1136s ok 228 /regex/match-simple-optimized/141 1136s ok 229 /regex/match-simple-optimized/142 1136s ok 230 /regex/match-simple-optimized/143 1136s ok 231 /regex/match-simple-optimized/144 1136s ok 232 /regex/match-simple-optimized/145 1136s ok 233 /regex/match-simple-optimized/146 1136s ok 234 /regex/match-simple-optimized/147 1136s ok 235 /regex/match-simple-optimized/148 1136s ok 236 /regex/match-simple-optimized/149 1136s ok 237 /regex/match-simple-optimized/150 1136s ok 238 /regex/match-simple-optimized/151 1136s ok 239 /regex/match-simple-optimized/152 1136s ok 240 /regex/match-simple-optimized/153 1136s ok 241 /regex/match-simple-optimized/154 1136s ok 242 /regex/match-simple-optimized/155 1136s ok 243 /regex/match-simple-optimized/156 1136s ok 244 /regex/match-simple-optimized/157 1136s ok 245 /regex/match-simple-optimized/158 1136s ok 246 /regex/match-simple-optimized/159 1136s ok 247 /regex/match-simple-optimized/160 1136s ok 248 /regex/match-simple-optimized/161 1136s ok 249 /regex/match-simple-optimized/162 1136s ok 250 /regex/match-simple-optimized/163 1136s ok 251 /regex/match-simple-optimized/164 1136s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1136s ok 252 /regex/match-simple-optimized/165 1136s # End of match-simple-optimized tests 1136s # Start of match tests 1136s ok 253 /regex/match/166 1136s ok 254 /regex/match/167 1136s ok 255 /regex/match/168 1136s ok 256 /regex/match/169 1136s ok 257 /regex/match/170 1136s ok 258 /regex/match/171 1136s ok 259 /regex/match/172 1136s ok 260 /regex/match/173 1136s ok 261 /regex/match/174 1136s ok 262 /regex/match/175 1136s ok 263 /regex/match/176 1136s ok 264 /regex/match/177 1136s ok 265 /regex/match/178 1136s ok 266 /regex/match/179 1136s ok 267 /regex/match/180 1136s ok 268 /regex/match/181 1136s ok 269 /regex/match/182 1136s ok 270 /regex/match/183 1136s ok 271 /regex/match/184 1136s ok 272 /regex/match/185 1136s ok 273 /regex/match/186 1136s ok 274 /regex/match/187 1136s ok 275 /regex/match/188 1136s ok 276 /regex/match/189 1136s ok 277 /regex/match/190 1136s ok 278 /regex/match/191 1136s ok 279 /regex/match/192 1136s ok 280 /regex/match/193 1136s ok 281 /regex/match/194 1136s ok 282 /regex/match/195 1136s ok 283 /regex/match/196 1136s ok 284 /regex/match/197 1136s ok 285 /regex/match/198 1136s ok 286 /regex/match/199 1136s ok 287 /regex/match/200 1136s ok 288 /regex/match/201 1136s ok 289 /regex/match/202 1136s ok 290 /regex/match/203 1136s ok 291 /regex/match/204 1136s ok 292 /regex/match/205 1136s ok 293 /regex/match/206 1136s ok 294 /regex/match/207 1136s ok 295 /regex/match/208 1136s ok 296 /regex/match/209 1136s ok 297 /regex/match/210 1136s ok 298 /regex/match/211 1136s ok 299 /regex/match/212 1136s ok 300 /regex/match/213 1136s ok 301 /regex/match/214 1136s ok 302 /regex/match/215 1136s ok 303 /regex/match/216 1136s ok 304 /regex/match/217 1136s ok 305 /regex/match/218 1136s ok 306 /regex/match/219 1136s ok 307 /regex/match/220 1136s ok 308 /regex/match/221 1136s ok 309 /regex/match/222 1136s ok 310 /regex/match/223 1136s ok 311 /regex/match/224 1136s ok 312 /regex/match/225 1136s ok 313 /regex/match/226 1136s ok 314 /regex/match/227 1136s ok 315 /regex/match/228 1136s ok 316 /regex/match/229 1136s ok 317 /regex/match/230 1136s ok 318 /regex/match/231 1136s ok 319 /regex/match/232 1136s ok 320 /regex/match/233 1136s ok 321 /regex/match/234 1136s ok 322 /regex/match/235 1136s ok 323 /regex/match/236 1136s ok 324 /regex/match/237 1136s ok 325 /regex/match/238 1136s ok 326 /regex/match/239 1136s ok 327 /regex/match/240 1136s ok 328 /regex/match/241 1136s ok 329 /regex/match/242 1136s ok 330 /regex/match/243 1136s ok 331 /regex/match/244 1136s ok 332 /regex/match/245 1136s ok 333 /regex/match/246 1136s ok 334 /regex/match/247 1136s ok 335 /regex/match/partial282 1136s ok 336 /regex/match/partial283 1136s ok 337 /regex/match/partial284 1136s ok 338 /regex/match/partial285 1136s ok 339 /regex/match/partial286 1136s ok 340 /regex/match/partial287 1136s ok 341 /regex/match/partial288 1136s ok 342 /regex/match/partial289 1136s ok 343 /regex/match/partial290 1136s ok 344 /regex/match/partial291 1136s ok 345 /regex/match/partial292 1136s ok 346 /regex/match/partial293 1136s ok 347 /regex/match/partial294 1136s ok 348 /regex/match/partial295 1136s ok 349 /regex/match/partial296 1136s ok 350 /regex/match/partial297 1136s ok 351 /regex/match/partial298 1136s ok 352 /regex/match/partial299 1136s ok 353 /regex/match/partial300 1136s ok 354 /regex/match/partial301 1136s ok 355 /regex/match/partial302 1136s ok 356 /regex/match/partial303 1136s # Start of next0 tests 1136s ok 357 /regex/match/next0/248 1136s ok 358 /regex/match/next0/249 1136s ok 359 /regex/match/next0/250 1136s ok 360 /regex/match/next0/251 1136s # End of next0 tests 1136s # Start of next1 tests 1136s ok 361 /regex/match/next1/252 1136s ok 362 /regex/match/next1/253 1136s ok 363 /regex/match/next1/254 1136s ok 364 /regex/match/next1/255 1136s ok 365 /regex/match/next1/256 1136s # End of next1 tests 1136s # Start of next2 tests 1136s ok 366 /regex/match/next2/257 1136s ok 367 /regex/match/next2/258 1136s ok 368 /regex/match/next2/259 1136s ok 369 /regex/match/next2/260 1136s ok 370 /regex/match/next2/261 1136s ok 371 /regex/match/next2/262 1136s ok 372 /regex/match/next2/263 1136s ok 373 /regex/match/next2/264 1136s # End of next2 tests 1136s # Start of next3 tests 1136s ok 374 /regex/match/next3/265 1136s ok 375 /regex/match/next3/266 1136s ok 376 /regex/match/next3/267 1136s ok 377 /regex/match/next3/268 1136s ok 378 /regex/match/next3/269 1136s ok 379 /regex/match/next3/270 1136s # End of next3 tests 1136s # Start of next4 tests 1136s ok 380 /regex/match/next4/271 1136s # End of next4 tests 1136s # Start of count tests 1136s ok 381 /regex/match/count/272 1136s ok 382 /regex/match/count/273 1136s ok 383 /regex/match/count/274 1136s ok 384 /regex/match/count/275 1136s ok 385 /regex/match/count/276 1136s ok 386 /regex/match/count/277 1136s ok 387 /regex/match/count/278 1136s ok 388 /regex/match/count/279 1136s ok 389 /regex/match/count/280 1136s ok 390 /regex/match/count/281 1136s # End of count tests 1136s # Start of count-optimized tests 1136s ok 391 /regex/match/count-optimized/272 1136s ok 392 /regex/match/count-optimized/273 1136s ok 393 /regex/match/count-optimized/274 1136s ok 394 /regex/match/count-optimized/275 1136s ok 395 /regex/match/count-optimized/276 1136s ok 396 /regex/match/count-optimized/277 1136s ok 397 /regex/match/count-optimized/278 1136s ok 398 /regex/match/count-optimized/279 1136s ok 399 /regex/match/count-optimized/280 1136s ok 400 /regex/match/count-optimized/281 1136s # End of count-optimized tests 1136s # Start of partial-optimized tests 1136s ok 401 /regex/match/partial-optimized/282 1136s ok 402 /regex/match/partial-optimized/283 1136s ok 403 /regex/match/partial-optimized/284 1136s ok 404 /regex/match/partial-optimized/285 1136s ok 405 /regex/match/partial-optimized/286 1136s ok 406 /regex/match/partial-optimized/287 1136s ok 407 /regex/match/partial-optimized/288 1136s ok 408 /regex/match/partial-optimized/289 1136s ok 409 /regex/match/partial-optimized/290 1136s ok 410 /regex/match/partial-optimized/291 1136s ok 411 /regex/match/partial-optimized/292 1136s ok 412 /regex/match/partial-optimized/293 1136s ok 413 /regex/match/partial-optimized/294 1136s ok 414 /regex/match/partial-optimized/295 1136s ok 415 /regex/match/partial-optimized/296 1136s ok 416 /regex/match/partial-optimized/297 1136s ok 417 /regex/match/partial-optimized/298 1136s ok 418 /regex/match/partial-optimized/299 1136s ok 419 /regex/match/partial-optimized/300 1136s ok 420 /regex/match/partial-optimized/301 1136s ok 421 /regex/match/partial-optimized/302 1136s ok 422 /regex/match/partial-optimized/303 1136s # End of partial-optimized tests 1136s # Start of subpattern tests 1136s ok 423 /regex/match/subpattern/304 1136s ok 424 /regex/match/subpattern/305 1136s ok 425 /regex/match/subpattern/306 1136s ok 426 /regex/match/subpattern/307 1136s ok 427 /regex/match/subpattern/308 1136s ok 428 /regex/match/subpattern/309 1136s ok 429 /regex/match/subpattern/310 1136s ok 430 /regex/match/subpattern/311 1136s ok 431 /regex/match/subpattern/312 1136s ok 432 /regex/match/subpattern/313 1136s ok 433 /regex/match/subpattern/314 1136s ok 434 /regex/match/subpattern/315 1136s ok 435 /regex/match/subpattern/316 1136s # Start of named tests 1136s # Start of dupnames tests 1136s ok 436 /regex/match/subpattern/named/dupnames/326 1136s ok 437 /regex/match/subpattern/named/dupnames/327 1136s ok 438 /regex/match/subpattern/named/dupnames/328 1136s ok 439 /regex/match/subpattern/named/dupnames/329 1136s ok 440 /regex/match/subpattern/named/dupnames/330 1136s # End of dupnames tests 1136s # End of named tests 1136s # End of subpattern tests 1136s # Start of subpattern-optimized tests 1136s ok 441 /regex/match/subpattern-optimized/304 1136s ok 442 /regex/match/subpattern-optimized/305 1136s ok 443 /regex/match/subpattern-optimized/306 1136s ok 444 /regex/match/subpattern-optimized/307 1136s ok 445 /regex/match/subpattern-optimized/308 1136s ok 446 /regex/match/subpattern-optimized/309 1136s ok 447 /regex/match/subpattern-optimized/310 1136s ok 448 /regex/match/subpattern-optimized/311 1136s ok 449 /regex/match/subpattern-optimized/312 1136s ok 450 /regex/match/subpattern-optimized/313 1136s ok 451 /regex/match/subpattern-optimized/314 1136s ok 452 /regex/match/subpattern-optimized/315 1136s ok 453 /regex/match/subpattern-optimized/316 1136s # End of subpattern-optimized tests 1136s # Start of named tests 1136s # Start of subpattern tests 1136s ok 454 /regex/match/named/subpattern/317 1136s ok 455 /regex/match/named/subpattern/318 1136s ok 456 /regex/match/named/subpattern/319 1136s ok 457 /regex/match/named/subpattern/320 1136s ok 458 /regex/match/named/subpattern/321 1136s ok 459 /regex/match/named/subpattern/322 1136s ok 460 /regex/match/named/subpattern/323 1136s ok 461 /regex/match/named/subpattern/324 1136s ok 462 /regex/match/named/subpattern/325 1136s ok 463 /regex/match/named/subpattern/331 1136s ok 464 /regex/match/named/subpattern/332 1136s ok 465 /regex/match/named/subpattern/333 1136s ok 466 /regex/match/named/subpattern/334 1136s ok 467 /regex/match/named/subpattern/335 1136s # End of subpattern tests 1136s # End of named tests 1136s # End of match tests 1136s # Start of match-optimized tests 1136s ok 468 /regex/match-optimized/166 1136s ok 469 /regex/match-optimized/167 1136s ok 470 /regex/match-optimized/168 1136s ok 471 /regex/match-optimized/169 1136s ok 472 /regex/match-optimized/170 1136s ok 473 /regex/match-optimized/171 1136s ok 474 /regex/match-optimized/172 1136s ok 475 /regex/match-optimized/173 1136s ok 476 /regex/match-optimized/174 1136s ok 477 /regex/match-optimized/175 1136s ok 478 /regex/match-optimized/176 1136s ok 479 /regex/match-optimized/177 1136s ok 480 /regex/match-optimized/178 1136s ok 481 /regex/match-optimized/179 1136s ok 482 /regex/match-optimized/180 1136s ok 483 /regex/match-optimized/181 1136s ok 484 /regex/match-optimized/182 1136s ok 485 /regex/match-optimized/183 1136s ok 486 /regex/match-optimized/184 1136s ok 487 /regex/match-optimized/185 1136s ok 488 /regex/match-optimized/186 1136s ok 489 /regex/match-optimized/187 1136s ok 490 /regex/match-optimized/188 1136s ok 491 /regex/match-optimized/189 1136s ok 492 /regex/match-optimized/190 1136s ok 493 /regex/match-optimized/191 1136s ok 494 /regex/match-optimized/192 1136s ok 495 /regex/match-optimized/193 1136s ok 496 /regex/match-optimized/194 1136s ok 497 /regex/match-optimized/195 1136s ok 498 /regex/match-optimized/196 1136s ok 499 /regex/match-optimized/197 1136s ok 500 /regex/match-optimized/198 1136s ok 501 /regex/match-optimized/199 1136s ok 502 /regex/match-optimized/200 1136s ok 503 /regex/match-optimized/201 1136s ok 504 /regex/match-optimized/202 1136s ok 505 /regex/match-optimized/203 1136s ok 506 /regex/match-optimized/204 1136s ok 507 /regex/match-optimized/205 1136s ok 508 /regex/match-optimized/206 1136s ok 509 /regex/match-optimized/207 1136s ok 510 /regex/match-optimized/208 1136s ok 511 /regex/match-optimized/209 1136s ok 512 /regex/match-optimized/210 1136s ok 513 /regex/match-optimized/211 1136s ok 514 /regex/match-optimized/212 1136s ok 515 /regex/match-optimized/213 1136s ok 516 /regex/match-optimized/214 1136s ok 517 /regex/match-optimized/215 1136s ok 518 /regex/match-optimized/216 1136s ok 519 /regex/match-optimized/217 1136s ok 520 /regex/match-optimized/218 1136s ok 521 /regex/match-optimized/219 1136s ok 522 /regex/match-optimized/220 1136s ok 523 /regex/match-optimized/221 1136s ok 524 /regex/match-optimized/222 1136s ok 525 /regex/match-optimized/223 1136s ok 526 /regex/match-optimized/224 1136s ok 527 /regex/match-optimized/225 1136s ok 528 /regex/match-optimized/226 1136s ok 529 /regex/match-optimized/227 1136s ok 530 /regex/match-optimized/228 1136s ok 531 /regex/match-optimized/229 1136s ok 532 /regex/match-optimized/230 1136s ok 533 /regex/match-optimized/231 1136s ok 534 /regex/match-optimized/232 1136s ok 535 /regex/match-optimized/233 1136s ok 536 /regex/match-optimized/234 1136s ok 537 /regex/match-optimized/235 1136s ok 538 /regex/match-optimized/236 1136s ok 539 /regex/match-optimized/237 1136s ok 540 /regex/match-optimized/238 1136s ok 541 /regex/match-optimized/239 1136s ok 542 /regex/match-optimized/240 1136s ok 543 /regex/match-optimized/241 1136s ok 544 /regex/match-optimized/242 1136s ok 545 /regex/match-optimized/243 1136s ok 546 /regex/match-optimized/244 1136s ok 547 /regex/match-optimized/245 1136s ok 548 /regex/match-optimized/246 1136s ok 549 /regex/match-optimized/247 1136s # End of match-optimized tests 1136s # Start of fetch-all0 tests 1136s ok 550 /regex/fetch-all0/336 1136s ok 551 /regex/fetch-all0/337 1136s # End of fetch-all0 tests 1136s # Start of fetch-all1 tests 1136s ok 552 /regex/fetch-all1/338 1136s ok 553 /regex/fetch-all1/339 1136s ok 554 /regex/fetch-all1/340 1136s # End of fetch-all1 tests 1136s # Start of fetch-all2 tests 1136s ok 555 /regex/fetch-all2/341 1136s ok 556 /regex/fetch-all2/342 1136s ok 557 /regex/fetch-all2/343 1136s # End of fetch-all2 tests 1136s # Start of fetch-all3 tests 1136s ok 558 /regex/fetch-all3/344 1136s ok 559 /regex/fetch-all3/345 1136s ok 560 /regex/fetch-all3/346 1136s ok 561 /regex/fetch-all3/347 1136s ok 562 /regex/fetch-all3/348 1136s # End of fetch-all3 tests 1136s # Start of split tests 1136s # Start of simple0 tests 1136s ok 563 /regex/split/simple0/349 1136s ok 564 /regex/split/simple0/350 1136s ok 565 /regex/split/simple0/365 1136s ok 566 /regex/split/simple0/366 1136s # End of simple0 tests 1136s # Start of simple1 tests 1136s ok 567 /regex/split/simple1/351 1136s ok 568 /regex/split/simple1/352 1136s # End of simple1 tests 1136s # Start of simple2 tests 1136s ok 569 /regex/split/simple2/353 1136s ok 570 /regex/split/simple2/359 1136s ok 571 /regex/split/simple2/361 1136s # End of simple2 tests 1136s # Start of simple3 tests 1136s ok 572 /regex/split/simple3/354 1136s ok 573 /regex/split/simple3/355 1136s ok 574 /regex/split/simple3/356 1136s ok 575 /regex/split/simple3/357 1136s ok 576 /regex/split/simple3/358 1136s ok 577 /regex/split/simple3/360 1136s ok 578 /regex/split/simple3/362 1136s ok 579 /regex/split/simple3/363 1136s ok 580 /regex/split/simple3/364 1136s # End of simple3 tests 1136s # End of split tests 1136s # Start of split0 tests 1136s ok 581 /regex/split0/367 1136s ok 582 /regex/split0/369 1136s # End of split0 tests 1136s # Start of full-split0 tests 1136s ok 583 /regex/full-split0/368 1136s ok 584 /regex/full-split0/370 1136s ok 585 /regex/full-split0/371 1136s ok 586 /regex/full-split0/372 1136s ok 587 /regex/full-split0/373 1136s # End of full-split0 tests 1136s # Start of split1 tests 1136s ok 588 /regex/split1/374 1136s ok 589 /regex/split1/377 1136s # End of split1 tests 1136s # Start of full-split1 tests 1136s ok 590 /regex/full-split1/375 1136s ok 591 /regex/full-split1/376 1136s ok 592 /regex/full-split1/378 1136s ok 593 /regex/full-split1/379 1136s ok 594 /regex/full-split1/405 1136s # End of full-split1 tests 1136s # Start of split2 tests 1136s ok 595 /regex/split2/380 1136s ok 596 /regex/split2/384 1136s ok 597 /regex/split2/396 1136s # End of split2 tests 1136s # Start of full-split2 tests 1136s ok 598 /regex/full-split2/381 1136s ok 599 /regex/full-split2/382 1136s ok 600 /regex/full-split2/383 1136s ok 601 /regex/full-split2/385 1136s ok 602 /regex/full-split2/397 1136s ok 603 /regex/full-split2/400 1136s ok 604 /regex/full-split2/406 1136s # End of full-split2 tests 1136s # Start of split3 tests 1136s ok 605 /regex/split3/386 1136s ok 606 /regex/split3/388 1136s ok 607 /regex/split3/390 1136s ok 608 /regex/split3/392 1136s ok 609 /regex/split3/394 1136s ok 610 /regex/split3/398 1136s ok 611 /regex/split3/401 1136s ok 612 /regex/split3/403 1136s # End of split3 tests 1136s # Start of full-split3 tests 1136s ok 613 /regex/full-split3/387 1136s ok 614 /regex/full-split3/389 1136s ok 615 /regex/full-split3/391 1136s ok 616 /regex/full-split3/393 1136s ok 617 /regex/full-split3/395 1136s ok 618 /regex/full-split3/399 1136s ok 619 /regex/full-split3/402 1136s ok 620 /regex/full-split3/404 1136s ok 621 /regex/full-split3/407 1136s ok 622 /regex/full-split3/408 1136s # End of full-split3 tests 1136s # Start of check-repacement tests 1136s ok 623 /regex/check-repacement/409 1136s ok 624 /regex/check-repacement/410 1136s ok 625 /regex/check-repacement/411 1136s ok 626 /regex/check-repacement/412 1136s ok 627 /regex/check-repacement/413 1136s ok 628 /regex/check-repacement/414 1136s ok 629 /regex/check-repacement/415 1136s ok 630 /regex/check-repacement/416 1136s # End of check-repacement tests 1136s # Start of expand tests 1136s ok 631 /regex/expand/417 1136s ok 632 /regex/expand/418 1136s ok 633 /regex/expand/419 1136s ok 634 /regex/expand/420 1136s ok 635 /regex/expand/421 1136s ok 636 /regex/expand/422 1136s ok 637 /regex/expand/423 1136s ok 638 /regex/expand/424 1136s ok 639 /regex/expand/425 1136s ok 640 /regex/expand/426 1136s ok 641 /regex/expand/427 1136s ok 642 /regex/expand/428 1136s ok 643 /regex/expand/429 1136s ok 644 /regex/expand/430 1136s ok 645 /regex/expand/431 1136s ok 646 /regex/expand/432 1136s ok 647 /regex/expand/433 1136s ok 648 /regex/expand/434 1136s ok 649 /regex/expand/435 1136s ok 650 /regex/expand/436 1136s ok 651 /regex/expand/437 1136s ok 652 /regex/expand/438 1136s ok 653 /regex/expand/439 1136s ok 654 /regex/expand/440 1136s ok 655 /regex/expand/441 1136s ok 656 /regex/expand/442 1136s ok 657 /regex/expand/443 1136s ok 658 /regex/expand/444 1136s ok 659 /regex/expand/445 1136s ok 660 /regex/expand/446 1136s ok 661 /regex/expand/447 1136s ok 662 /regex/expand/448 1136s ok 663 /regex/expand/449 1136s ok 664 /regex/expand/450 1136s ok 665 /regex/expand/451 1136s ok 666 /regex/expand/452 1136s ok 667 /regex/expand/453 1136s ok 668 /regex/expand/454 1136s ok 669 /regex/expand/455 1136s ok 670 /regex/expand/456 1136s ok 671 /regex/expand/457 1136s ok 672 /regex/expand/458 1136s ok 673 /regex/expand/459 1136s ok 674 /regex/expand/460 1136s ok 675 /regex/expand/461 1136s ok 676 /regex/expand/462 1136s ok 677 /regex/expand/463 1136s ok 678 /regex/expand/464 1136s ok 679 /regex/expand/465 1136s ok 680 /regex/expand/466 1136s ok 681 /regex/expand/467 1136s ok 682 /regex/expand/468 1136s ok 683 /regex/expand/469 1136s ok 684 /regex/expand/470 1136s ok 685 /regex/expand/471 1136s ok 686 /regex/expand/472 1136s ok 687 /regex/expand/473 1136s ok 688 /regex/expand/474 1136s ok 689 /regex/expand/475 1136s ok 690 /regex/expand/476 1136s ok 691 /regex/expand/477 1136s ok 692 /regex/expand/478 1136s ok 693 /regex/expand/479 1136s ok 694 /regex/expand/480 1136s ok 695 /regex/expand/481 1136s ok 696 /regex/expand/482 1136s # End of expand tests 1136s # Start of replace tests 1136s ok 697 /regex/replace/483 1136s ok 698 /regex/replace/484 1136s ok 699 /regex/replace/485 1136s ok 700 /regex/replace/486 1136s ok 701 /regex/replace/487 1136s ok 702 /regex/replace/488 1136s ok 703 /regex/replace/489 1136s ok 704 /regex/replace/490 1136s ok 705 /regex/replace/491 1136s ok 706 /regex/replace/492 1136s ok 707 /regex/replace/493 1136s ok 708 /regex/replace/494 1136s ok 709 /regex/replace/495 1136s ok 710 /regex/replace/496 1136s ok 711 /regex/replace/497 1136s ok 712 /regex/replace/498 1136s ok 713 /regex/replace/499 1136s ok 714 /regex/replace/500 1136s ok 715 /regex/replace/501 1136s ok 716 /regex/replace/502 1136s ok 717 /regex/replace/503 1136s ok 718 /regex/replace/504 1136s ok 719 /regex/replace/505 1136s ok 720 /regex/replace/506 1136s ok 721 /regex/replace/507 1136s ok 722 /regex/replace/508 1136s ok 723 /regex/replace/509 1136s ok 724 /regex/replace/510 1136s # End of replace tests 1136s # Start of replace-optimized tests 1136s ok 725 /regex/replace-optimized/483 1136s ok 726 /regex/replace-optimized/484 1136s ok 727 /regex/replace-optimized/485 1136s ok 728 /regex/replace-optimized/486 1136s ok 729 /regex/replace-optimized/487 1136s ok 730 /regex/replace-optimized/488 1136s ok 731 /regex/replace-optimized/489 1136s ok 732 /regex/replace-optimized/490 1136s ok 733 /regex/replace-optimized/491 1136s ok 734 /regex/replace-optimized/492 1136s ok 735 /regex/replace-optimized/493 1136s ok 736 /regex/replace-optimized/494 1136s ok 737 /regex/replace-optimized/495 1136s ok 738 /regex/replace-optimized/496 1136s ok 739 /regex/replace-optimized/497 1136s ok 740 /regex/replace-optimized/498 1136s ok 741 /regex/replace-optimized/499 1136s ok 742 /regex/replace-optimized/500 1136s ok 743 /regex/replace-optimized/501 1136s ok 744 /regex/replace-optimized/502 1136s ok 745 /regex/replace-optimized/503 1136s ok 746 /regex/replace-optimized/504 1136s ok 747 /regex/replace-optimized/505 1136s ok 748 /regex/replace-optimized/506 1136s ok 749 /regex/replace-optimized/507 1136s ok 750 /regex/replace-optimized/508 1136s ok 751 /regex/replace-optimized/509 1136s ok 752 /regex/replace-optimized/510 1136s # End of replace-optimized tests 1136s # Start of replace-literally tests 1136s ok 753 /regex/replace-literally/511 1136s ok 754 /regex/replace-literally/512 1136s ok 755 /regex/replace-literally/513 1136s ok 756 /regex/replace-literally/514 1136s ok 757 /regex/replace-literally/515 1136s ok 758 /regex/replace-literally/516 1136s ok 759 /regex/replace-literally/517 1136s ok 760 /regex/replace-literally/518 1136s ok 761 /regex/replace-literally/519 1136s ok 762 /regex/replace-literally/520 1136s ok 763 /regex/replace-literally/521 1136s ok 764 /regex/replace-literally/522 1136s ok 765 /regex/replace-literally/523 1136s ok 766 /regex/replace-literally/524 1136s ok 767 /regex/replace-literally/525 1136s ok 768 /regex/replace-literally/526 1136s ok 769 /regex/replace-literally/527 1136s ok 770 /regex/replace-literally/528 1136s ok 771 /regex/replace-literally/529 1136s ok 772 /regex/replace-literally/530 1136s # End of replace-literally tests 1136s # Start of string-number tests 1136s ok 773 /regex/string-number/531 1136s ok 774 /regex/string-number/532 1136s ok 775 /regex/string-number/533 1136s ok 776 /regex/string-number/534 1136s ok 777 /regex/string-number/535 1136s ok 778 /regex/string-number/536 1136s ok 779 /regex/string-number/537 1136s ok 780 /regex/string-number/538 1136s ok 781 /regex/string-number/539 1136s ok 782 /regex/string-number/540 1136s ok 783 /regex/string-number/541 1136s ok 784 /regex/string-number/542 1136s ok 785 /regex/string-number/543 1136s ok 786 /regex/string-number/544 1136s ok 787 /regex/string-number/545 1136s # End of string-number tests 1136s # Start of escape_nul tests 1136s ok 788 /regex/escape_nul/546 1136s ok 789 /regex/escape_nul/547 1136s ok 790 /regex/escape_nul/548 1136s ok 791 /regex/escape_nul/549 1136s ok 792 /regex/escape_nul/550 1136s ok 793 /regex/escape_nul/551 1136s ok 794 /regex/escape_nul/552 1136s ok 795 /regex/escape_nul/553 1136s ok 796 /regex/escape_nul/554 1136s ok 797 /regex/escape_nul/555 1136s ok 798 /regex/escape_nul/556 1136s ok 799 /regex/escape_nul/557 1136s ok 800 /regex/escape_nul/558 1136s ok 801 /regex/escape_nul/559 1136s ok 802 /regex/escape_nul/560 1136s # End of escape_nul tests 1136s # Start of escape tests 1136s ok 803 /regex/escape/561 1136s ok 804 /regex/escape/562 1136s ok 805 /regex/escape/563 1136s ok 806 /regex/escape/564 1136s ok 807 /regex/escape/565 1136s ok 808 /regex/escape/566 1136s ok 809 /regex/escape/567 1136s ok 810 /regex/escape/568 1136s ok 811 /regex/escape/569 1136s ok 812 /regex/escape/570 1136s ok 813 /regex/escape/571 1136s ok 814 /regex/escape/572 1136s ok 815 /regex/escape/573 1136s ok 816 /regex/escape/574 1136s ok 817 /regex/escape/575 1136s ok 818 /regex/escape/576 1136s ok 819 /regex/escape/577 1136s ok 820 /regex/escape/578 1136s # End of escape tests 1136s # Start of match-all0 tests 1136s ok 821 /regex/match-all0/579 1136s ok 822 /regex/match-all0/581 1136s # End of match-all0 tests 1136s # Start of match-all-full0 tests 1136s ok 823 /regex/match-all-full0/580 1136s ok 824 /regex/match-all-full0/582 1136s ok 825 /regex/match-all-full0/583 1136s ok 826 /regex/match-all-full0/584 1136s # End of match-all-full0 tests 1136s # Start of match-all1 tests 1136s ok 827 /regex/match-all1/585 1136s ok 828 /regex/match-all1/587 1136s ok 829 /regex/match-all1/592 1136s # End of match-all1 tests 1136s # Start of match-all-full1 tests 1136s ok 830 /regex/match-all-full1/586 1136s ok 831 /regex/match-all-full1/588 1136s ok 832 /regex/match-all-full1/589 1136s ok 833 /regex/match-all-full1/590 1136s ok 834 /regex/match-all-full1/591 1136s ok 835 /regex/match-all-full1/593 1136s # End of match-all-full1 tests 1136s # Start of match-all2 tests 1136s ok 836 /regex/match-all2/594 1136s ok 837 /regex/match-all2/596 1136s ok 838 /regex/match-all2/598 1136s # End of match-all2 tests 1136s # Start of match-all-full2 tests 1136s ok 839 /regex/match-all-full2/595 1136s ok 840 /regex/match-all-full2/597 1136s ok 841 /regex/match-all-full2/599 1136s # End of match-all-full2 tests 1136s # Start of match-all3 tests 1136s ok 842 /regex/match-all3/600 1136s ok 843 /regex/match-all3/602 1136s # End of match-all3 tests 1136s # Start of match-all-full3 tests 1136s ok 844 /regex/match-all-full3/601 1136s ok 845 /regex/match-all-full3/603 1136s # End of match-all-full3 tests 1136s # Start of match-notempty tests 1136s ok 846 /regex/match-notempty/604 1136s # End of match-notempty tests 1136s # Start of match-notempty-optimized tests 1136s ok 847 /regex/match-notempty-optimized/604 1136s # End of match-notempty-optimized tests 1136s # Start of match-notempty-atstart tests 1136s ok 848 /regex/match-notempty-atstart/605 1136s # End of match-notempty-atstart tests 1136s # Start of match-notempty-atstart-optimized tests 1136s ok 849 /regex/match-notempty-atstart-optimized/605 1136s # End of match-notempty-atstart-optimized tests 1136s # End of regex tests 1136s ok - glib/regex.test 1136s # Running test: glib/struct-info.test 1136s TAP version 14 1136s # random seed: R02S5c06f353219ed771e9796f41ffc88c1e 1136s 1..4 1136s # Start of struct-info tests 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_NU75J3/struct-info/field-iterators/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_NU75J3/struct-info/field-iterators/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_NU75J3/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_NU75J3/struct-info/field-iterators/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_NU75J3/struct-info/field-iterators/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_NU75J3/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_NU75J3/struct-info/field-iterators/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_NU75J3/struct-info/field-iterators/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_NU75J3/struct-info/field-iterators/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_NU75J3/struct-info/field-iterators/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1136s ok 1 /struct-info/field-iterators 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_NU75J3/struct-info/sizeof-gvalue/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_NU75J3/struct-info/sizeof-gvalue/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_NU75J3/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_NU75J3/struct-info/sizeof-gvalue/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_NU75J3/struct-info/sizeof-gvalue/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_NU75J3/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_NU75J3/struct-info/sizeof-gvalue/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_NU75J3/struct-info/sizeof-gvalue/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_NU75J3/struct-info/sizeof-gvalue/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_NU75J3/struct-info/sizeof-gvalue/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1136s ok 2 /struct-info/sizeof-gvalue 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_NU75J3/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_NU75J3/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_NU75J3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_NU75J3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_NU75J3/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_NU75J3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_NU75J3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_NU75J3/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_NU75J3/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_NU75J3/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1136s ok 3 /struct-info/is-pointer-for-struct-method-arg 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_NU75J3/struct-info/boxed/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_NU75J3/struct-info/boxed/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_NU75J3/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_NU75J3/struct-info/boxed/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_NU75J3/struct-info/boxed/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_NU75J3/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_NU75J3/struct-info/boxed/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_NU75J3/struct-info/boxed/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_NU75J3/struct-info/boxed/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_NU75J3/struct-info/boxed/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1136s ok 4 /struct-info/boxed 1136s # End of struct-info tests 1136s ok - glib/struct-info.test 1136s # Running test: glib/spawn-test.test 1136s TAP version 14 1136s # random seed: R02Sd860f71f06988d8c17af5864d113ea88 1136s 1..2 1136s # Start of spawn tests 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_Q8Z5J3/spawn/basics/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_Q8Z5J3/spawn/basics/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_Q8Z5J3/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_Q8Z5J3/spawn/basics/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_Q8Z5J3/spawn/basics/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_Q8Z5J3/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_Q8Z5J3/spawn/basics/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_Q8Z5J3/spawn/basics/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_Q8Z5J3/spawn/basics/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_Q8Z5J3/spawn/basics/.dirs/runtime 1136s ok 1 /spawn/basics 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_Q8Z5J3/spawn/stdio-overwrite/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_Q8Z5J3/spawn/stdio-overwrite/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_Q8Z5J3/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_Q8Z5J3/spawn/stdio-overwrite/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_Q8Z5J3/spawn/stdio-overwrite/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_Q8Z5J3/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_Q8Z5J3/spawn/stdio-overwrite/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_Q8Z5J3/spawn/stdio-overwrite/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_Q8Z5J3/spawn/stdio-overwrite/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_Q8Z5J3/spawn/stdio-overwrite/.dirs/runtime 1136s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1136s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1136s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1136s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1136s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1136s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1136s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1136s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1136s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1136s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1136s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1136s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1136s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1136s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1136s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1136s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1136s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1136s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1136s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1136s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1136s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1136s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1136s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1136s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1136s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1136s # Fetching GSpawn result with stdin open, stdout open, stderr open 1136s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1136s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1136s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1136s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1136s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1136s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1136s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1136s ok 2 /spawn/stdio-overwrite 1136s # End of spawn tests 1136s ok - glib/spawn-test.test 1136s # Running test: glib/debugcontroller.test 1136s TAP version 14 1136s # random seed: R02S85e347e0c2706661278e083859a5fae4 1136s 1..3 1136s # Start of debug-controller tests 1136s # Start of dbus tests 1136s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1136s # GLib-GIO-DEBUG: Debug output enabled 1136s # GLib-GIO-DEBUG: Debug output disabled 1136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1136s ok 1 /debug-controller/dbus/basic 1136s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1136s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1136s ok 2 /debug-controller/dbus/duplicate 1136s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1136s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1136s # End of dbus tests 1136s # End of debug-controller tests 1136s TAP version 14 1136s # random seed: R02S9fb9df977bffd0287ffbae1c73fe3d73 1136s 1..36 1136s # Start of utf8 tests 1136s # Start of perf tests 1136s # Start of get_char tests 1136s # max perf: 43.0 MB/s 1136s ok 1 /utf8/perf/get_char/ascii 1136s # max perf: inf MB/s 1136s ok 2 /utf8/perf/get_char/latin1 1136s # max perf: 160.0 MB/s 1136s ok 3 /utf8/perf/get_char/cyrillic 1136s # max perf: inf MB/s 1136s ok 4 /utf8/perf/get_char/han 1136s # End of get_char tests 1136s # Start of get_char-backwards tests 1136s # max perf: 43.0 MB/s 1136s ok 5 /utf8/perf/get_char-backwards/ascii 1136s # max perf: inf MB/s 1136s ok 6 /utf8/perf/get_char-backwards/latin1 1136s # max perf: 160.0 MB/s 1136s ok 7 /utf8/perf/get_char-backwards/cyrillic 1136s # max perf: inf MB/s 1136s ok 8 /utf8/perf/get_char-backwards/han 1136s # End of get_char-backwards tests 1136s # Start of get_char_validated tests 1136s # max perf: inf MB/s 1136s ok 9 /utf8/perf/get_char_validated/ascii 1136s # max perf: inf MB/s 1136s ok 10 /utf8/perf/get_char_validated/latin1 1136s # max perf: inf MB/s 1136s ok 11 /utf8/perf/get_char_validated/cyrillic 1136s # max perf: inf MB/s 1136s ok 12 /utf8/perf/get_char_validated/han 1136s # End of get_char_validated tests 1136s # Start of utf8_to_ucs4 tests 1136s # max perf: 21.5 MB/s 1136s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1136s # max perf: inf MB/s 1136s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1136s # max perf: 160.0 MB/s 1136s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1136s # max perf: 156.0 MB/s 1136s ok 16 /utf8/perf/utf8_to_ucs4/han 1136s # End of utf8_to_ucs4 tests 1136s # Start of utf8_to_ucs4-sized tests 1136s # max perf: 43.0 MB/s 1136s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1136s # max perf: 67.0 MB/s 1136s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1136s # max perf: 160.0 MB/s 1136s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1136s # max perf: 156.0 MB/s 1136s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1136s # End of utf8_to_ucs4-sized tests 1136s # Start of utf8_to_ucs4_fast tests 1136s # max perf: inf MB/s 1136s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1136s # max perf: 67.0 MB/s 1136s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1136s # max perf: 160.0 MB/s 1136s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1136s # max perf: 156.0 MB/s 1136s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1136s # End of utf8_to_ucs4_fast tests 1136s # Start of utf8_to_ucs4_fast-sized tests 1136s # max perf: inf MB/s 1136s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1136s # max perf: inf MB/s 1136s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1136s # max perf: inf MB/s 1136s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1136s # max perf: 156.0 MB/s 1136s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1136s # End of utf8_to_ucs4_fast-sized tests 1136s # Start of utf8_validate tests 1136s # max perf: inf MB/s 1136s ok 29 /utf8/perf/utf8_validate/ascii 1136s # max perf: inf MB/s 1136s ok 30 /utf8/perf/utf8_validate/latin1 1136s # max perf: inf MB/s 1136s ok 31 /utf8/perf/utf8_validate/cyrillic 1136s # max perf: inf MB/s 1136s ok 32 /utf8/perf/utf8_validate/han 1136s # End of utf8_validate tests 1136s # Start of utf8_validate-sized tests 1136s # max perf: inf MB/s 1136s ok 33 /utf8/perf/utf8_validate-sized/ascii 1136s # max perf: inf MB/s 1136s ok 34 /utf8/perf/utf8_validate-sized/latin1 1136s # max perf: inf MB/s 1136s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1136s # max perf: 156.0 MB/s 1136s ok 36 /utf8/perf/utf8_validate-sized/han 1136s # End of utf8_validate-sized tests 1136s # End of perf tests 1136s # End of utf8 tests 1136s ok - glib/debugcontroller.test 1136s # Running test: glib/utf8-performance.test 1136s ok - glib/utf8-performance.test 1136s # Running test: glib/async-close-output-stream.test 1136s TAP version 14 1136s # random seed: R02S4735a7c7722257484746232e994193ed 1136s 1..3 1136s # Start of close-async tests 1136s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1136s ok 1 /close-async/without-flush 1136s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1136s ok 2 /close-async/with-flush 1136s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1136s ok 3 /close-async/with-async-flush 1136s # End of close-async tests 1136s ok - glib/async-close-output-stream.test 1136s # Running test: glib/print.test 1136s TAP version 14 1136s # random seed: R02S9e52a4883e0d7be67999ad4f4f810991 1136s 1..1 1136s ok 1 /print-console # SKIP Testing console output only supported on Windows 1136s ok - glib/print.test 1136s # Running test: glib/bookmarkfile.test 1136s TAP version 14 1136s # random seed: R02S9392b3c2788bdb827df56772be444f7c 1136s 1..96 1136s # Start of bookmarks tests 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/load-from-data-dirs/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/load-from-data-dirs/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/load-from-data-dirs/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/load-from-data-dirs/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/load-from-data-dirs/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/load-from-data-dirs/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/load-from-data-dirs/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/load-from-data-dirs/.dirs/runtime 1136s ok 1 /bookmarks/load-from-data-dirs 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/to-file/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/to-file/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/to-file/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/to-file/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/to-file/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/to-file/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/to-file/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/to-file/.dirs/runtime 1136s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_32J6J3/bookmarkfile-test-0VJ6J3.xbel 1136s # Roundtrip from a valid bookmark file 1136s ok 2 /bookmarks/to-file 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/move-item/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/move-item/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/move-item/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/move-item/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/move-item/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/move-item/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/move-item/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/move-item/.dirs/runtime 1136s ok 3 /bookmarks/move-item 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/corner-cases/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/corner-cases/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/corner-cases/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/corner-cases/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/corner-cases/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/corner-cases/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/corner-cases/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/corner-cases/.dirs/runtime 1136s ok 4 /bookmarks/corner-cases 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/misc/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/misc/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/misc/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/misc/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/misc/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/misc/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/misc/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/misc/.dirs/runtime 1136s ok 5 /bookmarks/misc 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/deprecated/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/deprecated/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/deprecated/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/deprecated/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/deprecated/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/deprecated/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/deprecated/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/deprecated/.dirs/runtime 1136s ok 6 /bookmarks/deprecated 1136s # Start of parse tests 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-34.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-34.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-34.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-34.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-34.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-34.xbel/.dirs/runtime 1136s ok 7 /bookmarks/parse/fail-34.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-37.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-37.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-37.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-37.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-37.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-37.xbel/.dirs/runtime 1136s ok 8 /bookmarks/parse/fail-37.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-14.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-14.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-14.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-14.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-14.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-14.xbel/.dirs/runtime 1136s ok 9 /bookmarks/parse/fail-14.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-02.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-02.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-02.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-02.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-02.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-02.xbel/.dirs/runtime 1136s ok 10 /bookmarks/parse/valid-02.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-09.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-09.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-09.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-09.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-09.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-09.xbel/.dirs/runtime 1136s ok 11 /bookmarks/parse/fail-09.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-25.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-25.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-25.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-25.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-25.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-25.xbel/.dirs/runtime 1136s ok 12 /bookmarks/parse/fail-25.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-18.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-18.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-18.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-18.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-18.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-18.xbel/.dirs/runtime 1136s ok 13 /bookmarks/parse/fail-18.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-08.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-08.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-08.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-08.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-08.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-08.xbel/.dirs/runtime 1136s ok 14 /bookmarks/parse/fail-08.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-07.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-07.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-07.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-07.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-07.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-07.xbel/.dirs/runtime 1136s ok 15 /bookmarks/parse/fail-07.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-15.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-15.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-15.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-15.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-15.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-15.xbel/.dirs/runtime 1136s ok 16 /bookmarks/parse/fail-15.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-33.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-33.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-33.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-33.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-33.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-33.xbel/.dirs/runtime 1136s ok 17 /bookmarks/parse/fail-33.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-16.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-16.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-16.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-16.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-16.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-16.xbel/.dirs/runtime 1136s ok 18 /bookmarks/parse/fail-16.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-19.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-19.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-19.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-19.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-19.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-19.xbel/.dirs/runtime 1136s ok 19 /bookmarks/parse/fail-19.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-22.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-22.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-22.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-22.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-22.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-22.xbel/.dirs/runtime 1136s ok 20 /bookmarks/parse/fail-22.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-03.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-03.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-03.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-03.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-03.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-03.xbel/.dirs/runtime 1136s ok 21 /bookmarks/parse/fail-03.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-17.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-17.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-17.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-17.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-17.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-17.xbel/.dirs/runtime 1136s ok 22 /bookmarks/parse/fail-17.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-40.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-40.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-40.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-40.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-40.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-40.xbel/.dirs/runtime 1136s ok 23 /bookmarks/parse/fail-40.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-31.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-31.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-31.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-31.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-31.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-31.xbel/.dirs/runtime 1136s ok 24 /bookmarks/parse/fail-31.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-36.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-36.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-36.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-36.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-36.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-36.xbel/.dirs/runtime 1136s ok 25 /bookmarks/parse/fail-36.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-29.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-29.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-29.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-29.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-29.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-29.xbel/.dirs/runtime 1136s ok 26 /bookmarks/parse/fail-29.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-11.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-11.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-11.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-11.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-11.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-11.xbel/.dirs/runtime 1136s ok 27 /bookmarks/parse/fail-11.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-02.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-02.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-02.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-02.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-02.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-02.xbel/.dirs/runtime 1136s ok 28 /bookmarks/parse/fail-02.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-41.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-41.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-41.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-41.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-41.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-41.xbel/.dirs/runtime 1136s ok 29 /bookmarks/parse/fail-41.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-30.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-30.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-30.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-30.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-30.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-30.xbel/.dirs/runtime 1136s ok 30 /bookmarks/parse/fail-30.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-04.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-04.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-04.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-04.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-04.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-04.xbel/.dirs/runtime 1136s ok 31 /bookmarks/parse/fail-04.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-32.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-32.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-32.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-32.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-32.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-32.xbel/.dirs/runtime 1136s ok 32 /bookmarks/parse/fail-32.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-26.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-26.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-26.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-26.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-26.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-26.xbel/.dirs/runtime 1136s ok 33 /bookmarks/parse/fail-26.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-20.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-20.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-20.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-20.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-20.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-20.xbel/.dirs/runtime 1136s ok 34 /bookmarks/parse/fail-20.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-28.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-28.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-28.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-28.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-28.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-28.xbel/.dirs/runtime 1136s ok 35 /bookmarks/parse/fail-28.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-06.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-06.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-06.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-06.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-06.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-06.xbel/.dirs/runtime 1136s ok 36 /bookmarks/parse/fail-06.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-42.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-42.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-42.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-42.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-42.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-42.xbel/.dirs/runtime 1136s ok 37 /bookmarks/parse/fail-42.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-23.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-23.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-23.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-23.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-23.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-23.xbel/.dirs/runtime 1136s ok 38 /bookmarks/parse/fail-23.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-01.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-01.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-01.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-01.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-01.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-01.xbel/.dirs/runtime 1136s ok 39 /bookmarks/parse/valid-01.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-12.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-12.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-12.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-12.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-12.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-12.xbel/.dirs/runtime 1136s ok 40 /bookmarks/parse/fail-12.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-35.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-35.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-35.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-35.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-35.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-35.xbel/.dirs/runtime 1136s ok 41 /bookmarks/parse/fail-35.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-39.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-39.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-39.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-39.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-39.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-39.xbel/.dirs/runtime 1136s ok 42 /bookmarks/parse/fail-39.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-05.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-05.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-05.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-05.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-05.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-05.xbel/.dirs/runtime 1136s ok 43 /bookmarks/parse/fail-05.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-01.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-01.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-01.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-01.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-01.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-01.xbel/.dirs/runtime 1136s ok 44 /bookmarks/parse/fail-01.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-38.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-38.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-38.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-38.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-38.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-38.xbel/.dirs/runtime 1136s ok 45 /bookmarks/parse/fail-38.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-27.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-27.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-27.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-27.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-27.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-27.xbel/.dirs/runtime 1136s ok 46 /bookmarks/parse/fail-27.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-24.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-24.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-24.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-24.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-24.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-24.xbel/.dirs/runtime 1136s ok 47 /bookmarks/parse/fail-24.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-21.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-21.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-21.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-21.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-21.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-21.xbel/.dirs/runtime 1136s ok 48 /bookmarks/parse/fail-21.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-13.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-13.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-13.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-13.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-13.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-13.xbel/.dirs/runtime 1136s ok 49 /bookmarks/parse/fail-13.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-10.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-10.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-10.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-10.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-10.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/fail-10.xbel/.dirs/runtime 1136s ok 50 /bookmarks/parse/fail-10.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-03.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-03.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-03.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-03.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-03.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/parse/valid-03.xbel/.dirs/runtime 1136s ok 51 /bookmarks/parse/valid-03.xbel 1136s # End of parse tests 1136s # Start of copy tests 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-34.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-34.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-34.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-34.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-34.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-34.xbel/.dirs/runtime 1136s ok 52 /bookmarks/copy/fail-34.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-37.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-37.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-37.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-37.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-37.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-37.xbel/.dirs/runtime 1136s ok 53 /bookmarks/copy/fail-37.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-14.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-14.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-14.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-14.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-14.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-14.xbel/.dirs/runtime 1136s ok 54 /bookmarks/copy/fail-14.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-02.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-02.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-02.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-02.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-02.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-02.xbel/.dirs/runtime 1136s ok 55 /bookmarks/copy/valid-02.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-09.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-09.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-09.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-09.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-09.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-09.xbel/.dirs/runtime 1136s ok 56 /bookmarks/copy/fail-09.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-25.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-25.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-25.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-25.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-25.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-25.xbel/.dirs/runtime 1136s ok 57 /bookmarks/copy/fail-25.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-18.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-18.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-18.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-18.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-18.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-18.xbel/.dirs/runtime 1136s ok 58 /bookmarks/copy/fail-18.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-08.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-08.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-08.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-08.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-08.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-08.xbel/.dirs/runtime 1136s ok 59 /bookmarks/copy/fail-08.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-07.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-07.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-07.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-07.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-07.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-07.xbel/.dirs/runtime 1136s ok 60 /bookmarks/copy/fail-07.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-15.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-15.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-15.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-15.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-15.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-15.xbel/.dirs/runtime 1136s ok 61 /bookmarks/copy/fail-15.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-33.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-33.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-33.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-33.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-33.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-33.xbel/.dirs/runtime 1136s ok 62 /bookmarks/copy/fail-33.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-16.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-16.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-16.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-16.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-16.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-16.xbel/.dirs/runtime 1136s ok 63 /bookmarks/copy/fail-16.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-19.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-19.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-19.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-19.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-19.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-19.xbel/.dirs/runtime 1136s ok 64 /bookmarks/copy/fail-19.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-22.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-22.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-22.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-22.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-22.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-22.xbel/.dirs/runtime 1136s ok 65 /bookmarks/copy/fail-22.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-03.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-03.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-03.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-03.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-03.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-03.xbel/.dirs/runtime 1136s ok 66 /bookmarks/copy/fail-03.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-17.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-17.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-17.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-17.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-17.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-17.xbel/.dirs/runtime 1136s ok 67 /bookmarks/copy/fail-17.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-40.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-40.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-40.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-40.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-40.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-40.xbel/.dirs/runtime 1136s ok 68 /bookmarks/copy/fail-40.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-31.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-31.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-31.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-31.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-31.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-31.xbel/.dirs/runtime 1136s ok 69 /bookmarks/copy/fail-31.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-36.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-36.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-36.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-36.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-36.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-36.xbel/.dirs/runtime 1136s ok 70 /bookmarks/copy/fail-36.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-29.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-29.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-29.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-29.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-29.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-29.xbel/.dirs/runtime 1136s ok 71 /bookmarks/copy/fail-29.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-11.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-11.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-11.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-11.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-11.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-11.xbel/.dirs/runtime 1136s ok 72 /bookmarks/copy/fail-11.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-02.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-02.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-02.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-02.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-02.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-02.xbel/.dirs/runtime 1136s ok 73 /bookmarks/copy/fail-02.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-41.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-41.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-41.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-41.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-41.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-41.xbel/.dirs/runtime 1136s ok 74 /bookmarks/copy/fail-41.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-30.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-30.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-30.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-30.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-30.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-30.xbel/.dirs/runtime 1136s ok 75 /bookmarks/copy/fail-30.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-04.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-04.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-04.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-04.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-04.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-04.xbel/.dirs/runtime 1136s ok 76 /bookmarks/copy/fail-04.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-32.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-32.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-32.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-32.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-32.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-32.xbel/.dirs/runtime 1136s ok 77 /bookmarks/copy/fail-32.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-26.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-26.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-26.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-26.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-26.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-26.xbel/.dirs/runtime 1136s ok 78 /bookmarks/copy/fail-26.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-20.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-20.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-20.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-20.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-20.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-20.xbel/.dirs/runtime 1136s ok 79 /bookmarks/copy/fail-20.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-28.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-28.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-28.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-28.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-28.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-28.xbel/.dirs/runtime 1136s ok 80 /bookmarks/copy/fail-28.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-06.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-06.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-06.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-06.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-06.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-06.xbel/.dirs/runtime 1136s ok 81 /bookmarks/copy/fail-06.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-42.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-42.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-42.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-42.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-42.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-42.xbel/.dirs/runtime 1136s ok 82 /bookmarks/copy/fail-42.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-23.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-23.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-23.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-23.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-23.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-23.xbel/.dirs/runtime 1136s ok 83 /bookmarks/copy/fail-23.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-01.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-01.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-01.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-01.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-01.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-01.xbel/.dirs/runtime 1136s ok 84 /bookmarks/copy/valid-01.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-12.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-12.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-12.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-12.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-12.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-12.xbel/.dirs/runtime 1136s ok 85 /bookmarks/copy/fail-12.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-35.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-35.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-35.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-35.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-35.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-35.xbel/.dirs/runtime 1136s ok 86 /bookmarks/copy/fail-35.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-39.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-39.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-39.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-39.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-39.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-39.xbel/.dirs/runtime 1136s ok 87 /bookmarks/copy/fail-39.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-05.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-05.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-05.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-05.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-05.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-05.xbel/.dirs/runtime 1136s ok 88 /bookmarks/copy/fail-05.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-01.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-01.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-01.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-01.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-01.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-01.xbel/.dirs/runtime 1136s ok 89 /bookmarks/copy/fail-01.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-38.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-38.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-38.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-38.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-38.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-38.xbel/.dirs/runtime 1136s ok 90 /bookmarks/copy/fail-38.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-27.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-27.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-27.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-27.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-27.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-27.xbel/.dirs/runtime 1136s ok 91 /bookmarks/copy/fail-27.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-24.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-24.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-24.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-24.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-24.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-24.xbel/.dirs/runtime 1136s ok 92 /bookmarks/copy/fail-24.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-21.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-21.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-21.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-21.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-21.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-21.xbel/.dirs/runtime 1136s ok 93 /bookmarks/copy/fail-21.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-13.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-13.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-13.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-13.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-13.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-13.xbel/.dirs/runtime 1136s ok 94 /bookmarks/copy/fail-13.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-10.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-10.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-10.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-10.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-10.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/fail-10.xbel/.dirs/runtime 1136s ok 95 /bookmarks/copy/fail-10.xbel 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-03.xbel/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-03.xbel/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-03.xbel/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-03.xbel/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-03.xbel/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_32J6J3/bookmarks/copy/valid-03.xbel/.dirs/runtime 1136s ok 96 /bookmarks/copy/valid-03.xbel 1136s # End of copy tests 1136s # End of bookmarks tests 1136s ok - glib/bookmarkfile.test 1136s # Running test: glib/repository.test 1136s TAP version 14 1136s # random seed: R02S46835a7e2dde0a4a00e8fdf449c90a78 1136s 1..24 1136s # Start of repository tests 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/basic/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/basic/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/basic/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/basic/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/basic/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/basic/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/basic/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/basic/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/basic/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/basic/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1136s ok 1 /repository/basic 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/info/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/info/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/info/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/info/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/info/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/info/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/info/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/info/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/info/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/info/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1136s ok 2 /repository/info 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/dependencies/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/dependencies/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/dependencies/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/dependencies/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/dependencies/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/dependencies/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/dependencies/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/dependencies/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/dependencies/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/dependencies/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1136s ok 3 /repository/dependencies 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/arg-info/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/arg-info/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/arg-info/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/arg-info/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/arg-info/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/arg-info/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/arg-info/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/arg-info/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/arg-info/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/arg-info/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1136s ok 4 /repository/arg-info 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/callable-info/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/callable-info/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/callable-info/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/callable-info/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/callable-info/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/callable-info/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/callable-info/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/callable-info/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/callable-info/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/callable-info/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1136s ok 5 /repository/callable-info 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/callback-info/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/callback-info/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/callback-info/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/callback-info/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/callback-info/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/callback-info/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/callback-info/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/callback-info/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/callback-info/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/callback-info/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1136s ok 6 /repository/callback-info 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/char-types/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/char-types/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/char-types/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/char-types/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/char-types/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/char-types/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/char-types/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/char-types/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/char-types/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/char-types/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1136s ok 7 /repository/char-types 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/constructor-return-type/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/constructor-return-type/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/constructor-return-type/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/constructor-return-type/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/constructor-return-type/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/constructor-return-type/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/constructor-return-type/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/constructor-return-type/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1136s ok 8 /repository/constructor-return-type 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/enum-info-c-identifier/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/enum-info-c-identifier/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/enum-info-c-identifier/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/enum-info-c-identifier/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/enum-info-c-identifier/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/enum-info-c-identifier/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/enum-info-c-identifier/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/enum-info-c-identifier/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1136s ok 9 /repository/enum-info-c-identifier 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/enum-info-static-methods/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/enum-info-static-methods/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/enum-info-static-methods/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/enum-info-static-methods/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/enum-info-static-methods/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/enum-info-static-methods/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/enum-info-static-methods/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/enum-info-static-methods/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/enum-info-static-methods summary: Test an enum with methods 1136s ok 10 /repository/enum-info-static-methods 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/error-quark/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/error-quark/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/error-quark/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/error-quark/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/error-quark/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/error-quark/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/error-quark/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/error-quark/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/error-quark/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/error-quark/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/error-quark summary: Test finding an error quark by error domain 1136s ok 11 /repository/error-quark 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/flags-info-c-identifier/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/flags-info-c-identifier/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/flags-info-c-identifier/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/flags-info-c-identifier/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/flags-info-c-identifier/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/flags-info-c-identifier/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/flags-info-c-identifier/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/flags-info-c-identifier/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1136s ok 12 /repository/flags-info-c-identifier 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/fundamental-ref-func/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/fundamental-ref-func/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/fundamental-ref-func/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/fundamental-ref-func/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/fundamental-ref-func/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/fundamental-ref-func/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/fundamental-ref-func/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/fundamental-ref-func/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1136s ok 13 /repository/fundamental-ref-func 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/instance-method-ownership-transfer/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/instance-method-ownership-transfer/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/instance-method-ownership-transfer/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/instance-method-ownership-transfer/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/instance-method-ownership-transfer/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/instance-method-ownership-transfer/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/instance-method-ownership-transfer/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/instance-method-ownership-transfer/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1136s ok 14 /repository/instance-method-ownership-transfer 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/object-gtype-interfaces/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/object-gtype-interfaces/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/object-gtype-interfaces/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/object-gtype-interfaces/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/object-gtype-interfaces/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/object-gtype-interfaces/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/object-gtype-interfaces/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/object-gtype-interfaces/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1136s ok 15 /repository/object-gtype-interfaces 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/signal-info-with-array-length-arg/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/signal-info-with-array-length-arg/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/signal-info-with-array-length-arg/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/signal-info-with-array-length-arg/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/signal-info-with-array-length-arg/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/signal-info-with-array-length-arg/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/signal-info-with-array-length-arg/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/signal-info-with-array-length-arg/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1136s ok 16 /repository/signal-info-with-array-length-arg 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/type-info-name/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/type-info-name/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/type-info-name/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/type-info-name/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/type-info-name/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/type-info-name/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/type-info-name/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/type-info-name/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1136s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1136s ok 17 /repository/type-info-name 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-no-invoker/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-no-invoker/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-no-invoker/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-no-invoker/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-no-invoker/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-no-invoker/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1136s ok 18 /repository/vfunc-info-with-no-invoker 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1136s ok 19 /repository/vfunc-info-with-invoker-on-interface 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-object/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-object/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-object/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-object/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1136s ok 20 /repository/vfunc-info-with-invoker-on-object 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/find-by-gtype/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/find-by-gtype/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/find-by-gtype/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/find-by-gtype/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/find-by-gtype/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/find-by-gtype/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/find-by-gtype/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/find-by-gtype/.dirs/runtime 1136s ok - glib/repository.test 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/find-by-gtype summary: Test finding a GType 1136s ok 21 /repository/find-by-gtype 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/loaded-namespaces/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/loaded-namespaces/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/loaded-namespaces/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/loaded-namespaces/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/loaded-namespaces/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/loaded-namespaces/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/loaded-namespaces/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/loaded-namespaces/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1136s ok 22 /repository/loaded-namespaces 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/dup_default/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/dup_default/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/dup_default/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/dup_default/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/dup_default/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/dup_default/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/dup_default/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/dup_default/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/dup_default/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/dup_default/.dirs/runtime 1136s ok 23 /repository/dup_default 1136s # Start of base-info tests 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_6BM6J3/repository/base-info/clear/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_6BM6J3/repository/base-info/clear/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_6BM6J3/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_6BM6J3/repository/base-info/clear/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_6BM6J3/repository/base-info/clear/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_6BM6J3/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_6BM6J3/repository/base-info/clear/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_6BM6J3/repository/base-info/clear/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_6BM6J3/repository/base-info/clear/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_6BM6J3/repository/base-info/clear/.dirs/runtime 1136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1136s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1136s ok 24 /repository/base-info/clear 1136s # End of base-info tests 1136s # End of repository tests 1136s # Running test: glib/autoptr-gio.test 1136s TAP version 14 1136s # random seed: R02S2b60e1afd975b8d1d5c6ee72e2d2a016 1136s 1..1 1136s # Start of autoptr tests 1136s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1136s ok - glib/autoptr-gio.test 1136s # Running test: glib/signals.test 1136s ok 1 /autoptr/autoptr 1136s # End of autoptr tests 1136s TAP version 14 1136s # random seed: R02Sd780b855f9e66825c69159bcb211db0c 1136s 1..32 1136s # Start of gobject tests 1136s # Start of signals tests 1136s ok 1 /gobject/signals/all-types 1136s ok 2 /gobject/signals/variant 1136s ok 3 /gobject/signals/destroy-target-object 1136s ok 4 /gobject/signals/generic-marshaller-1 1136s ok 5 /gobject/signals/generic-marshaller-2 1136s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1136s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1136s ok 8 /gobject/signals/generic-marshaller-int-return 1136s ok 9 /gobject/signals/generic-marshaller-uint-return 1136s ok 10 /gobject/signals/generic-marshaller-interface-return 1136s ok 11 /gobject/signals/custom-marshaller 1136s ok 12 /gobject/signals/connect 1136s ok 13 /gobject/signals/is-connected 1136s ok 14 /gobject/signals/emission-hook 1136s ok 15 /gobject/signals/emitv 1136s ok 16 /gobject/signals/accumulator 1136s # Signal: accumulator-class-first 1136s # Signal: accumulator-class-last 1136s # Signal: accumulator-class-cleanup 1136s # Signal: accumulator-class-first-last 1136s # Signal: accumulator-class-first-last-cleanup 1136s # Signal: accumulator-class-last-cleanup 1136s ok 17 /gobject/signals/accumulator-class 1136s ok 18 /gobject/signals/introspection 1136s ok 19 /gobject/signals/block-handler 1136s ok 20 /gobject/signals/stop-emission 1136s ok 21 /gobject/signals/invocation-hint 1136s ok 22 /gobject/signals/test-disconnection-wrong-object 1136s ok 23 /gobject/signals/clear-signal-handler 1136s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1136s ok 24 /gobject/signals/lookup 1136s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1136s ok 25 /gobject/signals/parse-name 1136s ok 26 /gobject/signals/is-valid-name 1136s ok 27 /gobject/signals/weak-ref-disconnect 1136s # Start of lookup tests 1136s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1136s ok 28 /gobject/signals/lookup/invalid 1136s # End of lookup tests 1136s # Start of parse-name tests 1136s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1136s # Parser input: 1136s # Parser input: 7zip 1136s # Parser input: invalid:signal 1136s # Parser input: simple-detailed:: 1136s # Parser input: simple-detailed: 1136s # Parser input: : 1136s # Parser input: :: 1136s # Parser input: :valid-detail 1136s # Parser input: ::valid-detail 1136s ok 29 /gobject/signals/parse-name/invalid 1136s # End of parse-name tests 1136s # Start of invalid-name tests 1136s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1136s ok 30 /gobject/signals/invalid-name/colon 1136s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1136s ok 31 /gobject/signals/invalid-name/first-char 1136s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1136s ok 32 /gobject/signals/invalid-name/empty 1136s # End of invalid-name tests 1136s # End of signals tests 1136s # End of gobject tests 1136s ok - glib/signals.test 1136s # Running test: glib/enums.test 1136s TAP version 14 1136s # random seed: R02S0d1a0900a867f3c25d54da2e33afe148 1136s 1..4 1136s # Start of enum tests 1136s ok 1 /enum/basic 1136s ok 2 /enum/define-type 1136s # End of enum tests 1136s # Start of flags tests 1136s ok 3 /flags/basic 1136s ok 4 /flags/define-type 1136s # End of flags tests 1136s ok - glib/enums.test 1136s # Running test: glib/utils-c-11.test 1136s TAP version 14 1136s # random seed: R02S9c4802ed6f4dcad8fcfff20a3333f06f 1136s 1..41 1136s # Start of utils tests 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/language-names/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/language-names/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/language-names/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/language-names/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/language-names/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/language-names/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/language-names/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/language-names/.dirs/runtime 1136s ok 1 /utils/language-names 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/locale-variants/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/locale-variants/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/locale-variants/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/locale-variants/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/locale-variants/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/locale-variants/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/locale-variants/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/locale-variants/.dirs/runtime 1136s # Testing locale ‘en’ 1136s # Testing locale ‘sr@latin’ 1136s # Testing locale ‘fr_BE’ 1136s # Testing locale ‘sr_SR@latin’ 1136s # Testing locale ‘sr_SR@latin.UTF-8’ 1136s # Testing locale ‘sr@latin_invalid’ 1136s # Testing locale ‘sr.UTF-8@latin’ 1136s # Testing locale ‘sr.UTF-8_latin’ 1136s # Testing locale ‘sr.UTF-8@latin_invalid’ 1136s ok 2 /utils/locale-variants 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/version/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/version/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/version/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/version/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/version/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/version/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/version/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/version/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/version/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/version/.dirs/runtime 1136s ok 3 /utils/version 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/appname/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/appname/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/appname/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/appname/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/appname/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/appname/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/appname/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/appname/.dirs/runtime 1136s ok 4 /utils/appname 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/prgname-thread-safety/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/prgname-thread-safety/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/prgname-thread-safety/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/prgname-thread-safety/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/prgname-thread-safety/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/prgname-thread-safety/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/prgname-thread-safety/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/prgname-thread-safety/.dirs/runtime 1136s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1136s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1136s ok 5 /utils/prgname-thread-safety 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/tmpdir/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/tmpdir/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/tmpdir/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/tmpdir/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/tmpdir/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/tmpdir/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/tmpdir/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/tmpdir/.dirs/runtime 1136s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1136s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1136s Unable to clean up temporary directory /tmp/test_utils-c-11_S7U7J3/utils/tmpdir: No such file or directory 1136s ok 6 /utils/tmpdir 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/basic_bits/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/basic_bits/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/basic_bits/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/basic_bits/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/basic_bits/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/basic_bits/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/basic_bits/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/basic_bits/.dirs/runtime 1136s ok 7 /utils/basic_bits 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/bits/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/bits/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/bits/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/bits/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/bits/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/bits/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/bits/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/bits/.dirs/runtime 1136s ok 8 /utils/bits 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/swap/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/swap/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/swap/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/swap/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/swap/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/swap/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/swap/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/swap/.dirs/runtime 1136s ok 9 /utils/swap 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/find-program/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/find-program/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/find-program/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/find-program/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/find-program/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/find-program/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/find-program/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/find-program/.dirs/runtime 1136s ok 10 /utils/find-program 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/find-program-for-path/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/find-program-for-path/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/find-program-for-path/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/find-program-for-path/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/find-program-for-path/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/find-program-for-path/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/find-program-for-path/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/find-program-for-path/.dirs/runtime 1136s ok 11 /utils/find-program-for-path 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/debug/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/debug/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/debug/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/debug/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/debug/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/debug/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/debug/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/debug/.dirs/runtime 1136s Unable to clean up temporary directory /tmp/test_utils-c-11_S7U7J3/utils/debug: No such file or directory 1136s ok 12 /utils/debug 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/codeset/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/codeset/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/codeset/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/codeset/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/codeset/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/codeset/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/codeset/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/codeset/.dirs/runtime 1136s ok 13 /utils/codeset 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/codeset2/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/codeset2/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/codeset2/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/codeset2/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/codeset2/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/codeset2/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/codeset2/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/codeset2/.dirs/runtime 1136s Unable to clean up temporary directory /tmp/test_utils-c-11_S7U7J3/utils/codeset2: No such file or directory 1136s ok 14 /utils/codeset2 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/console-charset/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/console-charset/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/console-charset/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/console-charset/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/console-charset/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/console-charset/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/console-charset/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/console-charset/.dirs/runtime 1136s ok 15 /utils/console-charset 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/gettext/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/gettext/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/gettext/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/gettext/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/gettext/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/gettext/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/gettext/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/gettext/.dirs/runtime 1136s ok 16 /utils/gettext 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/username/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/username/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/username/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/username/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/username/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/username/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/username/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/username/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/username/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/username/.dirs/runtime 1136s ok 17 /utils/username 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/realname/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/realname/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/realname/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/realname/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/realname/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/realname/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/realname/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/realname/.dirs/runtime 1136s ok 18 /utils/realname 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/hostname/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/hostname/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/hostname/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/hostname/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/hostname/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/hostname/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/hostname/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/hostname/.dirs/runtime 1136s ok 19 /utils/hostname 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/os-info/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/os-info/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/os-info/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/os-info/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/os-info/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/os-info/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/os-info/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/os-info/.dirs/runtime 1136s # NAME: Ubuntu 1136s ok 20 /utils/os-info 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/.dirs/runtime 1136s ok 21 /utils/clear-pointer 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer-cast/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer-cast/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/clear-pointer-cast/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer-cast/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/clear-pointer-cast/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer-cast/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer-cast/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer-cast/.dirs/runtime 1136s ok 22 /utils/clear-pointer-cast 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/take-pointer/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/take-pointer/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/take-pointer/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/take-pointer/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/take-pointer/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/take-pointer/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/take-pointer/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/take-pointer/.dirs/runtime 1136s ok 23 /utils/take-pointer 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-source/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-source/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/clear-source/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-source/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/clear-source/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-source/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-source/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/clear-source/.dirs/runtime 1136s ok 24 /utils/clear-source 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/misc-mem/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/misc-mem/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/misc-mem/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/misc-mem/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/misc-mem/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/misc-mem/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/misc-mem/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/misc-mem/.dirs/runtime 1136s ok 25 /utils/misc-mem 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/.dirs/runtime 1136s # /utils/aligned-mem summary: Aligned memory allocator 1136s # Alignment must not be zero 1136s # Alignment must be a power of two 1136s # Alignment must be a multiple of sizeof(void*) 1136s ok 26 /utils/aligned-mem 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/free-sized/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/free-sized/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/free-sized/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/free-sized/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/free-sized/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/free-sized/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/free-sized/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/free-sized/.dirs/runtime 1136s # /utils/free-sized summary: Check that g_free_sized() works 1136s ok 27 /utils/free-sized 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/nullify/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/nullify/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/nullify/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/nullify/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/nullify/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/nullify/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/nullify/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/nullify/.dirs/runtime 1136s ok 28 /utils/nullify 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/atexit/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/atexit/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/atexit/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/atexit/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/atexit/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/atexit/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/atexit/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/atexit/.dirs/runtime 1136s Unable to clean up temporary directory /tmp/test_utils-c-11_S7U7J3/utils/atexit: No such file or directory 1136s ok 29 /utils/atexit 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/check-setuid/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/check-setuid/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/check-setuid/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/check-setuid/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/check-setuid/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/check-setuid/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/check-setuid/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/check-setuid/.dirs/runtime 1136s ok 30 /utils/check-setuid 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/int-limits/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/int-limits/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/int-limits/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/int-limits/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/int-limits/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/int-limits/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/int-limits/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/int-limits/.dirs/runtime 1136s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1136s ok 31 /utils/int-limits 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-list/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-list/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/clear-list/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-list/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/clear-list/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-list/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-list/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/clear-list/.dirs/runtime 1136s ok 32 /utils/clear-list 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-slist/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-slist/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/clear-slist/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-slist/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/clear-slist/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-slist/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-slist/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/clear-slist/.dirs/runtime 1136s ok 33 /utils/clear-slist 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/steal-handle-id/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/steal-handle-id/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/steal-handle-id/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/steal-handle-id/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/steal-handle-id/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/steal-handle-id/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/steal-handle-id/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/steal-handle-id/.dirs/runtime 1136s ok 34 /utils/steal-handle-id 1136s # Start of user-special-dirs tests 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/desktop/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/desktop/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/desktop/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/desktop/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/desktop/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/desktop/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/desktop/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/desktop/.dirs/runtime 1136s ok 35 /utils/user-special-dirs/desktop 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/load-unlocked/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/load-unlocked/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/load-unlocked/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/load-unlocked/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/load-unlocked/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1136s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1136s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1136s Unable to clean up temporary directory /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/load-unlocked: No such file or directory 1136s ok 36 /utils/user-special-dirs/load-unlocked 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/reload-leaks/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/reload-leaks/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/reload-leaks/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/reload-leaks/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/reload-leaks/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1136s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1136s Unable to clean up temporary directory /tmp/test_utils-c-11_S7U7J3/utils/user-special-dirs/reload-leaks: No such file or directory 1136s ok 37 /utils/user-special-dirs/reload-leaks 1136s # End of user-special-dirs tests 1136s # Start of clear-pointer tests 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/side-effects/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/side-effects/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/side-effects/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/side-effects/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/side-effects/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/side-effects/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/side-effects/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/clear-pointer/side-effects/.dirs/runtime 1136s ok 38 /utils/clear-pointer/side-effects 1136s # End of clear-pointer tests 1136s # Start of aligned-mem tests 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/alignment/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/alignment/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/alignment/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/alignment/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/alignment/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/alignment/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/alignment/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/alignment/.dirs/runtime 1136s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1136s ok 39 /utils/aligned-mem/alignment 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/zeroed/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/zeroed/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/zeroed/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/zeroed/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/zeroed/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/zeroed/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/zeroed/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/zeroed/.dirs/runtime 1136s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1136s ok 40 /utils/aligned-mem/zeroed 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/free-sized/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/free-sized/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/free-sized/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/free-sized/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/free-sized/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/free-sized/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/free-sized/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_S7U7J3/utils/aligned-mem/free-sized/.dirs/runtime 1136s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1136s ok 41 /utils/aligned-mem/free-sized 1136s # Start of subprocess tests 1136s # End of subprocess tests 1136s # End of aligned-mem tests 1136s # End of utils tests 1136s ok - glib/utils-c-11.test 1136s # Running test: glib/io-channel-basic.test 1136s TAP version 14 1136s # random seed: R02Sa6b43e3f67cb216afface99fe5a07b9d 1136s 1..1 1136s # Start of gio tests 1136s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1136s # random seed: R02S956827638fd503427589e3426e72ece0 1136s # GLib-DEBUG: io-channel-basic: child writing 8+3614 bytes to 6 1136s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1136s # GLib-DEBUG: io-channel-basic: ...from 5: 3614 bytes 1136s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1136s # GLib-DEBUG: io-channel-basic: child writing 8+4371 bytes to 6 1136s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1136s # GLib-DEBUG: io-channel-basic: ...from 5: 4371 bytes 1136s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1137s # GLib-DEBUG: io-channel-basic: child writing 8+1964 bytes to 6 1137s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1137s # GLib-DEBUG: io-channel-basic: ...from 5: 1964 bytes 1137s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1137s # Executing: glib/io-channel-basic.test 1137s # GLib-DEBUG: io-channel-basic: child writing 8+708 bytes to 6 1137s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1137s # GLib-DEBUG: io-channel-basic: ...from 5: 708 bytes 1137s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1137s # GLib-DEBUG: io-channel-basic: child writing 8+228 bytes to 6 1137s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1137s # GLib-DEBUG: io-channel-basic: ...from 5: 228 bytes 1137s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1137s # GLib-DEBUG: io-channel-basic: child writing 8+2817 bytes to 6 1137s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1137s # GLib-DEBUG: io-channel-basic: ...from 5: 2817 bytes 1137s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1138s # GLib-DEBUG: io-channel-basic: child writing 8+878 bytes to 6 1138s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1138s # GLib-DEBUG: io-channel-basic: ...from 5: 878 bytes 1138s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1138s # GLib-DEBUG: io-channel-basic: child writing 8+3189 bytes to 6 1138s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1138s # GLib-DEBUG: io-channel-basic: ...from 5: 3189 bytes 1138s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1138s # GLib-DEBUG: io-channel-basic: child writing 8+3055 bytes to 6 1138s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1138s # GLib-DEBUG: io-channel-basic: ...from 5: 3055 bytes 1138s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1139s # GLib-DEBUG: io-channel-basic: child writing 8+934 bytes to 6 1139s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1139s # GLib-DEBUG: io-channel-basic: ...from 5: 934 bytes 1139s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1139s # GLib-DEBUG: io-channel-basic: child writing 8+3569 bytes to 6 1139s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1139s # GLib-DEBUG: io-channel-basic: ...from 5: 3569 bytes 1139s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1139s # GLib-DEBUG: io-channel-basic: child writing 8+2252 bytes to 6 1139s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1139s # GLib-DEBUG: io-channel-basic: ...from 5: 2252 bytes 1139s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1139s # GLib-DEBUG: io-channel-basic: child writing 8+2331 bytes to 6 1139s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1139s # GLib-DEBUG: io-channel-basic: ...from 5: 2331 bytes 1139s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1140s # GLib-DEBUG: io-channel-basic: child writing 8+3662 bytes to 6 1140s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1140s # GLib-DEBUG: io-channel-basic: ...from 5: 3662 bytes 1140s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1140s # GLib-DEBUG: io-channel-basic: child writing 8+2714 bytes to 6 1140s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1140s # GLib-DEBUG: io-channel-basic: ...from 5: 2714 bytes 1140s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1140s # GLib-DEBUG: io-channel-basic: child writing 8+4278 bytes to 6 1140s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1140s # GLib-DEBUG: io-channel-basic: ...from 5: 4278 bytes 1140s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1140s # GLib-DEBUG: io-channel-basic: child writing 8+1037 bytes to 6 1140s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1140s # GLib-DEBUG: io-channel-basic: ...from 5: 1037 bytes 1140s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1141s # GLib-DEBUG: io-channel-basic: child writing 8+1946 bytes to 6 1141s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1141s # GLib-DEBUG: io-channel-basic: ...from 5: 1946 bytes 1141s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1141s # GLib-DEBUG: io-channel-basic: child writing 8+65 bytes to 6 1141s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1141s # GLib-DEBUG: io-channel-basic: ...from 5: 65 bytes 1141s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1141s # GLib-DEBUG: io-channel-basic: child writing 8+2735 bytes to 6 1141s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1141s # GLib-DEBUG: io-channel-basic: ...from 5: 2735 bytes 1141s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1141s # GLib-DEBUG: io-channel-basic: child writing 8+3829 bytes to 6 1141s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1141s # GLib-DEBUG: io-channel-basic: ...from 5: 3829 bytes 1141s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1142s # GLib-DEBUG: io-channel-basic: child writing 8+3092 bytes to 6 1142s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1142s # GLib-DEBUG: io-channel-basic: ...from 5: 3092 bytes 1142s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1142s # Executing: glib/io-channel-basic.test 1142s # GLib-DEBUG: io-channel-basic: child writing 8+3296 bytes to 6 1142s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1142s # GLib-DEBUG: io-channel-basic: ...from 5: 3296 bytes 1142s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1142s # GLib-DEBUG: io-channel-basic: child writing 8+3859 bytes to 6 1142s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1142s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1142s # GLib-DEBUG: io-channel-basic: ...from 5: 3859 bytes 1142s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1142s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1142s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1142s # random seed: R02S877f4785241c963133cc84954c1eae3d 1142s # random seed: R02S45be4fdf711382da16683ac7b3e24908 1142s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1142s # random seed: R02S675eedcd9adad9ec5657aafcb06a6716 1142s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1142s # random seed: R02S95a5d113306054de284dfe5a5331b019 1142s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1142s # random seed: R02S6c85a68af566e2962a8fdc34d44ed516 1142s # GLib-DEBUG: io-channel-basic: child writing 8+2720 bytes to 9 1142s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1142s # GLib-DEBUG: io-channel-basic: ...from 8: 2720 bytes 1142s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1142s # GLib-DEBUG: io-channel-basic: child writing 8+3107 bytes to 13 1142s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1142s # GLib-DEBUG: io-channel-basic: ...from 12: 3107 bytes 1142s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1142s # GLib-DEBUG: io-channel-basic: child writing 8+4954 bytes to 15 1142s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1142s # GLib-DEBUG: io-channel-basic: ...from 14: 4954 bytes 1142s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1142s # GLib-DEBUG: io-channel-basic: child writing 8+2563 bytes to 17 1142s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1142s # GLib-DEBUG: io-channel-basic: ...from 16: 2563 bytes 1142s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1142s # GLib-DEBUG: io-channel-basic: child writing 8+4443 bytes to 11 1142s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1142s # GLib-DEBUG: io-channel-basic: ...from 10: 4443 bytes 1142s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1143s # GLib-DEBUG: io-channel-basic: child writing 8+354 bytes to 15 1143s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1143s # GLib-DEBUG: io-channel-basic: ...from 14: 354 bytes 1143s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1143s # GLib-DEBUG: io-channel-basic: child writing 8+1608 bytes to 9 1143s # GLib-DEBUG: io-channel-basic: child writing 8+2133 bytes to 13 1143s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1143s # GLib-DEBUG: io-channel-basic: ...from 12: 2133 bytes 1143s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1143s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1143s # GLib-DEBUG: io-channel-basic: ...from 8: 1608 bytes 1143s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1143s # GLib-DEBUG: io-channel-basic: child writing 8+1151 bytes to 17 1143s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1143s # GLib-DEBUG: io-channel-basic: ...from 16: 1151 bytes 1143s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1143s # GLib-DEBUG: io-channel-basic: child writing 8+3862 bytes to 11 1143s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1143s # GLib-DEBUG: io-channel-basic: ...from 10: 3862 bytes 1143s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1143s # GLib-DEBUG: io-channel-basic: child writing 8+2427 bytes to 15 1143s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1143s # GLib-DEBUG: io-channel-basic: ...from 14: 2427 bytes 1143s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1143s # GLib-DEBUG: io-channel-basic: child writing 8+1452 bytes to 9 1143s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1143s # GLib-DEBUG: io-channel-basic: ...from 8: 1452 bytes 1143s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1143s # GLib-DEBUG: io-channel-basic: child writing 8+244 bytes to 13 1143s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1143s # GLib-DEBUG: io-channel-basic: ...from 12: 244 bytes 1143s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1143s # GLib-DEBUG: io-channel-basic: child writing 8+3921 bytes to 17 1143s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1143s # GLib-DEBUG: io-channel-basic: ...from 16: 3921 bytes 1143s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1143s # GLib-DEBUG: io-channel-basic: child writing 8+4234 bytes to 11 1143s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1143s # GLib-DEBUG: io-channel-basic: ...from 10: 4234 bytes 1143s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1143s # GLib-DEBUG: io-channel-basic: child writing 8+80 bytes to 13 1143s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1143s # GLib-DEBUG: io-channel-basic: ...from 12: 80 bytes 1143s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1143s # GLib-DEBUG: io-channel-basic: child writing 8+1485 bytes to 15 1143s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1143s # GLib-DEBUG: io-channel-basic: ...from 14: 1485 bytes 1143s # GLib-DEBUG: io-channel-basic: child writing 8+3154 bytes to 9 1143s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1143s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1143s # GLib-DEBUG: io-channel-basic: ...from 8: 3154 bytes 1143s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1143s # GLib-DEBUG: io-channel-basic: child writing 8+834 bytes to 11 1143s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1143s # GLib-DEBUG: io-channel-basic: ...from 10: 834 bytes 1143s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1143s # GLib-DEBUG: io-channel-basic: child writing 8+3909 bytes to 17 1143s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1143s # GLib-DEBUG: io-channel-basic: ...from 16: 3909 bytes 1143s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1143s # GLib-DEBUG: io-channel-basic: child writing 8+557 bytes to 15 1143s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1143s # GLib-DEBUG: io-channel-basic: ...from 14: 557 bytes 1143s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1143s # GLib-DEBUG: io-channel-basic: child writing 8+3695 bytes to 13 1143s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1143s # GLib-DEBUG: io-channel-basic: ...from 12: 3695 bytes 1143s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1144s # GLib-DEBUG: io-channel-basic: child writing 8+1301 bytes to 9 1144s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1144s # GLib-DEBUG: io-channel-basic: ...from 8: 1301 bytes 1144s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1144s # GLib-DEBUG: io-channel-basic: child writing 8+4686 bytes to 11 1144s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1144s # GLib-DEBUG: io-channel-basic: ...from 10: 4686 bytes 1144s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1144s # GLib-DEBUG: io-channel-basic: child writing 8+2035 bytes to 17 1144s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1144s # GLib-DEBUG: io-channel-basic: ...from 16: 2035 bytes 1144s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1144s # GLib-DEBUG: io-channel-basic: child writing 8+115 bytes to 9 1144s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1144s # GLib-DEBUG: io-channel-basic: ...from 8: 115 bytes 1144s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1144s # GLib-DEBUG: io-channel-basic: child writing 8+2142 bytes to 15 1144s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1144s # GLib-DEBUG: io-channel-basic: ...from 14: 2142 bytes 1144s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1144s # GLib-DEBUG: io-channel-basic: child writing 8+1785 bytes to 13 1144s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1144s # GLib-DEBUG: io-channel-basic: ...from 12: 1785 bytes 1144s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1144s # GLib-DEBUG: io-channel-basic: child writing 8+479 bytes to 11 1144s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1144s # GLib-DEBUG: io-channel-basic: ...from 10: 479 bytes 1144s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1144s # GLib-DEBUG: io-channel-basic: child writing 8+275 bytes to 17 1144s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1144s # GLib-DEBUG: io-channel-basic: ...from 16: 275 bytes 1144s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1144s # GLib-DEBUG: io-channel-basic: child writing 8+1171 bytes to 9 1144s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1144s # GLib-DEBUG: io-channel-basic: ...from 8: 1171 bytes 1144s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1144s # GLib-DEBUG: io-channel-basic: child writing 8+3334 bytes to 11 1144s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1144s # GLib-DEBUG: io-channel-basic: ...from 10: 3334 bytes 1144s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1144s # GLib-DEBUG: io-channel-basic: child writing 8+2401 bytes to 13 1144s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1144s # GLib-DEBUG: io-channel-basic: ...from 12: 2401 bytes 1144s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1144s # GLib-DEBUG: io-channel-basic: child writing 8+4118 bytes to 15 1144s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1144s # GLib-DEBUG: io-channel-basic: ...from 14: 4118 bytes 1144s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1144s # GLib-DEBUG: io-channel-basic: child writing 8+868 bytes to 17 1144s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1144s # GLib-DEBUG: io-channel-basic: ...from 16: 868 bytes 1144s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1144s # GLib-DEBUG: io-channel-basic: child writing 8+3224 bytes to 9 1144s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1144s # GLib-DEBUG: io-channel-basic: ...from 8: 3224 bytes 1144s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1144s # GLib-DEBUG: io-channel-basic: child writing 8+279 bytes to 11 1144s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1144s # GLib-DEBUG: io-channel-basic: ...from 10: 279 bytes 1144s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1144s # GLib-DEBUG: io-channel-basic: child writing 8+136 bytes to 13 1144s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1144s # GLib-DEBUG: io-channel-basic: ...from 12: 136 bytes 1144s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1144s # GLib-DEBUG: io-channel-basic: child writing 8+1735 bytes to 15 1144s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1144s # GLib-DEBUG: io-channel-basic: ...from 14: 1735 bytes 1144s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1144s # GLib-DEBUG: io-channel-basic: child writing 8+1862 bytes to 17 1144s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1144s # GLib-DEBUG: io-channel-basic: ...from 16: 1862 bytes 1144s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+4036 bytes to 11 1145s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 10: 4036 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+439 bytes to 13 1145s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 12: 439 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+3766 bytes to 9 1145s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 8: 3766 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+811 bytes to 15 1145s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 14: 811 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+4974 bytes to 17 1145s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 16: 4974 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+4257 bytes to 11 1145s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 10: 4257 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+1000 bytes to 9 1145s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 8: 1000 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+2710 bytes to 13 1145s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 12: 2710 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+254 bytes to 15 1145s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 14: 254 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+3556 bytes to 17 1145s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 16: 3556 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+3710 bytes to 9 1145s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 8: 3710 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+3534 bytes to 11 1145s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 10: 3534 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+3759 bytes to 15 1145s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 14: 3759 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+3093 bytes to 13 1145s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 12: 3093 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+4490 bytes to 17 1145s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 16: 4490 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+4241 bytes to 11 1145s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 10: 4241 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+4319 bytes to 9 1145s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 8: 4319 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+1552 bytes to 15 1145s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 14: 1552 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+3638 bytes to 13 1145s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 12: 3638 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1145s # GLib-DEBUG: io-channel-basic: child writing 8+256 bytes to 17 1145s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1145s # GLib-DEBUG: io-channel-basic: ...from 16: 256 bytes 1145s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+2562 bytes to 9 1146s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 8: 2562 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+2440 bytes to 11 1146s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 10: 2440 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+2555 bytes to 15 1146s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 14: 2555 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+3406 bytes to 13 1146s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 12: 3406 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+4403 bytes to 17 1146s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 16: 4403 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+799 bytes to 9 1146s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 8: 799 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+392 bytes to 11 1146s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 10: 392 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+4603 bytes to 15 1146s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 14: 4603 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+4186 bytes to 13 1146s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 12: 4186 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+2321 bytes to 17 1146s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 16: 2321 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+4847 bytes to 9 1146s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 8: 4847 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+1288 bytes to 11 1146s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 10: 1288 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+4143 bytes to 13 1146s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 12: 4143 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+1306 bytes to 15 1146s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 14: 1306 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+2011 bytes to 17 1146s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 16: 2011 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+2841 bytes to 9 1146s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 8: 2841 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+1498 bytes to 11 1146s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 10: 1498 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+3197 bytes to 15 1146s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 14: 3197 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+621 bytes to 13 1146s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 12: 621 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1146s # GLib-DEBUG: io-channel-basic: child writing 8+18 bytes to 17 1146s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1146s # GLib-DEBUG: io-channel-basic: ...from 16: 18 bytes 1146s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+1245 bytes to 9 1147s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 8: 1245 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+806 bytes to 11 1147s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 10: 806 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+3539 bytes to 13 1147s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 12: 3539 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+2746 bytes to 15 1147s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 14: 2746 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+3226 bytes to 17 1147s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 16: 3226 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1147s # Executing: glib/io-channel-basic.test 1147s # GLib-DEBUG: io-channel-basic: child writing 8+311 bytes to 9 1147s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 8: 311 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+2810 bytes to 11 1147s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 10: 2810 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+72 bytes to 13 1147s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 12: 72 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+1969 bytes to 15 1147s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 14: 1969 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+2677 bytes to 17 1147s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 16: 2677 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+3576 bytes to 9 1147s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 8: 3576 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+4073 bytes to 11 1147s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 10: 4073 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+345 bytes to 13 1147s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 12: 345 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+3902 bytes to 15 1147s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 14: 3902 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+3069 bytes to 17 1147s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 16: 3069 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+2542 bytes to 9 1147s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 8: 2542 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+2018 bytes to 11 1147s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 10: 2018 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+2952 bytes to 15 1147s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 14: 2952 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+456 bytes to 13 1147s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 12: 456 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1147s # GLib-DEBUG: io-channel-basic: child writing 8+1791 bytes to 17 1147s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1147s # GLib-DEBUG: io-channel-basic: ...from 16: 1791 bytes 1147s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1148s # GLib-DEBUG: io-channel-basic: child writing 8+3438 bytes to 9 1148s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1148s # GLib-DEBUG: io-channel-basic: ...from 8: 3438 bytes 1148s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1148s # GLib-DEBUG: io-channel-basic: child writing 8+607 bytes to 11 1148s # GLib-DEBUG: io-channel-basic: child writing 8+2726 bytes to 15 1148s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1148s # GLib-DEBUG: io-channel-basic: ...from 10: 607 bytes 1148s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1148s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1148s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1148s # GLib-DEBUG: io-channel-basic: ...from 14: 2726 bytes 1148s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1148s # GLib-DEBUG: io-channel-basic: ...from 14: HUP 1148s # GLib-DEBUG: io-channel-basic: child writing 8+3737 bytes to 13 1148s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1148s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1148s # GLib-DEBUG: io-channel-basic: ...from 12: 3737 bytes 1148s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1148s # GLib-DEBUG: io-channel-basic: child writing 8+3068 bytes to 17 1148s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1148s # GLib-DEBUG: io-channel-basic: ...from 16: 3068 bytes 1148s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1148s # GLib-DEBUG: io-channel-basic: child writing 8+159 bytes to 11 1148s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1148s # GLib-DEBUG: io-channel-basic: ...from 10: 159 bytes 1148s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1148s # GLib-DEBUG: io-channel-basic: child writing 8+4711 bytes to 9 1148s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1148s # GLib-DEBUG: io-channel-basic: ...from 8: 4711 bytes 1148s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1148s # GLib-DEBUG: io-channel-basic: child writing 8+3993 bytes to 17 1148s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1148s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1148s # GLib-DEBUG: io-channel-basic: ...from 16: 3993 bytes 1148s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1148s # GLib-DEBUG: io-channel-basic: child writing 8+1479 bytes to 11 1148s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1148s # GLib-DEBUG: io-channel-basic: ...from 10: 1479 bytes 1148s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1148s # GLib-DEBUG: io-channel-basic: child writing 8+2921 bytes to 9 1148s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1148s # GLib-DEBUG: io-channel-basic: ...from 8: 2921 bytes 1148s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1148s # GLib-DEBUG: io-channel-basic: child writing 8+3853 bytes to 11 1148s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1148s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1148s # GLib-DEBUG: io-channel-basic: ...from 10: 3853 bytes 1148s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1148s ok - glib/io-channel-basic.test 1148s # GLib-DEBUG: io-channel-basic: child writing 8+3643 bytes to 9 1148s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1148s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1148s # GLib-DEBUG: io-channel-basic: ...from 8: 3643 bytes 1148s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1148s ok 1 /gio/io-basics 1148s # slow test /gio/io-basics executed in 12.54 secs 1148s # End of gio tests 1148s # Running test: glib/pattern.test 1148s TAP version 14 1148s # random seed: R02S39b1356cb0e803150c760ee59fbb2f3f 1148s 1..90 1148s # Start of pattern tests 1148s # Start of compile tests 1148s ok 1 /pattern/compile/0 1148s ok 2 /pattern/compile/1 1148s ok 3 /pattern/compile/2 1148s ok 4 /pattern/compile/3 1148s ok 5 /pattern/compile/4 1148s ok 6 /pattern/compile/5 1148s ok 7 /pattern/compile/6 1148s ok 8 /pattern/compile/7 1148s ok 9 /pattern/compile/8 1148s ok 10 /pattern/compile/9 1148s ok 11 /pattern/compile/10 1148s ok 12 /pattern/compile/11 1148s ok 13 /pattern/compile/12 1148s ok 14 /pattern/compile/13 1148s # End of compile tests 1148s # Start of copy tests 1148s ok 15 /pattern/copy/0 1148s ok 16 /pattern/copy/1 1148s ok 17 /pattern/copy/2 1148s ok 18 /pattern/copy/3 1148s ok 19 /pattern/copy/4 1148s ok 20 /pattern/copy/5 1148s ok 21 /pattern/copy/6 1148s ok 22 /pattern/copy/7 1148s ok 23 /pattern/copy/8 1148s ok 24 /pattern/copy/9 1148s ok 25 /pattern/copy/10 1148s ok 26 /pattern/copy/11 1148s ok 27 /pattern/copy/12 1148s ok 28 /pattern/copy/13 1148s # End of copy tests 1148s # Start of match tests 1148s ok 29 /pattern/match/0 1148s ok 30 /pattern/match/1 1148s ok 31 /pattern/match/2 1148s ok 32 /pattern/match/3 1148s ok 33 /pattern/match/4 1148s ok 34 /pattern/match/5 1148s ok 35 /pattern/match/6 1148s ok 36 /pattern/match/7 1148s ok 37 /pattern/match/8 1148s ok 38 /pattern/match/9 1148s ok 39 /pattern/match/10 1148s ok 40 /pattern/match/11 1148s ok 41 /pattern/match/12 1148s ok 42 /pattern/match/13 1148s ok 43 /pattern/match/14 1148s ok 44 /pattern/match/15 1148s ok 45 /pattern/match/16 1148s ok 46 /pattern/match/17 1148s ok 47 /pattern/match/18 1148s ok 48 /pattern/match/19 1148s ok 49 /pattern/match/20 1148s ok 50 /pattern/match/21 1148s ok 51 /pattern/match/22 1148s ok 52 /pattern/match/23 1148s ok 53 /pattern/match/24 1148s ok 54 /pattern/match/25 1148s ok 55 /pattern/match/26 1148s ok 56 /pattern/match/27 1148s ok 57 /pattern/match/28 1148s ok 58 /pattern/match/29 1148s ok 59 /pattern/match/30 1148s ok 60 /pattern/match/31 1148s ok 61 /pattern/match/32 1148s ok 62 /pattern/match/33 1148s ok 63 /pattern/match/34 1148s ok 64 /pattern/match/35 1148s ok 65 /pattern/match/36 1148s ok 66 /pattern/match/37 1148s ok 67 /pattern/match/38 1148s ok 68 /pattern/match/39 1148s ok 69 /pattern/match/40 1148s ok 70 /pattern/match/41 1148s ok 71 /pattern/match/42 1148s ok 72 /pattern/match/43 1148s ok 73 /pattern/match/44 1148s ok 74 /pattern/match/45 1148s ok 75 /pattern/match/46 1148s ok 76 /pattern/match/47 1148s ok 77 /pattern/match/48 1148s ok 78 /pattern/match/49 1148s ok 79 /pattern/match/50 1148s # End of match tests 1148s # Start of equal tests 1148s ok 80 /pattern/equal/0 1148s ok 81 /pattern/equal/1 1148s ok 82 /pattern/equal/2 1148s ok 83 /pattern/equal/3 1148s ok 84 /pattern/equal/4 1148s ok 85 /pattern/equal/5 1148s ok 86 /pattern/equal/6 1148s ok 87 /pattern/equal/7 1148s ok 88 /pattern/equal/8 1148s ok 89 /pattern/equal/9 1148s ok 90 /pattern/equal/10 1148s # End of equal tests 1148s # End of pattern tests 1148s ok - glib/pattern.test 1148s # Running test: glib/timer.test 1148s ok - glib/timer.test 1148s # Running test: glib/gdbus-introspection.test 1148s TAP version 14 1148s # random seed: R02Se63a3cfb444aeec09884e9845288c9a0 1148s 1..10 1148s # Start of timer tests 1148s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1148s ok 2 /timer/stop 1148s ok 3 /timer/continue 1148s ok 4 /timer/reset 1148s ok 5 /timer/is_active 1148s # End of timer tests 1148s # Start of timeval tests 1148s ok 6 /timeval/add 1148s ok 7 /timeval/from-iso8601 1148s ok 8 /timeval/to-iso8601 1148s # Start of to-iso8601 tests 1148s ok 9 /timeval/to-iso8601/overflow 1148s # End of to-iso8601 tests 1148s # End of timeval tests 1148s # Start of usleep tests 1148s ok 10 /usleep/with-zero-wait 1148s # End of usleep tests 1148s TAP version 14 1148s # random seed: R02Sab12fb34783e98f5f30d2b573b3e0730 1148s 1..4 1148s # Start of gdbus tests 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-parser/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-parser/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-parser/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-parser/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-parser/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-parser/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-parser/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-parser/.dirs/runtime 1148s ok 1 /gdbus/introspection-parser 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-generate/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-generate/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-generate/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-generate/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-generate/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-generate/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-generate/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-generate/.dirs/runtime 1148s ok 2 /gdbus/introspection-generate 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-default-direction/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-default-direction/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-default-direction/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-default-direction/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-default-direction/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-default-direction/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-default-direction/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-default-direction/.dirs/runtime 1148s ok 3 /gdbus/introspection-default-direction 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-extra-data/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-extra-data/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-extra-data/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-extra-data/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-extra-data/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-extra-data/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-extra-data/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_SJYLK3/gdbus/introspection-extra-data/.dirs/runtime 1148s ok 4 /gdbus/introspection-extra-data 1148s # End of gdbus tests 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1149s ok - glib/gdbus-introspection.test 1149s # Running test: glib/once.test 1149s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1149s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1149s TAP version 14 1149s # random seed: R02Sbc6446a424beac62d709d8a5fddde8d3 1149s 1..5 1149s # Start of once tests 1149s # /once/single-threaded summary: Test g_once() usage from a single thread 1149s ok 1 /once/single-threaded 1149s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1149s ok 2 /once/multi-threaded 1149s # End of once tests 1149s # Start of once-init tests 1149s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1149s ok 3 /once-init/single-threaded 1149s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1149s ok - glib/once.test 1149s ok 4 /once-init/multi-threaded 1149s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1149s ok 5 /once-init/string 1149s # End of once-init tests 1149s # Running test: glib/cxx-11.test 1149s TAP version 14 1149s # random seed: R02S2ac34e0e24e5aae2eb035c6c2ba67bc7 1149s 1..2 1149s # Start of gtask tests 1149s # 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. 1149s ok 1 /gtask/name 1149s # Start of name tests 1149s # 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. 1149s ok 2 /gtask/name/macro-wrapper 1149s # End of name tests 1149s # End of gtask tests 1149s ok - glib/cxx-11.test 1149s # Running test: glib/deftype.test 1149s ok - glib/deftype.test 1149s # Running test: glib/markup-collect.test 1149s TAP version 14 1149s # random seed: R02S82a060f65f4adb6f151389c5ce196eec 1149s 1..21 1149s # Start of markup tests 1149s # Start of collect tests 1149s ok 1 /markup/collect/0 1149s ok 2 /markup/collect/1 1149s ok 3 /markup/collect/2 1149s ok 4 /markup/collect/3 1149s ok 5 /markup/collect/4 1149s ok 6 /markup/collect/5 1149s ok 7 /markup/collect/6 1149s ok 8 /markup/collect/7 1149s ok 9 /markup/collect/8 1149s ok - glib/markup-collect.test 1149s # Running test: glib/proxy-test.test 1149s ok 10 /markup/collect/9 1149s ok 11 /markup/collect/10 1149s ok 12 /markup/collect/11 1149s ok 13 /markup/collect/12 1149s ok 14 /markup/collect/13 1149s ok 15 /markup/collect/14 1149s ok 16 /markup/collect/15 1149s ok 17 /markup/collect/16 1149s ok 18 /markup/collect/17 1149s ok 19 /markup/collect/18 1149s ok 20 /markup/collect/19 1149s ok 21 /markup/collect/cleanup 1149s # End of collect tests 1149s # End of markup tests 1149s TAP version 14 1149s # random seed: R02S1b9ddb66e09e503d59aedc6b17dc15df 1149s 1..11 1149s # Start of proxy tests 1149s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ‘gio-proxy-resolver’ 1149s ok 1 /proxy/direct_sync 1149s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1149s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb2b90f621f50 and GSocketClientAsyncConnectData 0xb2b90f621470 1149s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1149s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb2b90f622a70 for GSocketClientAsyncConnectData 0xb2b90f621470 1149s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1149s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1149s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1149s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1149s ok 2 /proxy/direct_async 1149s ok 3 /proxy/single_sync 1149s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1149s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb2b90f622530 and GSocketClientAsyncConnectData 0xb2b90f621470 1149s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1149s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb2b90f623bd0 for GSocketClientAsyncConnectData 0xb2b90f621470 1149s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1149s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1149s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1149s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1149s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1149s ok 4 /proxy/single_async 1149s ok 5 /proxy/multiple_sync 1149s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1149s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb2b90f622820 and GSocketClientAsyncConnectData 0xb2b90f6227b0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1149s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb2b90f624110 for GSocketClientAsyncConnectData 0xb2b90f6227b0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1149s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1149s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1149s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1149s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1149s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb2b90f6240b0 for GSocketClientAsyncConnectData 0xb2b90f6227b0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1149s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1149s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1149s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1149s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1149s ok 6 /proxy/multiple_async 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1149s ok 7 /proxy/invalid-uris-sync 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1149s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1149s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb2b90f622410 and GSocketClientAsyncConnectData 0xb2b90f6242a0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1149s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1149s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1149s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb2b90f622530 and GSocketClientAsyncConnectData 0xb2b90f6227b0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1149s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1149s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1149s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb2b90f622410 and GSocketClientAsyncConnectData 0xb2b90f6242a0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1149s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb2b90f622ad0 for GSocketClientAsyncConnectData 0xb2b90f6242a0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1149s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1149s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1149s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1149s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1149s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb2b90f622530 and GSocketClientAsyncConnectData 0xb2b90f6242a0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1149s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb2b90f624310 for GSocketClientAsyncConnectData 0xb2b90f6242a0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1149s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1149s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1149s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1149s ok 8 /proxy/invalid-uris-async 1149s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1149s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb2b90f621f50 and GSocketClientAsyncConnectData 0xb2b90f6242a0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1149s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1149s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1149s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1149s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1149s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb2b90f624430 and GSocketClientAsyncConnectData 0xb2b90f6229c0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1149s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb2b90f623a30 for GSocketClientAsyncConnectData 0xb2b90f6229c0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1149s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1149s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1149s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1149s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1149s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1149s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1149s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb2b90f622410 and GSocketClientAsyncConnectData 0xb2b90f6227b0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1149s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb2b90f622ad0 for GSocketClientAsyncConnectData 0xb2b90f6227b0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1149s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1149s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1149s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1149s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1149s ok 9 /proxy/dns 1149s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1149s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb2b90f621f50 and GSocketClientAsyncConnectData 0xb2b90f6227b0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1149s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb2b90f622ad0 for GSocketClientAsyncConnectData 0xb2b90f6227b0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1149s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1149s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1149s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1149s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1149s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1149s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1149s ok - glib/proxy-test.test 1149s # Running test: glib/live-g-file.test 1149s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb2b90f622410 and GSocketClientAsyncConnectData 0xb2b90f6225f0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1149s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb2b90f623a30 for GSocketClientAsyncConnectData 0xb2b90f6225f0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1149s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1149s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1149s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1149s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1149s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1149s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb2b90f621f50 and GSocketClientAsyncConnectData 0xb2b90f6242a0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1149s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb2b90f6240b0 for GSocketClientAsyncConnectData 0xb2b90f6242a0 1149s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1149s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1149s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1149s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1149s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1149s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1149s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1149s ok 10 /proxy/override 1149s ok 11 /proxy/enumerator-ports 1149s # End of proxy tests 1149s TAP version 14 1149s # random seed: R02S8d77cc72b7e451334c48a685792e1445 1149s 1..13 1149s # Start of live-g-file tests 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/prep_clean_structure/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/prep_clean_structure/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_4DGNK3/live-g-file/prep_clean_structure/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/prep_clean_structure/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_4DGNK3/live-g-file/prep_clean_structure/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/prep_clean_structure/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/prep_clean_structure/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DGNK3/live-g-file/prep_clean_structure/.dirs/runtime 1149s # Cleaning target testing structure in '/tmp/test_live-g-file_4DGNK3/testdir_live-g-file'... 1149s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1149s ok 1 /live-g-file/prep_clean_structure 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/create_structure/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/create_structure/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_4DGNK3/live-g-file/create_structure/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/create_structure/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_4DGNK3/live-g-file/create_structure/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/create_structure/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/create_structure/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DGNK3/live-g-file/create_structure/.dirs/runtime 1149s # 1149s # Going to create testing structure in '/tmp/test_live-g-file_4DGNK3/testdir_live-g-file'... 1149s # Creating directory 'dir1'... 1149s # Creating directory 'dir1/subdir'... 1149s # Creating directory 'dir2'... 1149s # Creating directory 'dir-target'... 1149s # Creating directory 'dir_no-access'... 1149s # Creating directory 'dir_no-write'... 1149s # Creating file 'target-file'... 1149s # Creating file 'normal_file'... 1149s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1149s # Creating file 'executable_file'... 1149s # Creating file 'private_file'... 1149s # Creating file 'normal_file2'... 1149s # Creating file 'readonly_file'... 1149s # Creating file 'UTF_příliš z'... 1149s # Creating directory 'dir_příliš z'... 1149s # Creating symlink 'lost_symlink' --> 'nowhere'... 1149s # Creating directory 'dir_hidden'... 1149s # Creating file 'dir_hidden/.a-hidden-file'... 1149s # Creating file 'dir_hidden/file-in-.hidden1'... 1149s # Creating file 'dir_hidden/file-in-.hidden2'... 1149s # Creating pattern file... 1149s # done. 1149s ok 2 /live-g-file/create_structure 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_initial_structure/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_initial_structure/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_initial_structure/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_initial_structure/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_initial_structure/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_initial_structure/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_initial_structure/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DGNK3/live-g-file/test_initial_structure/.dirs/runtime 1149s # Testing sample structure in '/tmp/test_live-g-file_4DGNK3/testdir_live-g-file'... 1149s # Testing file 'dir1'... 1149s # Testing file 'dir1/subdir'... 1149s # Testing file 'dir2'... 1149s # Testing file 'dir-target'... 1149s # Testing file 'dir_no-access'... 1149s # Testing file 'dir_no-write'... 1149s # Testing file 'target-file'... 1149s # Testing file 'normal_file'... 1149s # Testing file 'normal_file-symlink'... 1149s # Testing file 'executable_file'... 1149s # Testing file 'private_file'... 1149s # Testing file 'normal_file2'... 1149s # Testing file 'readonly_file'... 1149s # Testing file 'UTF_příliš z'... 1149s # Testing file 'dir_příliš z'... 1149s # Testing file 'lost_symlink'... 1149s # Testing file 'dir_hidden'... 1149s # Testing file 'dir_hidden/.a-hidden-file'... 1149s # Testing file 'dir_hidden/file-in-.hidden1'... 1149s # Testing file 'dir_hidden/file-in-.hidden2'... 1149s # Testing pattern file... 1149s # read 65536 bytes, total = 65536 of 65536. 1149s ok 3 /live-g-file/test_initial_structure 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_traverse_structure/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_traverse_structure/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_traverse_structure/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_traverse_structure/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_traverse_structure/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_traverse_structure/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_traverse_structure/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DGNK3/live-g-file/test_traverse_structure/.dirs/runtime 1149s # Traversing through the sample structure in '/tmp/test_live-g-file_4DGNK3/testdir_live-g-file'... 1149s # Found file dir1, relative to root: dir1 1149s # Found file subdir, relative to root: dir1/subdir 1149s # Found file dir2, relative to root: dir2 1149s # Found file dir-target, relative to root: dir-target 1149s # Found file dir_no-access, relative to root: dir_no-access 1149s # Found file dir_no-write, relative to root: dir_no-write 1149s # Found file target-file, relative to root: target-file 1149s # Found file normal_file, relative to root: normal_file 1149s # Found file normal_file-symlink, relative to root: normal_file-symlink 1149s # Found file executable_file, relative to root: executable_file 1149s # Found file private_file, relative to root: private_file 1149s # Found file normal_file2, relative to root: normal_file2 1149s # Found file readonly_file, relative to root: readonly_file 1149s # Found file UTF_příliš z, relative to root: UTF_příliš z 1149s # Found file dir_příliš z, relative to root: dir_příliš z 1149s # Found file lost_symlink, relative to root: lost_symlink 1149s # Found file dir_hidden, relative to root: dir_hidden 1149s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1149s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1149s # Found file .hidden, relative to root: dir_hidden/.hidden 1149s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1149s # Found file pattern_file, relative to root: pattern_file 1149s ok 4 /live-g-file/test_traverse_structure 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_enumerate/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_enumerate/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_enumerate/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_enumerate/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_enumerate/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_enumerate/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_enumerate/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DGNK3/live-g-file/test_enumerate/.dirs/runtime 1149s # Test enumerate '/tmp/test_live-g-file_4DGNK3/testdir_live-g-file'... 1149s # Testing file 'dir_no-access' 1149s # Testing file 'normal_file' 1149s # Testing file 'normal_file-symlink' 1149s # Testing file 'not_exists' 1149s # Testing file 'not_exists' 1149s # Testing file 'not_exists2' 1149s # Testing file 'not_exists3' 1149s # Testing file 'not_exists4' 1149s # Testing file 'dir_no-execute/file' 1149s ok 5 /live-g-file/test_enumerate 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_open/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_open/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_open/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_open/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_open/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_open/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_open/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DGNK3/live-g-file/test_open/.dirs/runtime 1149s # test_open: 'dir1' 1149s # test_open: 'dir_no-access' 1149s # test_open: 'target-file' 1149s # test_open: 'normal_file-symlink' 1149s # test_open: 'executable_file' 1149s # test_open: 'private_file' 1149s # test_open: 'readonly_file' 1149s # test_open: 'UTF_příliš z' 1149s # test_open: 'pattern_file' 1149s # test_open: 'not_exists' 1149s # test_open: 'dir_no-execute/file' 1149s # test_open: 'lost_symlink' 1149s ok 6 /live-g-file/test_open 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_create/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_create/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_create/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_create/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_create/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_create/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_create/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DGNK3/live-g-file/test_create/.dirs/runtime 1149s # test_create: 'dir1' 1149s # error code 3 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir1”: Is a directory 1149s # test_create: 'dir1/subdir' 1149s # error code 3 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir1/subdir”: Is a directory 1149s # test_create: 'dir2' 1149s # error code 2 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir2”: File exists 1149s # test_create: 'normal_file' 1149s # error code 2 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/normal_file”: File exists 1149s # test_create: 'executable_file' 1149s # test_create: 'private_file' 1149s # test_create: 'normal_file2' 1149s # test_create: 'UTF_příliš z' 1149s # error code 2 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/UTF_příliš z”: File exists 1149s # test_create: 'dir_příliš z' 1149s # error code 2 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_příliš z”: File exists 1149s # test_create: 'pattern_file' 1149s # test_create: 'not_exists2' 1149s # test_create: 'not_exists3' 1149s # test_create: 'not_exists4' 1149s ok 7 /live-g-file/test_create 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_copy_move/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_copy_move/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_copy_move/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_copy_move/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_copy_move/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_copy_move/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_copy_move/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DGNK3/live-g-file/test_copy_move/.dirs/runtime 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1149s # res = 0, error code 25 = Can’t recursively copy directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'dir1/subdir' --> '.' 1149s # res = 0, error code 2 = Target file exists 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'dir1/subdir' --> 'target-file' 1149s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/target-file/dir1/subdir”: Not a directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1149s # res = 0, error code 25 = Can’t recursively copy directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1149s # res = 0, error code 25 = Can’t recursively copy directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1149s # res = 0, error code 25 = Can’t recursively copy directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'dir2' --> 'dir-target' 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'dir-target' --> 'dir-target' 1149s # res = 0, error code 25 = Can’t recursively copy directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'dir-target' --> '.' 1149s # res = 0, error code 2 = Target file exists 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'dir-target' --> 'target-file' 1149s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/target-file/dir-target”: Not a directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'dir-target' --> 'not_exists' 1149s # res = 0, error code 25 = Can’t recursively copy directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'dir-target' --> 'dir_no-access' 1149s # res = 0, error code 25 = Can’t recursively copy directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'dir-target' --> 'dir_no-write' 1149s # res = 0, error code 25 = Can’t recursively copy directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'target-file' --> 'dir-target' 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'target-file' --> '.' 1149s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/target-file”: File exists 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'target-file' --> 'target-file' 1149s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/target-file/target-file”: Not a directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'target-file' --> 'not_exists' 1149s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists/target-file”: No such file or directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'target-file' --> 'dir_no-access' 1149s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_no-access/target-file”: Permission denied 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'target-file' --> 'dir_no-write' 1149s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_no-write/target-file”: Permission denied 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'normal_file-symlink' --> '.' 1149s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/normal_file-symlink: File exists 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1149s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1149s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1149s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1149s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'executable_file' --> 'dir-target' 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'executable_file' --> 'dir-target' 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'executable_file' --> '.' 1149s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/executable_file”: File exists 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'executable_file' --> 'target-file' 1149s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/target-file/executable_file”: Not a directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'executable_file' --> 'not_exists' 1149s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists/executable_file”: No such file or directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'executable_file' --> 'dir_no-access' 1149s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_no-access/executable_file”: Permission denied 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'executable_file' --> 'dir_no-write' 1149s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_no-write/executable_file”: Permission denied 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'private_file' --> 'dir-target' 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'private_file' --> 'dir-target' 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'private_file' --> '.' 1149s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/private_file”: File exists 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'private_file' --> 'target-file' 1149s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/target-file/private_file”: Not a directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'private_file' --> 'not_exists' 1149s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists/private_file”: No such file or directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'private_file' --> 'dir_no-access' 1149s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_no-access/private_file”: Permission denied 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'private_file' --> 'dir_no-write' 1149s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_no-write/private_file”: Permission denied 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'normal_file2' --> 'dir-target' 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'normal_file2' --> 'dir-target' 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'normal_file2' --> '.' 1149s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/normal_file2”: File exists 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'normal_file2' --> 'target-file' 1149s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/target-file/normal_file2”: Not a directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'normal_file2' --> 'not_exists' 1149s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists/normal_file2”: No such file or directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1149s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_no-access/normal_file2”: Permission denied 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1149s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_no-write/normal_file2”: Permission denied 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'UTF_příliš z' --> '.' 1149s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/UTF_příliš z”: File exists 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'UTF_příliš z' --> 'target-file' 1149s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/target-file/UTF_příliš z”: Not a directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'UTF_příliš z' --> 'not_exists' 1149s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists/UTF_příliš z”: No such file or directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'UTF_příliš z' --> 'dir_no-access' 1149s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_no-access/UTF_příliš z”: Permission denied 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'UTF_příliš z' --> 'dir_no-write' 1149s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_no-write/UTF_příliš z”: Permission denied 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'pattern_file' --> 'dir-target' 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'pattern_file' --> '.' 1149s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/pattern_file”: File exists 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'pattern_file' --> 'target-file' 1149s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/target-file/pattern_file”: Not a directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'pattern_file' --> 'not_exists' 1149s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists/pattern_file”: No such file or directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1149s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_no-access/pattern_file”: Permission denied 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1149s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_no-write/pattern_file”: Permission denied 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'not_exists' --> 'dir-target' 1149s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists”: No such file or directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'not_exists' --> '.' 1149s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists”: No such file or directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'not_exists' --> 'target-file' 1149s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists”: No such file or directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'not_exists' --> 'not_exists' 1149s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists”: No such file or directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'not_exists' --> 'dir_no-access' 1149s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists”: No such file or directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'not_exists' --> 'dir_no-write' 1149s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists”: No such file or directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'not_exists' --> 'dir-target' 1149s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists: No such file or directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'lost_symlink' --> 'dir-target' 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'lost_symlink' --> '.' 1149s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/lost_symlink: File exists 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'lost_symlink' --> 'target-file' 1149s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/target-file/lost_symlink: Not a directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'lost_symlink' --> 'not_exists' 1149s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1149s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1149s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1149s ok 8 /live-g-file/test_copy_move 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_delete/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_delete/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_delete/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_delete/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_delete/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_delete/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_delete/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DGNK3/live-g-file/test_delete/.dirs/runtime 1149s # Deleting dir1, path = /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir1 1149s # result = 0, error = Error removing file /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir1: Directory not empty 1149s # Deleting dir2, path = /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir2 1149s # result = 0, error = Error removing file /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir2: No such file or directory 1149s # Deleting executable_file, path = /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/executable_file 1149s # result = 0, error = Error trashing file /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/executable_file: No such file or directory 1149s # Deleting readonly_file, path = /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/readonly_file 1149s # Deleting dir_příliš z, path = /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_příliš z 1149s # Deleting not_exists, path = /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists 1149s # result = 0, error = Error removing file /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists: No such file or directory 1149s # Deleting not_exists, path = /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists 1149s # result = 0, error = Error trashing file /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/not_exists: No such file or directory 1149s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_no-execute/file 1149s # result = 0, error = Error removing file /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/dir_no-execute/file: No such file or directory 1149s # Deleting lost_symlink, path = /tmp/test_live-g-file_4DGNK3/testdir_live-g-file/lost_symlink 1149s ok 9 /live-g-file/test_delete 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_make_directory_with_parents/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_make_directory_with_parents/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_make_directory_with_parents/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_make_directory_with_parents/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_make_directory_with_parents/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_make_directory_with_parents/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_make_directory_with_parents/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DGNK3/live-g-file/test_make_directory_with_parents/.dirs/runtime 1149s # We do not have CAP_DAC_OVERRIDE or equivalent 1149s ok 10 /live-g-file/test_make_directory_with_parents 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/final_clean/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/final_clean/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_4DGNK3/live-g-file/final_clean/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/final_clean/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_4DGNK3/live-g-file/final_clean/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/final_clean/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/final_clean/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DGNK3/live-g-file/final_clean/.dirs/runtime 1149s # Cleaning target testing structure in '/tmp/test_live-g-file_4DGNK3/testdir_live-g-file'... 1149s # deleting 'dir1' 1149s # deleting 'subdir' 1149s # deleting 'dir-target' 1149s # deleting 'dir2' 1149s # deleting 'target-file' 1149s # deleting 'normal_file-symlink' 1149s # deleting 'pattern_file' 1149s # deleting 'executable_file' 1149s # deleting 'private_file' 1149s # deleting 'normal_file2' 1149s # deleting 'UTF_příliš z' 1149s # deleting 'lost_symlink' 1149s # deleting 'dir_no-access' 1149s # deleting 'dir_no-write' 1149s # deleting 'target-file' 1149s # deleting 'normal_file' 1149s # deleting 'normal_file-symlink' 1149s # deleting 'executable_file~' 1149s # deleting 'private_file' 1149s # deleting 'normal_file2~' 1149s # deleting 'a' 1149s # deleting 'UTF_příliš z' 1149s # deleting 'dir_hidden' 1149s # deleting '.a-hidden-file' 1149s # deleting 'file-in-.hidden1' 1149s # deleting '.hidden' 1149s # deleting 'file-in-.hidden2' 1149s # deleting 'pattern_file' 1149s # deleting 'executable_file' 1149s # deleting 'normal_file2' 1149s # deleting 'not_exists2' 1149s # deleting 'not_exists3' 1149s # deleting 'not_exists4' 1149s ok 11 /live-g-file/final_clean 1149s # Start of test_unix_is_mountpoint tests 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 1149s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_4DGNK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 1149s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1149s # End of test_unix_is_mountpoint tests 1149s # End of live-g-file tests 1149s TAP version 14 1149s # random seed: R02S6d1a65723dbe952aa6bb4e35cf696f75 1149s 1..7 1149s # Start of spawn tests 1149s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1149s # 1149s # this is spawn-test-helper from glib/tests 1149s # 1149s ok 1 /spawn/do-not-search 1149s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1149s # 1149s # this is spawn-test-helper from path-test-subdir 1149s # 1149s ok 2 /spawn/search-path 1149s # /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. 1149s ok - glib/live-g-file.test 1149s # Running test: glib/spawn-path-search.test 1149s # 1149s # this is spawn-test-helper from path-test-subdir 1149s # 1149s ok 3 /spawn/search-path-from-envp 1149s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1149s # 1149s # this is spawn-test-helper from path-test-subdir 1149s # 1149s ok 4 /spawn/search-path-ambiguous 1149s # 1149s # this is spawn-test-helper from path-test-subdir 1149s # 1149s ok 5 /spawn/search-path-heap-allocation 1149s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1149s # 1149s # this is spawn-test-helper from glib/tests 1149s # 1149s ok 6 /spawn/search-path-fallback-in-environ 1149s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1149s # 1149s # this is spawn-test-helper from glib/tests 1149s # 1149s ok 7 /spawn/search-path-fallback-in-envp 1149s # End of spawn tests 1149s ok - glib/spawn-path-search.test 1149s # Running test: glib/g-file.test 1149s TAP version 14 1149s # random seed: R02Sbf79f9296d20f6bd4b43a89c0fd0de75 1149s 1..8 1149s # Start of g-file tests 1149s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1149s ok 1 /g-file/test_g_file_new_null 1149s ok 2 /g-file/test_g_file_new_for_path 1149s ok 3 /g-file/test_g_file_new_for_uri 1149s ok 4 /g-file/test_g_file_dup 1149s ok 5 /g-file/test_g_file_get_parse_name_utf8 1149s file:///tmp/test-tmp-glib_g-file.test-1GVOK3 1149s file:///tmp 1149s file:///tmp 1149s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1149s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1149s ok 6 /g-file/test_g_file_new_for_commandline_arg 1149s /dir1 /dir1/dir2/dir3/ 1149s /dir1/ /dir1/dir2/dir3/ 1149s /dir1 /dir1/dir2/dir3 1149s /dir1/ /dir1/dir2/dir3 1149s /tmp/ /something/ 1149s /dir1/dir2 /dir1/ 1149s //dir1/new //dir1/new/dir2/dir3 1149s /dir/UTF-8 příliš žluťoučký kůň /dir/UTF-8 příliš žluťoučký kůň/dir2 1149s file:///dir1 file:///dir1/dir2/dir3/ 1149s file:///dir1/ file:///dir1/dir2/dir3/ 1149s file:///dir1 file:///dir1/dir2/dir3 1149s file:///dir1/ file:///dir1/dir2/dir3 1149s file:///tmp/ file:///something/ 1149s file:///dir1/dir2 file:///dir1/ 1149s file:////dir1/new file:////dir1/new/dir2/dir3 1149s 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 1149s ok 7 /g-file/test_g_file_has_prefix 1149s ok 8 /g-file/test_g_file_get_parent_child 1149s # End of g-file tests 1149s ok - glib/g-file.test 1149s # Running test: glib/rec-mutex.test 1149s TAP version 14 1149s # random seed: R02S0c5f0ab2a4f96122999165eaf4b05d0a 1149s 1..29 1149s # Start of thread tests 1149s ok 1 /thread/rec-mutex1 1149s ok 2 /thread/rec-mutex2 1149s ok 3 /thread/rec-mutex3 1149s ok 4 /thread/rec-mutex4 1149s # Start of rec-mutex tests 1149s # Start of perf tests 1149s # Start of uncontended tests 1149s # max perf: 1.000000 mips 1149s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1149s # max perf: inf mips 1149s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1149s # max perf: inf mips 1149s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1149s # max perf: inf mips 1149s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1149s # max perf: inf mips 1149s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1149s # End of uncontended tests 1149s # Start of contended1 tests 1149s # max perf: inf mips 1149s ok 10 /thread/rec-mutex/perf/contended1/depth1 1149s # max perf: inf mips 1149s ok 11 /thread/rec-mutex/perf/contended1/depth2 1149s # max perf: inf mips 1149s ok 12 /thread/rec-mutex/perf/contended1/depth3 1149s # max perf: 2.000000 mips 1149s ok 13 /thread/rec-mutex/perf/contended1/depth4 1149s # max perf: inf mips 1149s ok 14 /thread/rec-mutex/perf/contended1/depth5 1149s # End of contended1 tests 1149s # Start of contended2 tests 1149s # max perf: 3.000000 mips 1149s ok 15 /thread/rec-mutex/perf/contended2/depth1 1149s # max perf: inf mips 1149s ok 16 /thread/rec-mutex/perf/contended2/depth2 1149s # max perf: inf mips 1149s ok 17 /thread/rec-mutex/perf/contended2/depth3 1149s # max perf: 3.000000 mips 1149s ok 18 /thread/rec-mutex/perf/contended2/depth4 1149s # max perf: 3.000000 mips 1149s ok 19 /thread/rec-mutex/perf/contended2/depth5 1149s # End of contended2 tests 1149s # Start of contended3 tests 1149s # max perf: inf mips 1149s ok 20 /thread/rec-mutex/perf/contended3/depth1 1149s # max perf: inf mips 1149s ok 21 /thread/rec-mutex/perf/contended3/depth2 1149s # max perf: 4.000000 mips 1149s ok 22 /thread/rec-mutex/perf/contended3/depth3 1149s # max perf: 4.000000 mips 1149s ok 23 /thread/rec-mutex/perf/contended3/depth4 1149s # max perf: inf mips 1149s ok 24 /thread/rec-mutex/perf/contended3/depth5 1149s # End of contended3 tests 1149s # Start of contended4 tests 1149s # max perf: inf mips 1149s ok 25 /thread/rec-mutex/perf/contended4/depth1 1149s # max perf: 5.000000 mips 1149s ok 26 /thread/rec-mutex/perf/contended4/depth2 1149s # max perf: 0.714286 mips 1149s ok 27 /thread/rec-mutex/perf/contended4/depth3 1149s # max perf: inf mips 1149s ok 28 /thread/rec-mutex/perf/contended4/depth4 1149s # max perf: inf mips 1149s ok 29 /thread/rec-mutex/perf/contended4/depth5 1149s ok - glib/rec-mutex.test 1149s # End of contended4 tests 1149s # End of perf tests 1149s # End of rec-mutex tests 1149s # End of thread tests 1149s # Running test: glib/642026-ec.test 1149s TAP version 14 1149s # random seed: R02Sf8b20dd81d966cbdcd3eb200364de1fe 1149s 1..1 1149s # Start of glib tests 1149s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1149s ok - glib/642026-ec.test 1149s # Running test: glib/macros-c-17.test 1149s ok 1 /glib/642026 1149s # End of glib tests 1149s ok - glib/macros-c-17.test 1149s # Running test: glib/binding.test 1149s TAP version 14 1149s # random seed: R02Sc3e2f0ff1349d4db01d19064c8f137fe 1149s 1..4 1149s # Start of C tests 1149s # G_C_STD_VERSION is 201710 1149s ok 1 /C/standard-17 1149s # End of C tests 1149s # Start of alignof tests 1149s ok 2 /alignof/fallback 1149s # End of alignof tests 1149s # Start of assert tests 1149s ok 3 /assert/static 1149s # End of assert tests 1149s # Start of struct tests 1149s ok 4 /struct/sizeof_member 1149s # End of struct tests 1149s TAP version 14 1149s # random seed: R02Se5a7d86fc1ff7917db9ed395424e2b16 1149s 1..19 1149s # Start of binding tests 1149s ok 1 /binding/default 1149s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1149s ok 2 /binding/canonicalisation 1149s ok 3 /binding/bidirectional 1149s ok 4 /binding/transform 1149s ok 5 /binding/transform-default 1149s ok 6 /binding/transform-closure 1149s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1149s ok 7 /binding/chain 1149s ok 8 /binding/sync-create 1149s ok 9 /binding/invert-boolean 1149s ok 10 /binding/same-object 1149s ok 11 /binding/unbind 1149s ok 12 /binding/unbind-weak 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1149s ok 13 /binding/unbind-multiple 1149s ok 14 /binding/fail 1149s ok 15 /binding/interface 1149s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1149s ok 16 /binding/concurrent-unbind 1149s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1149s ok 17 /binding/concurrent-finalizing 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1149s ok 18 /binding/dispose-source 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1149s ok 19 /binding/dispose-target 1149s # End of binding tests 1149s ok - glib/binding.test 1149s # Running test: glib/mapping.test 1149s TAP version 14 1149s # random seed: R02Sc1b004208f912e2bc2b7614f2f113b5f 1149s 1..3 1149s # Start of mapping tests 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_JCH5J3/mapping/flags/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_JCH5J3/mapping/flags/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_JCH5J3/mapping/flags/.dirs/system-config1:/tmp/test_mapping_JCH5J3/mapping/flags/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_JCH5J3/mapping/flags/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_JCH5J3/mapping/flags/.dirs/system-data1:/tmp/test_mapping_JCH5J3/mapping/flags/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_JCH5J3/mapping/flags/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_JCH5J3/mapping/flags/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_JCH5J3/mapping/flags/.dirs/runtime 1149s # test_mapping: ok 1149s ok 1 /mapping/flags 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_JCH5J3/mapping/private/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_JCH5J3/mapping/private/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_JCH5J3/mapping/private/.dirs/system-config1:/tmp/test_mapping_JCH5J3/mapping/private/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_JCH5J3/mapping/private/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_JCH5J3/mapping/private/.dirs/system-data1:/tmp/test_mapping_JCH5J3/mapping/private/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_JCH5J3/mapping/private/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_JCH5J3/mapping/private/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_JCH5J3/mapping/private/.dirs/runtime 1149s ok 2 /mapping/private 1149s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_JCH5J3/mapping/private-child/.dirs/home 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_JCH5J3/mapping/private-child/.dirs/cache 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_JCH5J3/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_JCH5J3/mapping/private-child/.dirs/system-config2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_JCH5J3/mapping/private-child/.dirs/config 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_JCH5J3/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_JCH5J3/mapping/private-child/.dirs/system-data2 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_JCH5J3/mapping/private-child/.dirs/data 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_JCH5J3/mapping/private-child/.dirs/state 1149s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_JCH5J3/mapping/private-child/.dirs/runtime 1149s # test_child_private: child spawned 1149s # Subtest: /usr/libexec/installed-tests/glib/mapping 1149s # random seed: R02S45ca2e3504b4c0be7c203c69e521473b 1149s # test_child_private: received first child signal 1149s # test_child_private: received parent signal 1149s # Child exited with status 0 1149s # test_child_private: received second child signal 1149s ok 3 /mapping/private-child 1149s # End of mapping tests 1149s ok - glib/mapping.test 1149s # Running test: glib/mainloop.test 1149s TAP version 14 1149s # random seed: R02S410fa41953b2a0437762a7455903a164 1149s 1..48 1149s # Start of maincontext tests 1149s ok 1 /maincontext/basic 1149s # Add same-priority sources: 19 1149s # Find each source: 4 1149s # Remove in random order: 35 1149s ok 2 /maincontext/nsources_same_priority 1149s # Add different-priority sources: 22 1149s # Find each source: 4 1149s # Remove in random order: 39 1149s ok 3 /maincontext/nsources_different_priority 1149s # Add sources from threads: 71 1149s # Remove sources from threads: 45 1149s ok 4 /maincontext/nsources_threadpool 1149s ok 5 /maincontext/source_finalization 1149s # /maincontext/idle-once summary: Test g_idle_add_once() works 1149s ok 6 /maincontext/idle-once 1149s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1149s ok 7 /maincontext/timeout-once 1149s # /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. 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 1149s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 1149s # Start of source_finalization_from_source tests 1149s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1149s ok 9 /maincontext/source_finalization_from_source/0 1149s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1149s ok 10 /maincontext/source_finalization_from_source/1 1149s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1149s ok 11 /maincontext/source_finalization_from_source/2 1149s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1149s ok 12 /maincontext/source_finalization_from_source/3 1149s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1149s ok 13 /maincontext/source_finalization_from_source/4 1149s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1149s ok 14 /maincontext/source_finalization_from_source/5 1149s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1149s ok 15 /maincontext/source_finalization_from_source/6 1149s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1149s ok 16 /maincontext/source_finalization_from_source/7 1149s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1149s ok 17 /maincontext/source_finalization_from_source/8 1149s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1149s ok 18 /maincontext/source_finalization_from_source/9 1149s # End of source_finalization_from_source tests 1149s # Start of source_finalization_from_dispatch tests 1149s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1149s ok 19 /maincontext/source_finalization_from_dispatch/0 1149s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1149s ok 20 /maincontext/source_finalization_from_dispatch/1 1149s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1149s ok 21 /maincontext/source_finalization_from_dispatch/2 1149s # End of source_finalization_from_dispatch tests 1149s # End of maincontext tests 1149s # Start of mainloop tests 1149s ok 22 /mainloop/basic 1149s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 1149s ok 24 /mainloop/priorities 1150s ok 25 /mainloop/invoke 1150s # slow test /mainloop/invoke executed in 0.50 secs 1151s ok 26 /mainloop/child_sources 1151s # slow test /mainloop/child_sources executed in 1.20 secs 1152s # Executing: glib/mainloop.test 1153s ok 27 /mainloop/recursive_child_sources 1153s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 1153s ok 28 /mainloop/recursive_loop_child_sources 1153s ok 29 /mainloop/swapping_child_sources 1153s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1153s ok 30 /mainloop/blocked_child_sources 1154s ok 31 /mainloop/source_time 1154s # slow test /mainloop/source_time executed in 1.00 secs 1154s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1154s ok 32 /mainloop/overflow 1155s ok 33 /mainloop/ready-time 1155s # slow test /mainloop/ready-time executed in 0.50 secs 1155s ok 34 /mainloop/wakeup 1155s ok 35 /mainloop/remove-invalid 1155s ok 36 /mainloop/unref-while-pending 1155s # Test that the global default main context is used if NULL is passed to various methods 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3818 1155s ok 37 /mainloop/null-default-context 1155s ok 38 /mainloop/unix-fd 1155s # slow test /mainloop/unix-fd executed in 0.60 secs 1155s ok 39 /mainloop/unix-fd-source 1155s ok 40 /mainloop/source-unix-fd-api 1155s ok 41 /mainloop/wait 1155s ok 42 /mainloop/unix-file-poll 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1155s ok 43 /mainloop/unix-fd-priority 1155s ok 44 /mainloop/nfds 1155s ok 45 /mainloop/steal-fd 1157s ok 46 /mainloop/simultaneous-source-context-destruction 1157s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.32 secs 1157s # Start of ownerless-polling tests 1157s ok 47 /mainloop/ownerless-polling/attach-first 1157s ok 48 /mainloop/ownerless-polling/pop-first 1157s # End of ownerless-polling tests 1157s # End of mainloop tests 1157s ok - glib/mainloop.test 1157s # Running test: glib/sandbox.test 1157s TAP version 14 1157s # random seed: R02S82b5cf05064e575b9216e48b5373edf0 1157s 1..4 1157s # Start of sandbox tests 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_4ZV5J3/sandbox/none/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_4ZV5J3/sandbox/none/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_4ZV5J3/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_4ZV5J3/sandbox/none/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_4ZV5J3/sandbox/none/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_4ZV5J3/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_4ZV5J3/sandbox/none/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_4ZV5J3/sandbox/none/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_4ZV5J3/sandbox/none/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_4ZV5J3/sandbox/none/.dirs/runtime 1157s ok 1 /sandbox/none 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_4ZV5J3/sandbox/snap/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_4ZV5J3/sandbox/snap/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_4ZV5J3/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_4ZV5J3/sandbox/snap/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_4ZV5J3/sandbox/snap/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_4ZV5J3/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_4ZV5J3/sandbox/snap/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_4ZV5J3/sandbox/snap/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_4ZV5J3/sandbox/snap/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_4ZV5J3/sandbox/snap/.dirs/runtime 1157s # Created snap.yaml in /tmp/test_sandbox_4ZV5J3/snap/current/meta/snap.yaml 1157s ok 2 /sandbox/snap 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_4ZV5J3/sandbox/classic-snap/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_4ZV5J3/sandbox/classic-snap/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_4ZV5J3/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_4ZV5J3/sandbox/classic-snap/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_4ZV5J3/sandbox/classic-snap/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_4ZV5J3/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_4ZV5J3/sandbox/classic-snap/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_4ZV5J3/sandbox/classic-snap/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_4ZV5J3/sandbox/classic-snap/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_4ZV5J3/sandbox/classic-snap/.dirs/runtime 1157s # Created snap.yaml in /tmp/test_sandbox_4ZV5J3/snap/current/meta/snap.yaml 1157s ok 3 /sandbox/classic-snap 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_4ZV5J3/sandbox/flatpak/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_4ZV5J3/sandbox/flatpak/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_4ZV5J3/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_4ZV5J3/sandbox/flatpak/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_4ZV5J3/sandbox/flatpak/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_4ZV5J3/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_4ZV5J3/sandbox/flatpak/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_4ZV5J3/sandbox/flatpak/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_4ZV5J3/sandbox/flatpak/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_4ZV5J3/sandbox/flatpak/.dirs/runtime 1157s # Creating .flatpak-info in /tmp/test_sandbox_4ZV5J3/sandbox/flatpak/.dirs/runtime/.flatpak-info 1157s ok 4 /sandbox/flatpak 1157s # End of sandbox tests 1157s ok - glib/sandbox.test 1157s # Running test: glib/fileutils.test 1157s TAP version 14 1157s # random seed: R02S077280dfbfb23ae5c2f80a1fb063d978 1157s 1..27 1157s # Start of fileutils tests 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/paths/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/paths/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/paths/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/paths/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/paths/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/paths/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/paths/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/paths/.dirs/runtime 1157s ok 1 /fileutils/paths 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/build-path/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/build-path/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/build-path/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/build-path/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/build-path/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/build-path/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/build-path/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/build-path/.dirs/runtime 1157s ok 2 /fileutils/build-path 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/build-pathv/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/build-pathv/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/build-pathv/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/build-pathv/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/build-pathv/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/build-pathv/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/build-pathv/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/build-pathv/.dirs/runtime 1157s ok 3 /fileutils/build-pathv 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/build-filename/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/build-filename/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/build-filename/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/build-filename/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/build-filename/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/build-filename/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/build-filename/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/build-filename/.dirs/runtime 1157s ok 4 /fileutils/build-filename 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/build-filenamev/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/build-filenamev/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/build-filenamev/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/build-filenamev/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/build-filenamev/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/build-filenamev/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/build-filenamev/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/build-filenamev/.dirs/runtime 1157s ok 5 /fileutils/build-filenamev 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents/.dirs/runtime 1157s # We do not have CAP_DAC_OVERRIDE or equivalent 1157s # Checking g_mkdir_with_parents() in subdir ./hum/ 1157s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 1157s ok 6 /fileutils/mkdir-with-parents 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents-permission/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents-permission/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents-permission/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents-permission/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents-permission/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/mkdir-with-parents-permission/.dirs/runtime 1157s # We do not have CAP_DAC_OVERRIDE or equivalent 1157s ok 7 /fileutils/mkdir-with-parents-permission 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/format-size-for-display/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/format-size-for-display/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/format-size-for-display/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/format-size-for-display/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/format-size-for-display/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/format-size-for-display/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/format-size-for-display/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/format-size-for-display/.dirs/runtime 1157s ok 8 /fileutils/format-size-for-display 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/errors/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/errors/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/errors/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/errors/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/errors/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/errors/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/errors/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/errors/.dirs/runtime 1157s ok 9 /fileutils/errors 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/basename/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/basename/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/basename/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/basename/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/basename/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/basename/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/basename/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/basename/.dirs/runtime 1157s ok 10 /fileutils/basename 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/get-basename/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/get-basename/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/get-basename/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/get-basename/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/get-basename/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/get-basename/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/get-basename/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/get-basename/.dirs/runtime 1157s ok 11 /fileutils/get-basename 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/dirname/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/dirname/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/dirname/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/dirname/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/dirname/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/dirname/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/dirname/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/dirname/.dirs/runtime 1157s ok 12 /fileutils/dirname 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/dir-make-tmp/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/dir-make-tmp/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/dir-make-tmp/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/dir-make-tmp/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/dir-make-tmp/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/dir-make-tmp/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/dir-make-tmp/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/dir-make-tmp/.dirs/runtime 1157s ok 13 /fileutils/dir-make-tmp 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/file-open-tmp/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/file-open-tmp/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/file-open-tmp/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/file-open-tmp/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/file-open-tmp/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/file-open-tmp/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/file-open-tmp/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/file-open-tmp/.dirs/runtime 1157s ok 14 /fileutils/file-open-tmp 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/file-test/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/file-test/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/file-test/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/file-test/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/file-test/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/file-test/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/file-test/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/file-test/.dirs/runtime 1157s ok 15 /fileutils/file-test 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/mkstemp/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/mkstemp/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/mkstemp/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/mkstemp/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/mkstemp/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/mkstemp/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/mkstemp/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/mkstemp/.dirs/runtime 1157s ok 16 /fileutils/mkstemp 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/mkdtemp/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/mkdtemp/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/mkdtemp/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/mkdtemp/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/mkdtemp/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/mkdtemp/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/mkdtemp/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/mkdtemp/.dirs/runtime 1157s ok 17 /fileutils/mkdtemp 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/get-contents/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/get-contents/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/get-contents/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/get-contents/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/get-contents/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/get-contents/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/get-contents/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/get-contents/.dirs/runtime 1157s ok 18 /fileutils/get-contents 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/get-contents-large-file/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/get-contents-large-file/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/get-contents-large-file/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/get-contents-large-file/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/get-contents-large-file/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/get-contents-large-file/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/get-contents-large-file/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/get-contents-large-file/.dirs/runtime 1157s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/set-contents/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/set-contents/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/set-contents/.dirs/runtime 1157s ok 20 /fileutils/set-contents 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/set-contents-full/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/set-contents-full/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/.dirs/runtime 1157s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1157s # Flags 0 and test 0 1157s # Flags 0 and test 1 1157s # Flags 0 and test 2 1157s # Flags 0 and test 3 1157s # Flags 0 and test 4 1157s # Flags 0 and test 5 1157s # Flags 0 and test 6 1157s # Flags 1 and test 0 1157s # Flags 1 and test 1 1157s # Flags 1 and test 2 1157s # Flags 1 and test 3 1157s # Flags 1 and test 4 1157s # Flags 1 and test 5 1157s # Flags 1 and test 6 1157s # Flags 2 and test 0 1157s # Flags 2 and test 1 1157s # Flags 2 and test 2 1157s # Flags 2 and test 3 1157s # Flags 2 and test 4 1157s # Flags 2 and test 5 1157s # Flags 2 and test 6 1157s # Flags 3 and test 0 1157s # Flags 3 and test 1 1157s # Flags 3 and test 2 1157s # Flags 3 and test 3 1157s # Flags 3 and test 4 1157s # Flags 3 and test 5 1157s # Flags 3 and test 6 1157s # Flags 4 and test 0 1157s # Flags 4 and test 1 1157s # Flags 4 and test 2 1157s # Flags 4 and test 3 1157s # Flags 4 and test 4 1157s # Flags 4 and test 5 1157s # Flags 4 and test 6 1157s # Flags 5 and test 0 1157s # Flags 5 and test 1 1157s # Flags 5 and test 2 1157s # Flags 5 and test 3 1157s # Flags 5 and test 4 1157s # Flags 5 and test 5 1157s # Flags 5 and test 6 1157s # Flags 6 and test 0 1157s # Flags 6 and test 1 1157s # Flags 6 and test 2 1157s # Flags 6 and test 3 1157s # Executing: glib/fileutils.test 1157s # Flags 6 and test 4 1157s # Flags 6 and test 5 1157s # Flags 6 and test 6 1157s ok 21 /fileutils/set-contents-full 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/read-link/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/read-link/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/read-link/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/read-link/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/read-link/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/read-link/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/read-link/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/read-link/.dirs/runtime 1157s ok 22 /fileutils/read-link 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/stdio-wrappers/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/stdio-wrappers/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/stdio-wrappers/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/stdio-wrappers/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/stdio-wrappers/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/stdio-wrappers/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/stdio-wrappers/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/stdio-wrappers/.dirs/runtime 1157s # We do not have CAP_DAC_OVERRIDE or equivalent 1157s ok 23 /fileutils/stdio-wrappers 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/fopen-modes/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/fopen-modes/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/fopen-modes/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/fopen-modes/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/fopen-modes/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/fopen-modes/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/fopen-modes/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/fopen-modes/.dirs/runtime 1157s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1157s # Testing fopen() mode 'w' 1157s # Testing fopen() mode 'r' 1157s # Testing fopen() mode 'a' 1157s # Testing fopen() mode 'w+' 1157s # Testing fopen() mode 'r+' 1157s # Testing fopen() mode 'a+' 1157s # Testing fopen() mode 'wb' 1157s # Testing fopen() mode 'rb' 1157s # Testing fopen() mode 'ab' 1157s # Testing fopen() mode 'w+b' 1157s # Testing fopen() mode 'r+b' 1157s # Testing fopen() mode 'a+b' 1157s # Testing fopen() mode 'wb+' 1157s # Testing fopen() mode 'rb+' 1157s # Testing fopen() mode 'ab+' 1157s # Testing fopen() mode 'we' 1157s # Testing fopen() mode 're' 1157s # Testing fopen() mode 'ae' 1157s # Testing fopen() mode 'w+e' 1157s # Testing fopen() mode 'r+e' 1157s # Testing fopen() mode 'a+e' 1157s # Testing fopen() mode 'wbe' 1157s # Testing fopen() mode 'rbe' 1157s # Testing fopen() mode 'abe' 1157s # Testing fopen() mode 'w+be' 1157s # Testing fopen() mode 'r+be' 1157s # Testing fopen() mode 'a+be' 1157s # Testing fopen() mode 'wb+e' 1157s # Testing fopen() mode 'rb+e' 1157s # Testing fopen() mode 'ab+e' 1157s # Testing fopen() mode 'web' 1157s # Testing fopen() mode 'reb' 1157s # Testing fopen() mode 'aeb' 1157s # Testing fopen() mode 'w+eb' 1157s # Testing fopen() mode 'r+eb' 1157s # Testing fopen() mode 'a+eb' 1157s # Testing fopen() mode 'web+' 1157s # Testing fopen() mode 'reb+' 1157s # Testing fopen() mode 'aeb+' 1157s ok 24 /fileutils/fopen-modes 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/clear-fd/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/clear-fd/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/clear-fd/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/clear-fd/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/clear-fd/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/clear-fd/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/clear-fd/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/clear-fd/.dirs/runtime 1157s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1157s # Will be closed by autocleanup: 3, -42 1157s # Testing error handling 1157s ok 25 /fileutils/clear-fd 1157s # Start of set-contents-full tests 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-file/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-file/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-file/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-file/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-file/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-file/.dirs/runtime 1157s # We do not have CAP_DAC_OVERRIDE or equivalent 1157s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1157s ok 26 /fileutils/set-contents-full/read-only-file 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-directory/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-directory/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-directory/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-directory/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-directory/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_30L5J3/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1157s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1157s # Flags 0 1157s # We do not have CAP_DAC_OVERRIDE or equivalent 1157s # Flags 1 1157s # We do not have CAP_DAC_OVERRIDE or equivalent 1157s # Flags 2 1157s # We do not have CAP_DAC_OVERRIDE or equivalent 1157s # Flags 3 1157s # We do not have CAP_DAC_OVERRIDE or equivalent 1157s # Flags 4 1157s # We do not have CAP_DAC_OVERRIDE or equivalent 1157s # Flags 5 1157s # We do not have CAP_DAC_OVERRIDE or equivalent 1157s # Flags 6 1157s # We do not have CAP_DAC_OVERRIDE or equivalent 1157s ok 27 /fileutils/set-contents-full/read-only-directory 1157s # End of set-contents-full tests 1157s # Start of clear-fd tests 1157s # Start of subprocess tests 1157s # End of subprocess tests 1157s # End of clear-fd tests 1157s # End of fileutils tests 1157s Unable to clean up temporary directory /tmp/test_fileutils_30L5J3/glib-file-set-contents-full-rodir-ZMM8J3: Directory not empty 1157s Unable to clean up temporary directory /tmp/test_fileutils_30L5J3/glib-file-set-contents-full-rodir-5VO8J3: Directory not empty 1157s Unable to clean up temporary directory /tmp/test_fileutils_30L5J3/glib-file-set-contents-full-rodir-JGK8J3: Directory not empty 1157s Unable to clean up temporary directory /tmp/test_fileutils_30L5J3/glib-file-set-contents-full-rodir-SON6J3: Directory not empty 1157s Unable to clean up temporary directory /tmp/test_fileutils_30L5J3/glib-file-set-contents-full-rodir-6AL8J3: Directory not empty 1157s Unable to clean up temporary directory /tmp/test_fileutils_30L5J3/glib-file-set-contents-full-rodir-DQN8J3: Directory not empty 1157s Unable to clean up temporary directory /tmp/test_fileutils_30L5J3/glib-file-set-contents-full-rodir-BIP8J3: Directory not empty 1157s Unable to clean up temporary directory /tmp/test_fileutils_30L5J3: Directory not empty 1157s ok - glib/fileutils.test 1157s # Running test: glib/socket.test 1157s TAP version 14 1157s # random seed: R02S0eed8410828409383e9af53763c3a163 1157s 1..30 1157s # Start of socket tests 1158s ok 1 /socket/ipv4_sync 1158s # slow test /socket/ipv4_sync executed in 1.00 secs 1159s ok 2 /socket/ipv4_async 1159s # slow test /socket/ipv4_async executed in 1.00 secs 1159s ok 3 /socket/ipv6_sync 1159s ok 4 /socket/ipv6_async 1159s ok 5 /socket/ipv6_v4mapped 1160s ok 6 /socket/close_graceful 1160s # slow test /socket/close_graceful executed in 1.00 secs 1160s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1160s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1160s ok 8 /socket/fd_reuse 1160s ok 9 /socket/address 1160s ok 10 /socket/unix-from-fd 1160s ok 11 /socket/unix-connection 1160s ok 12 /socket/unix-connection-ancillary-data 1160s ok 13 /socket/source-postmortem 1160s ok 14 /socket/read_write 1160s ok 15 /socket/read_writev 1160s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1160s ok 16 /socket/receive_bytes 1160s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1160s ok 17 /socket/receive_bytes_from 1160s # Start of ipv4_sync tests 1160s ok 18 /socket/ipv4_sync/datagram 1160s # Start of datagram tests 1161s ok 19 /socket/ipv4_sync/datagram/timeouts 1161s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1161s # End of datagram tests 1161s # End of ipv4_sync tests 1161s # Start of ipv6_sync tests 1161s ok 20 /socket/ipv6_sync/datagram 1161s # Start of datagram tests 1162s # Executing: glib/socket.test 1162s ok 21 /socket/ipv6_sync/datagram/timeouts 1162s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1162s # End of datagram tests 1162s # End of ipv6_sync tests 1162s # Start of reuse tests 1162s ok 22 /socket/reuse/tcp 1162s ok 23 /socket/reuse/udp 1162s # End of reuse tests 1162s # Start of get_available tests 1162s ok 24 /socket/get_available/datagram 1162s ok 25 /socket/get_available/stream 1162s # End of get_available tests 1162s # Start of credentials tests 1162s # Supported on this OS: GCredentials:linux-ucred:pid=0 1162s ok 26 /socket/credentials/tcp_client 1162s # Supported on this OS: GCredentials:linux-ucred:pid=0 1162s ok 27 /socket/credentials/tcp_server 1162s # Supported on this OS: GCredentials:linux-ucred:pid=31378,uid=1000,gid=1000 1162s ok 28 /socket/credentials/unix_socketpair 1162s # End of credentials tests 1162s # Start of accept tests 1162s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1162s ok - glib/socket.test 1162s # Running test: glib/messages-low-memory.py.test 1162s ok 29 /socket/accept/cancelled 1162s # End of accept tests 1162s # Start of connect tests 1162s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1162s ok 30 /socket/connect/cancelled 1162s # End of connect tests 1162s # End of socket tests 1162s TAP version 13 1162s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1162s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1162s # tmpdir: /tmp/tmp_64duiec 1162s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 1162s # Return code: -6 1162s # Output: 1162s # 1162s # Error: 1162s # GLib-Message: 16:15:37.106: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1162s # GLib-Message: 16:15:37.106: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1162s # ../../../glib/gprintf.c:351: failed to allocate memory 1162s 1..1 1162s ok - glib/messages-low-memory.py.test 1162s # Running test: glib/signals-refcount1.test 1162s TAP version 14 1162s # random seed: R02S6be1c7c3137e7dbbf51c6096439d7d81 1162s 1..1 1162s # Start of gobject tests 1162s # Start of refcount tests 1162s # init 0xb23e741c02d0 1162s # 1162s # init 0xb23e741b8580 1162s # 1167s # Executing: glib/signals-refcount1.test 1167s # dispose 0xb23e741c02d0! 1167s # 1167s # dispose 0xb23e741b8580! 1167s # 1167s ok 1 /gobject/refcount/signals 1167s # slow test /gobject/refcount/signals executed in 5.00 secs 1167s # End of refcount tests 1167s # End of gobject tests 1167s ok - glib/signals-refcount1.test 1167s # Running test: glib/slist.test 1167s TAP version 14 1167s ok - glib/slist.test 1167s # random seed: R02S13891c7997c8aa0a5da5f65520341a59 1167s 1..14 1167s # Start of slist tests 1167s ok 1 /slist/sort 1167s ok 2 /slist/sort-with-data 1167s ok 3 /slist/insert-sorted 1167s ok 4 /slist/insert-sorted-with-data 1167s ok 5 /slist/reverse 1167s ok 6 /slist/nth 1167s ok 7 /slist/remove 1167s ok 8 /slist/remove-all 1167s ok 9 /slist/insert 1167s ok 10 /slist/position 1167s ok 11 /slist/concat 1167s ok 12 /slist/copy 1167s # Start of sort tests 1167s ok 13 /slist/sort/stable 1167s # End of sort tests 1167s # Start of copy tests 1167s ok 14 /slist/copy/deep 1167s # End of copy tests 1167s # End of slist tests 1167s # Running test: glib/utf8-pointer.test 1167s TAP version 14 1167s # random seed: R02S0407eab0bae5f87b8602c5e2e13cd5f7 1167s 1..3 1167s # Start of utf8 tests 1168s ok 1 /utf8/offsets 1168s # slow test /utf8/offsets executed in 0.89 secs 1168s ok 2 /utf8/lengths 1168s ok 3 /utf8/find 1168s # End of utf8 tests 1168s ok - glib/utf8-pointer.test 1168s # Running test: glib/mimeapps.test 1168s TAP version 14 1168s # random seed: R02S201a0e55a1ce7cb5d1c1b5c8c37907fa 1168s 1..13 1168s # Start of appinfo tests 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/runtime 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/system-data1/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/data/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/data/applications/myapp.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/data/applications/myapp2.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/data/applications/myapp3.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/data/applications/myapp4.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/data/applications/myapp5.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1168s # removing '/tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/data/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1168s ok 1 /appinfo/all 1168s # Start of mime tests 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/runtime 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/system-data1/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/data/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1168s # removing '/tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/config 1168s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_XWQFK3/appinfo/all/.dirs/config to /tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/config 1168s ok 2 /appinfo/mime/api 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/runtime 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/system-data1/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/data/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1168s # removing '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/config 1168s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_XWQFK3/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/config 1168s ok 3 /appinfo/mime/default 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/runtime 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/system-data1/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/data/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1168s # removing '/tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/config 1168s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_XWQFK3/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/config 1168s ok 4 /appinfo/mime/file 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/runtime 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/data/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1168s # removing '/tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1168s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_XWQFK3/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/config 1168s ok 5 /appinfo/mime/scheme-handler 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/runtime 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/data/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1168s # removing '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/config 1168s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_XWQFK3/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/config 1168s ok 6 /appinfo/mime/default-last-used 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/runtime 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1168s # removing '/tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1168s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_XWQFK3/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/config 1168s ok 7 /appinfo/mime/ignore-nonexisting 1168s # End of mime tests 1168s # Start of mime-symlinked tests 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/system-config1:/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/system-data1:/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/runtime 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/system-data1/applications' 1168s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/system-data1/applications/mimeapps.list.c' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/data/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp2.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp3.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp4.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp5.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/data/applications/nosuchapp.desktop' 1168s # removing '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeinfo.cache' 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/config 1168s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_XWQFK3/appinfo/mime/ignore-nonexisting/.dirs/config to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/config 1168s ok 8 /appinfo/mime-symlinked/api 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/system-config1:/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/system-data1:/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/runtime 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/system-data1/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/system-data1/applications/mimeapps.list.c' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/data/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp2.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp3.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp4.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp5.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/data/applications/nosuchapp.desktop' 1168s # removing '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeinfo.cache' 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/config 1168s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/api/.dirs/config to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/config 1168s ok 9 /appinfo/mime-symlinked/default 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/system-config1:/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/system-data1:/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/runtime 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/system-data1/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/system-data1/applications/mimeapps.list.c' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/data/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp2.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp3.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp4.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp5.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/data/applications/nosuchapp.desktop' 1168s # removing '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeinfo.cache' 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/config 1168s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default/.dirs/config to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/config 1168s ok 10 /appinfo/mime-symlinked/file 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/runtime 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications/mimeapps.list.c' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp2.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp3.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp4.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp5.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1168s # removing '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1168s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/file/.dirs/config to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/config 1168s ok 11 /appinfo/mime-symlinked/scheme-handler 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/runtime 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications/mimeapps.list.c' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp2.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp3.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp4.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp5.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1168s # removing '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeinfo.cache' 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1168s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/scheme-handler/.dirs/config to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1168s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1168s ok 12 /appinfo/mime-symlinked/default-last-used 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/runtime 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list.c' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1168s # removing '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1168s # creating '/tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1168s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/default-last-used/.dirs/config to /tmp/test_mimeapps_XWQFK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 1168s ok 13 /appinfo/mime-symlinked/ignore-nonexisting 1168s # End of mime-symlinked tests 1168s # End of appinfo tests 1168s ok - glib/mimeapps.test 1168s # Running test: glib/power-profile-monitor-dbus.test 1168s TAP version 13 1168s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1168s 1..1 1169s ok - glib/power-profile-monitor-dbus.test 1169s # Running test: glib/gdbus-exit-on-close.test 1169s TAP version 14 1169s # random seed: R02S59a27a54b6f606822bd6486589aa87b9 1169s 1..4 1169s # Start of gdbus tests 1169s # Start of exit-on-close tests 1169s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/default/.dirs/home 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/default/.dirs/cache 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/default/.dirs/system-config2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/default/.dirs/config 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/default/.dirs/system-data2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/default/.dirs/data 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/default/.dirs/state 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/default/.dirs/runtime 1169s ok 1 /gdbus/exit-on-close/default 1169s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/true/.dirs/home 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/true/.dirs/cache 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/true/.dirs/system-config2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/true/.dirs/config 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/true/.dirs/system-data2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/true/.dirs/data 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/true/.dirs/state 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/true/.dirs/runtime 1169s ok 2 /gdbus/exit-on-close/true 1169s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/false/.dirs/home 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/false/.dirs/cache 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/false/.dirs/system-config2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/false/.dirs/config 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/false/.dirs/system-data2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/false/.dirs/data 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/false/.dirs/state 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/false/.dirs/runtime 1169s ok 3 /gdbus/exit-on-close/false 1169s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/we-close/.dirs/home 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/we-close/.dirs/cache 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/we-close/.dirs/system-config2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/we-close/.dirs/config 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/we-close/.dirs/system-data2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/we-close/.dirs/data 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/we-close/.dirs/state 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_UAEOK3/gdbus/exit-on-close/we-close/.dirs/runtime 1169s ok - glib/gdbus-exit-on-close.test 1169s ok 4 /gdbus/exit-on-close/we-close 1169s # Start of default tests 1169s # End of default tests 1169s # Start of true tests 1169s # End of true tests 1169s # Start of false tests 1169s # End of false tests 1169s # Start of we-close tests 1169s # End of we-close tests 1169s # End of exit-on-close tests 1169s # End of gdbus tests 1169s # Running test: glib/portal-support-flatpak-full.test 1169s TAP version 14 1169s # random seed: R02S6b2f5d46a654f85a04949b5c7803a9c4 1169s 1..1 1169s # Start of portal-support tests 1169s # Start of flatpak tests 1169s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_0IT7J3/portal-support/flatpak/full/.dirs/home 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_0IT7J3/portal-support/flatpak/full/.dirs/cache 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_0IT7J3/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_0IT7J3/portal-support/flatpak/full/.dirs/system-config2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_0IT7J3/portal-support/flatpak/full/.dirs/config 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_0IT7J3/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_0IT7J3/portal-support/flatpak/full/.dirs/system-data2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_0IT7J3/portal-support/flatpak/full/.dirs/data 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_0IT7J3/portal-support/flatpak/full/.dirs/state 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_0IT7J3/portal-support/flatpak/full/.dirs/runtime 1169s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_0IT7J3/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1169s ok 1 /portal-support/flatpak/full 1169s # End of flatpak tests 1169s # End of portal-support tests 1169s ok - glib/portal-support-flatpak-full.test 1169s # Running test: glib/data-input-stream.test 1169s TAP version 14 1169s # random seed: R02Sbe705d7e3e205a9a555179df911ce132 1169s 1..10 1169s # Start of data-input-stream tests 1169s ok 1 /data-input-stream/basic 1169s ok 2 /data-input-stream/read-lines-LF 1169s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1169s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1169s ok 5 /data-input-stream/read-lines-CR 1169s ok 6 /data-input-stream/read-lines-CR-LF 1169s ok 7 /data-input-stream/read-lines-any 1169s ok 8 /data-input-stream/read-until 1169s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 1169s # Test vector 1: {"key": "value"}? and ? 1169s ok 9 /data-input-stream/read-upto 1169s ok 10 /data-input-stream/read-int 1169s # End of data-input-stream tests 1169s ok - glib/data-input-stream.test 1169s # Running test: glib/converter-stream.test 1169s TAP version 14 1169s # random seed: R02Seeadc3891a03b5503d2305b921301b89 1169s 1..17 1169s # Start of converter tests 1169s ok 1 /converter/basics 1169s # End of converter tests 1169s # Start of converter-input-stream tests 1169s ok 2 /converter-input-stream/expander 1169s ok 3 /converter-input-stream/compressor 1169s # Start of truncation tests 1169s ok 4 /converter-input-stream/truncation/zlib 1169s ok 5 /converter-input-stream/truncation/gzip 1169s ok 6 /converter-input-stream/truncation/raw 1169s # End of truncation tests 1169s # Start of charset tests 1169s ok 7 /converter-input-stream/charset/utf8->latin1 1169s ok 8 /converter-input-stream/charset/latin1->utf8 1169s ok 9 /converter-input-stream/charset/fallbacks 1169s # End of charset tests 1169s # End of converter-input-stream tests 1169s # Start of converter-output-stream tests 1169s # Start of roundtrip tests 1169s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1169s ok 10 /converter-output-stream/roundtrip/zlib-0 1169s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1170s ok 11 /converter-output-stream/roundtrip/zlib-9 1170s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1170s ok 12 /converter-output-stream/roundtrip/gzip-0 1170s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1170s ok 13 /converter-output-stream/roundtrip/gzip-9 1170s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1170s ok 14 /converter-output-stream/roundtrip/raw-0 1170s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1170s ok 15 /converter-output-stream/roundtrip/raw-9 1170s # End of roundtrip tests 1170s # End of converter-output-stream tests 1170s # Start of converter-stream tests 1170s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1170s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc9dd1907cb20 and GSocketClientAsyncConnectData 0xc9dd19075270 1170s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1170s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1170s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc9dd18cbbc10 for GSocketClientAsyncConnectData 0xc9dd19075270 1170s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1170s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1170s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1170s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1170s ok 16 /converter-stream/pollable 1170s ok 17 /converter-stream/leftover 1170s # End of converter-stream tests 1170s ok - glib/converter-stream.test 1170s # Running test: glib/properties-refcount3.test 1170s TAP version 14 1170s # random seed: R02S8613c265a8fc264f351aa0baf78e8224 1170s 1..1 1170s # Start of gobject tests 1170s # Start of refcount tests 1172s # Executing: glib/properties-refcount3.test 1177s # Executing: glib/properties-refcount3.test 1182s # Executing: glib/properties-refcount3.test 1187s # Executing: glib/properties-refcount3.test 1192s # Executing: glib/properties-refcount3.test 1197s # Executing: glib/properties-refcount3.test 1200s # 1200s # stopping 1200s # 1200s # stopped 1200s # 1200s # 26590808 1900888 1200s # 1200s ok 1 /gobject/refcount/properties-3 1200s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1200s # End of refcount tests 1200s # End of gobject tests 1200s ok - glib/properties-refcount3.test 1200s # Running test: glib/642026.test 1200s TAP version 14 1200s # random seed: R02Sdeef3e3e8f97535e0cfca539eeade413 1200s 1..1 1200s # Start of glib tests 1200s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1200s ok - glib/642026.test 1200s # Running test: glib/permission.test 1200s ok 1 /glib/642026 1200s # End of glib tests 1200s TAP version 14 1200s # random seed: R02S5509320bd875bd18aacd405ae225c2b3 1200s 1..1 1200s # Start of permission tests 1200s ok - glib/permission.test 1200s # Running test: glib/closure-refcount.test 1200s ok 1 /permission/simple 1200s # End of permission tests 1200s TAP version 14 1200s # random seed: R02S422ac8b0ba6f0d19acf626495274e63e 1200s 1..1 1200s # Start of closure tests 1200s # Init 0xc2a70dd4fdc0 1200s # Yielding from main thread 1200s # Yielding from main thread 1200s # Yielding from thread1 1200s # Yielding from main thread 1200s # Yielding from main thread 1200s # Yielding from main thread 1200s # Yielding from thread1 1200s # Yielding from main thread 1200s # Yielding from main thread 1200s # Yielding from thread2 1200s # Yielding from main thread 1200s ok - glib/closure-refcount.test 1200s # Running test: glib/gmenumodel.test 1200s # Yielding from main thread 1200s # Stopping 1200s # Stopped 1200s ok 1 /closure/refcount 1200s # End of closure tests 1200s TAP version 14 1200s # random seed: R02Sbd84c8c7e4aa56b653c878bec38e1242 1200s 1..15 1200s # Start of gmenu tests 1201s ok 1 /gmenu/equality 1201s # slow test /gmenu/equality executed in 0.50 secs 1201s ok 2 /gmenu/random 1201s # slow test /gmenu/random executed in 0.62 secs 1201s ok 3 /gmenu/attributes 1201s ok 4 /gmenu/links 1201s ok 5 /gmenu/mutable 1201s ok 6 /gmenu/convenience 1201s ok 7 /gmenu/menuitem 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1201s ok 8 /gmenu/input-validation 1201s # Start of dbus tests 1202s # Executing: glib/gmenumodel.test 1202s ok 9 /gmenu/dbus/roundtrip 1202s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1203s ok 10 /gmenu/dbus/subscriptions 1204s ok 11 /gmenu/dbus/threaded 1204s # slow test /gmenu/dbus/threaded executed in 0.86 secs 1204s # Start of peer tests 1205s ok 12 /gmenu/dbus/peer/roundtrip 1205s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1205s ok 13 /gmenu/dbus/peer/subscriptions 1205s # End of peer tests 1205s # Start of export tests 1205s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1205s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1205s ok 14 /gmenu/dbus/export/error-handling 1205s # End of export tests 1205s # End of dbus tests 1205s # Start of attributes tests 1205s ok 15 /gmenu/attributes/iterate 1205s # End of attributes tests 1205s # End of gmenu tests 1205s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1205s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1205s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1205s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1205s ok - glib/gmenumodel.test 1205s # Running test: glib/gdbus-address-get-session.test 1205s ok - glib/gdbus-address-get-session.test 1205s # Running test: glib/sequence.test 1205s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1205s TAP version 14 1205s # random seed: R02S09885b1c1c0a994541cd282217c4eb33 1205s 1..2 1205s # Start of gdbus tests 1205s ok 1 /gdbus/x11-autolaunch 1205s ok 2 /gdbus/xdg-runtime 1205s # End of gdbus tests 1205s TAP version 14 1205s # random seed: R02Sa019cd52cf7fc6f03358635059a7efc3 1205s 1..16 1205s # Start of sequence tests 1205s ok 1 /sequence/out-of-range-jump 1205s ok 2 /sequence/iter-move 1205s ok 3 /sequence/insert-sorted-non-pointer 1205s ok 4 /sequence/stable-sort 1205s ok 5 /sequence/is_empty 1205s # Start of random tests 1206s ok 6 /sequence/random/seed:825541564 1206s # slow test /sequence/random/seed:825541564 executed in 0.55 secs 1206s ok 7 /sequence/random/seed:801678400 1206s # slow test /sequence/random/seed:801678400 executed in 0.52 secs 1207s # Executing: glib/sequence.test 1207s ok 8 /sequence/random/seed:1477639090 1207s # slow test /sequence/random/seed:1477639090 executed in 0.54 secs 1207s ok 9 /sequence/random/seed:3369132895 1207s # slow test /sequence/random/seed:3369132895 executed in 0.50 secs 1208s ok 10 /sequence/random/seed:1192944867 1208s # slow test /sequence/random/seed:1192944867 executed in 0.53 secs 1209s ok 11 /sequence/random/seed:770458294 1209s # slow test /sequence/random/seed:770458294 executed in 0.55 secs 1209s ok 12 /sequence/random/seed:1099575817 1209s # slow test /sequence/random/seed:1099575817 executed in 0.53 secs 1210s ok 13 /sequence/random/seed:590523467 1210s # slow test /sequence/random/seed:590523467 executed in 0.54 secs 1210s ok 14 /sequence/random/seed:3583571454 1210s # slow test /sequence/random/seed:3583571454 executed in 0.55 secs 1211s ok 15 /sequence/random/seed:579241222 1211s # slow test /sequence/random/seed:579241222 executed in 0.55 secs 1211s ok 16 /sequence/random/seed:1399869649 1211s # slow test /sequence/random/seed:1399869649 executed in 0.52 secs 1211s # End of random tests 1211s # End of sequence tests 1211s ok - glib/sequence.test 1211s # Running test: glib/cxx-14.test 1211s TAP version 14 1211s # random seed: R02Sc1739d6c83c57b2b76c613b808c3bbd2 1211s 1..2 1211s # Start of gtask tests 1211s # 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. 1211s ok 1 /gtask/name 1211s # Start of name tests 1211s # 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. 1211s ok 2 /gtask/name/macro-wrapper 1211s # End of name tests 1211s # End of gtask tests 1211s ok - glib/cxx-14.test 1211s # Running test: glib/portal-support-flatpak-gsettings-only.test 1211s TAP version 14 1211s # random seed: R02S94d5124532937fa1068b49dede2af004 1211s 1..1 1211s # Start of portal-support tests 1211s # Start of flatpak tests 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_DE7GK3/portal-support/flatpak/gsettings/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_DE7GK3/portal-support/flatpak/gsettings/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_DE7GK3/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_DE7GK3/portal-support/flatpak/gsettings/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_DE7GK3/portal-support/flatpak/gsettings/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_DE7GK3/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_DE7GK3/portal-support/flatpak/gsettings/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_DE7GK3/portal-support/flatpak/gsettings/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_DE7GK3/portal-support/flatpak/gsettings/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_DE7GK3/portal-support/flatpak/gsettings/.dirs/runtime 1211s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_DE7GK3/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1211s ok 1 /portal-support/flatpak/gsettings 1211s # End of flatpak tests 1211s # End of portal-support tests 1211s ok - glib/portal-support-flatpak-gsettings-only.test 1211s # Running test: glib/power-profile-monitor.test 1211s TAP version 14 1211s # random seed: R02S3dce585b7faae05973d93ebbe43dd830 1211s 1..1 1211s # Start of power-profile-monitor tests 1211s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1211s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’ 1211s ok 1 /power-profile-monitor/default 1211s # End of power-profile-monitor tests 1211s TAP version 14 1211s # random seed: R02S4ed0c4b69e6693db4a4528838e4bc6dc 1211s 1..2 1211s # Start of fdo-notification-backend tests 1211s # Test constructing a GFdoNotificationBackend 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s ok 1 /fdo-notification-backend/construction 1211s # Start of dbus tests 1211s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1211s ok - glib/power-profile-monitor.test 1211s # Running test: glib/fdo-notification-backend.test 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s ok 2 /fdo-notification-backend/dbus/activate-action 1211s # End of dbus tests 1211s # End of fdo-notification-backend tests 1211s ok - glib/fdo-notification-backend.test 1211s # Running test: glib/vfs.test 1211s TAP version 14 1211s # random seed: R02S0ed4d435b34cc7aed83abce9051b3df2 1211s 1..3 1211s # Start of gvfs tests 1211s ok 1 /gvfs/local 1211s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1211s ok 2 /gvfs/register-scheme 1211s # Start of resource tests 1211s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1211s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1211s ok 3 /gvfs/resource/malformed-escaping 1211s # End of resource tests 1211s # End of gvfs tests 1211s ok - glib/vfs.test 1211s # Running test: glib/performance.test 1212s # Executing: glib/performance.test 1217s # Executing: glib/performance.test 1218s simple-construction: Millions of constructed objects per second: 17.679 1220s simple-construction1: Millions of constructed objects per second: 72.630 1222s # Executing: glib/performance.test 1223s complex-construction: Millions of constructed objects per second: 5.820 1227s # Executing: glib/performance.test 1228s complex-construction1: Millions of constructed objects per second: 10.086 1232s # Executing: glib/performance.test 1233s complex-construction2: Millions of constructed objects per second: 13.181 1234s finalization: Millions of finalized objects per second: 3.669 1236s type-check: Million type checks per second: 106.13 1237s emit-unhandled: Emissions per second: 4343343 1237s # Executing: glib/performance.test 1238s emit-unhandled-empty: Emissions per second: 23064227 1239s emit-unhandled-generic: Emissions per second: 5630972 1240s emit-unhandled-generic-empty: Emissions per second: 22963753 1242s emit-unhandled-args: Emissions per second: 3878887 1242s # Executing: glib/performance.test 1243s emit-handled: Emissions per second: 3088088 1244s emit-handled-empty: Emissions per second: 3177758 1245s emit-handled-generic: Emissions per second: 3157315 1246s emit-handled-generic-empty: Emissions per second: 5048579 1247s # Executing: glib/performance.test 1247s emit-handled-args: Emissions per second: 2856194 1249s notify-unhandled: Notify (unhandled) per second: 26017790 1250s notify-by-pspec-unhandled: Notify (unhandled) per second: 102024280 1251s notify-handled: Notify per second: 1933852 1252s # Executing: glib/performance.test 1252s notify-by-pspec-handled: Notify per second: 2056071 1254s property-set: Property set per second: 13216308 1255s property-set-signaled: Property set per second: 4000501 1256s property-get: Property get per second: 13993480 1257s # Executing: glib/performance.test 1257s refcount: Million refs+unref per second: 25.92 1259s refcount-1: Million refs+unref per second: 76.33 1260s refcount-toggle: Million refs+unref per second: 58.91 1260s ok - glib/performance.test 1260s # Running test: glib/portal-support-env-var.test 1260s TAP version 14 1260s # random seed: R02S0bc3cb94d4a4eeaa4df5c5f45b6f4f87 1260s 1..1 1260s # Start of portal-support tests 1260s ok 1 /portal-support/env-var 1260s # End of portal-support tests 1260s ok - glib/portal-support-env-var.test 1260s # Running test: glib/gdbus-proxy-well-known-name.test 1260s TAP version 14 1260s # random seed: R02S66ad019e6d30935721cf8f1f44b6b2cb 1260s 1..1 1260s # Start of gdbus tests 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_H1HOK3/gdbus/proxy-well-known-name/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_H1HOK3/gdbus/proxy-well-known-name/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_H1HOK3/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_H1HOK3/gdbus/proxy-well-known-name/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_H1HOK3/gdbus/proxy-well-known-name/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_H1HOK3/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_H1HOK3/gdbus/proxy-well-known-name/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_H1HOK3/gdbus/proxy-well-known-name/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_H1HOK3/gdbus/proxy-well-known-name/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_H1HOK3/gdbus/proxy-well-known-name/.dirs/runtime 1260s ok - glib/gdbus-proxy-well-known-name.test 1260s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1260s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1260s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1260s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1260s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1260s ok 1 /gdbus/proxy-well-known-name 1260s # End of gdbus tests 1260s # Running test: glib/gdbus-message.test 1260s TAP version 14 1260s # random seed: R02Se13e98aaea1fb0405c3dc7b11fe05e2a 1260s 1..3 1260s # Start of gdbus tests 1260s # Start of message tests 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_5B4MK3/gdbus/message/lock/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_5B4MK3/gdbus/message/lock/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_5B4MK3/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_5B4MK3/gdbus/message/lock/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_5B4MK3/gdbus/message/lock/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_5B4MK3/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_5B4MK3/gdbus/message/lock/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_5B4MK3/gdbus/message/lock/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_5B4MK3/gdbus/message/lock/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_5B4MK3/gdbus/message/lock/.dirs/runtime 1260s ok 1 /gdbus/message/lock 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_5B4MK3/gdbus/message/copy/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_5B4MK3/gdbus/message/copy/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_5B4MK3/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_5B4MK3/gdbus/message/copy/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_5B4MK3/gdbus/message/copy/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_5B4MK3/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_5B4MK3/gdbus/message/copy/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_5B4MK3/gdbus/message/copy/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_5B4MK3/gdbus/message/copy/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_5B4MK3/gdbus/message/copy/.dirs/runtime 1260s ok 2 /gdbus/message/copy 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_5B4MK3/gdbus/message/bytes-needed/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_5B4MK3/gdbus/message/bytes-needed/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_5B4MK3/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_5B4MK3/gdbus/message/bytes-needed/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_5B4MK3/gdbus/message/bytes-needed/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_5B4MK3/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_5B4MK3/gdbus/message/bytes-needed/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_5B4MK3/gdbus/message/bytes-needed/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_5B4MK3/gdbus/message/bytes-needed/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_5B4MK3/gdbus/message/bytes-needed/.dirs/runtime 1260s # Vector: 0 1260s # Vector: 1 1260s # Vector: 2 1260s # Vector: 3 1260s # Vector: 4 1260s # Vector: 5 1260s ok 3 /gdbus/message/bytes-needed 1260s # End of message tests 1260s # End of gdbus tests 1260s ok - glib/gdbus-message.test 1260s # Running test: glib/spawn-singlethread.test 1260s TAP version 14 1260s # random seed: R02S39919f30e6fc1b677d8a87cc816e5134 1260s 1..9 1260s # Start of gthread tests 1260s ok 1 /gthread/spawn-single-sync 1260s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1260s ok 2 /gthread/spawn-stderr-socket 1260s ok 3 /gthread/spawn-single-async 1260s # thread 1 1260s # thread 1 1260s ok - glib/spawn-singlethread.test 1260s # Running test: glib/inet-address.test 1260s ok - glib/inet-address.test 1260s # Running test: glib/g-file-info.test 1260s ok 4 /gthread/spawn-single-async-with-fds 1260s ok 5 /gthread/spawn-async-with-invalid-fds 1260s ok 6 /gthread/spawn-script 1260s ok 7 /gthread/spawn-posix-spawn 1260s # Start of spawn tests 1260s ok 8 /gthread/spawn/nonexistent 1260s # FD map: 1260s # • 5 → 15 1260s # • 6 → 16 1260s # • 7 → 17 1260s # • 8 → 18 1260s # • 9 → 19 1260s # • 10 → 20 1260s # • 11 → 21 1260s # • 12 → 22 1260s # • 13 → 23 1260s # • 3 → 13 1260s ok 9 /gthread/spawn/fd-assignment-clash 1260s # End of spawn tests 1260s # End of gthread tests 1260s TAP version 14 1260s # random seed: R02S7cbef2d6e0d4dc7ccc84bc661f021053 1260s 1..11 1260s # Start of inet-address tests 1260s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::1::2 1260s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 2001:1:2:3:4:5:6:7] 1260s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7 1260s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7] 1260s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7]:80 1260s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 0:1:2:3:4:5:6:7:8:9 1260s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::FFFFFFF 1260s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 204.152.189.116:80 1260s ok 1 /inet-address/parse 1260s ok 2 /inet-address/any 1260s ok 3 /inet-address/loopback 1260s ok 4 /inet-address/bytes 1260s ok 5 /inet-address/property 1260s # End of inet-address tests 1260s # Start of socket-address tests 1260s ok 6 /socket-address/basic 1260s ok 7 /socket-address/to-string 1260s # End of socket-address tests 1260s # Start of address-mask tests 1260s ok 8 /address-mask/parse 1260s ok 9 /address-mask/property 1260s ok 10 /address-mask/equal 1260s ok 11 /address-mask/match 1260s # End of address-mask tests 1260s TAP version 14 1260s # random seed: R02S532f3a10ae98117ef57297afde219c9c 1260s 1..6 1260s # Start of g-file-info tests 1260s ok 1 /g-file-info/test_g_file_info 1260s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1260s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1260s ok 2 /g-file-info/xattrs 1260s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1260s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1260s ok 3 /g-file-info/set-modified-date-time-precision 1260s # Start of test_g_file_info tests 1260s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1260s ok 4 /g-file-info/test_g_file_info/modification-time 1260s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1260s ok 5 /g-file-info/test_g_file_info/access-time 1260s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1260s ok 6 /g-file-info/test_g_file_info/creation-time 1260s # End of test_g_file_info tests 1260s # End of g-file-info tests 1260s ok - glib/g-file-info.test 1260s # Running test: glib/gdbus-test-codegen.test 1260s TAP version 14 1260s # random seed: R02S5b548b388de1594aefbf3c68fd489f86 1260s 1..8 1260s # Start of gdbus tests 1260s # Start of codegen tests 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/annotations/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/annotations/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/annotations/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/annotations/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/annotations/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/annotations/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/annotations/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/annotations/.dirs/runtime 1260s ok 1 /gdbus/codegen/annotations 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/interface_stability/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/interface_stability/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/interface_stability/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/interface_stability/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/interface_stability/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/interface_stability/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/interface_stability/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/interface_stability/.dirs/runtime 1260s ok 2 /gdbus/codegen/interface_stability 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/object-manager/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/object-manager/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/object-manager/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/object-manager/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/object-manager/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/object-manager/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/object-manager/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/object-manager/.dirs/runtime 1260s ok 3 /gdbus/codegen/object-manager 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/property-naming/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/property-naming/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/property-naming/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/property-naming/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/property-naming/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/property-naming/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/property-naming/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/property-naming/.dirs/runtime 1260s ok 4 /gdbus/codegen/property-naming 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/autocleanups/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/autocleanups/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/autocleanups/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/autocleanups/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/autocleanups/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/autocleanups/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/autocleanups/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/autocleanups/.dirs/runtime 1260s ok 5 /gdbus/codegen/autocleanups 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/deprecations/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/deprecations/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/deprecations/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/deprecations/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/deprecations/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/deprecations/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/deprecations/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/deprecations/.dirs/runtime 1260s ok 6 /gdbus/codegen/deprecations 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/standalone-interface-info/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/standalone-interface-info/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/standalone-interface-info/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/standalone-interface-info/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/standalone-interface-info/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1260s ok 7 /gdbus/codegen/standalone-interface-info 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/unix-fd-list/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/unix-fd-list/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/unix-fd-list/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/unix-fd-list/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/unix-fd-list/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_V5UPK3/gdbus/codegen/unix-fd-list/.dirs/runtime 1260s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1260s ok 8 /gdbus/codegen/unix-fd-list 1260s # End of codegen tests 1260s # End of gdbus tests 1260s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1260s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1260s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1260s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1260s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1260s ok - glib/gdbus-test-codegen.test 1260s # Running test: glib/gdbus-server-auth.test 1260s TAP version 14 1260s # random seed: R02S237b8bfc90b745188881dc579067ec5a 1260s 1..10 1260s # Start of gdbus tests 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/.dirs/runtime 1260s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KC1OK3/gdbus-server-auth-0Y0OK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1260s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KC1OK3/gdbus-server-auth-0Y0OK3/dbus-wcRwGyh8 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 32597 1260s ok 1 /gdbus/server-auth 1260s # Start of server-auth tests 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/abstract/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/abstract/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/abstract/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/abstract/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/abstract/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/abstract/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/abstract/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/abstract/.dirs/runtime 1260s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_KC1OK3/gdbus-server-auth-5693J3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1260s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KC1OK3/gdbus-server-auth-5693J3/dbus-EAHHtXa6 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1260s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1260s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 32597 1260s ok 2 /gdbus/server-auth/abstract 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/tcp/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/tcp/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/tcp/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/tcp/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/tcp/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/tcp/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/tcp/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/tcp/.dirs/runtime 1260s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1260s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/.dirs/runtime 1260s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KC1OK3/gdbus-server-auth-9FI4J3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1260s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KC1OK3/gdbus-server-auth-9FI4J3/dbus-ythKCvfF 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 32597 1260s ok 4 /gdbus/server-auth/anonymous 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/.dirs/runtime 1260s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KC1OK3/gdbus-server-auth-8BZ3J3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1260s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KC1OK3/gdbus-server-auth-8BZ3J3/dbus-AHWirg4G 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 32597 1260s ok 5 /gdbus/server-auth/external 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/.dirs/runtime 1260s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KC1OK3/gdbus-server-auth-LDU5J3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1260s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/path-in-use/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/path-in-use/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/path-in-use/.dirs/system-config1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/path-in-use/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/path-in-use/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/path-in-use/.dirs/system-data1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/path-in-use/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/path-in-use/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/path-in-use/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/path-in-use/.dirs/runtime 1260s ok 7 /gdbus/server-auth/path-in-use 1260s # Start of anonymous tests 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/tcp/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/tcp/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/tcp/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/tcp/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/tcp/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1260s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1260s ok 8 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1260s # End of anonymous tests 1260s # Start of external tests 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/require-same-user/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/require-same-user/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/require-same-user/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/require-same-user/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/require-same-user/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/external/require-same-user/.dirs/runtime 1260s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KC1OK3/gdbus-server-auth-GST5J3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1260s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KC1OK3/gdbus-server-auth-GST5J3/dbus-Krx1XLDv 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 32597 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1260s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1260s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=32597,uid=1000,gid=1000 1260s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 32597 1260s ok 9 /gdbus/server-auth/external/require-same-user 1260s # End of external tests 1260s # Start of sha1 tests 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/tcp/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/tcp/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/tcp/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/tcp/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/tcp/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KC1OK3/gdbus/server-auth/sha1/tcp/.dirs/runtime 1260s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1260s ok 10 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1260s # End of sha1 tests 1260s # End of server-auth tests 1260s # End of gdbus tests 1260s ok - glib/gdbus-server-auth.test 1260s # Running test: glib/object.test 1260s TAP version 14 1260s # random seed: R02Sae6dce8ba756ff6c8cf2129c890100d1 1260s 1..2 1260s # Start of object tests 1260s # Start of constructor tests 1260s ok 1 /object/constructor/singleton 1260s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1260s # End of constructor tests 1260s # End of object tests 1260s ok - glib/object.test 1260s # Running test: glib/atomic-c-17.test 1260s TAP version 14 1260s # random seed: R02S4ebc8a885faa49d464cbe4b2e9f877a0 1260s 1..2 1260s # Start of atomic tests 1260s ok 1 /atomic/types 1260s ok 2 /atomic/threaded 1260s # End of atomic tests 1260s ok - glib/atomic-c-17.test 1260s # Running test: glib/signals-refcount4.test 1260s TAP version 14 1260s # random seed: R02S2b3802cbfa1798c4f5bcf95984b24f05 1260s 1..1 1260s # Start of gobject tests 1260s # Start of refcount tests 1260s # init 0xb488f3a722d0 1260s # 1260s # init 0xb488f3a6a580 1260s # 1262s # Executing: glib/signals-refcount4.test 1265s # dispose 0xb488f3a722d0! 1265s # 1265s # dispose 0xb488f3a6a580! 1265s # 1265s ok 1 /gobject/refcount/signals 1265s # slow test /gobject/refcount/signals executed in 5.00 secs 1265s # End of refcount tests 1265s # End of gobject tests 1265s ok - glib/signals-refcount4.test 1265s # Running test: glib/gdbus-auth.test 1265s TAP version 14 1265s # random seed: R02Se0d2bf244c7db21053c0d583efafdeb7 1265s 1..5 1265s # Start of gdbus tests 1265s # Start of auth tests 1265s # Start of client tests 1265s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/EXTERNAL/.dirs/home 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/EXTERNAL/.dirs/cache 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/EXTERNAL/.dirs/config 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/EXTERNAL/.dirs/data 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/EXTERNAL/.dirs/state 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/EXTERNAL/.dirs/runtime 1265s ok 1 /gdbus/auth/client/EXTERNAL 1265s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1265s ok - glib/gdbus-auth.test 1265s # Running test: glib/glistmodel.test 1265s ok - glib/glistmodel.test 1265s # Running test: glib/macros.test 1265s ok - glib/macros.test 1265s # Running test: glib/private.test 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1265s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1265s # End of client tests 1265s # Start of server tests 1265s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/ANONYMOUS/.dirs/home 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/ANONYMOUS/.dirs/cache 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/ANONYMOUS/.dirs/config 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/ANONYMOUS/.dirs/data 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/ANONYMOUS/.dirs/state 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1265s ok 3 /gdbus/auth/server/ANONYMOUS 1265s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/EXTERNAL/.dirs/home 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/EXTERNAL/.dirs/cache 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/EXTERNAL/.dirs/config 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/EXTERNAL/.dirs/data 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/EXTERNAL/.dirs/state 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/EXTERNAL/.dirs/runtime 1265s ok 4 /gdbus/auth/server/EXTERNAL 1265s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_U1F6J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1265s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1265s # End of server tests 1265s # End of auth tests 1265s # End of gdbus tests 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s TAP version 14 1265s # random seed: R02S6388c7c44d933e5bebaba2cce6df1184 1265s 1..18 1265s # Start of glistmodel tests 1265s # Start of store tests 1265s ok 1 /glistmodel/store/properties 1265s ok 2 /glistmodel/store/non-gobjects 1265s ok 3 /glistmodel/store/boundaries 1265s ok 4 /glistmodel/store/refcounts 1265s ok 5 /glistmodel/store/sorted 1265s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1265s ok 6 /glistmodel/store/splice-replace-middle 1265s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1265s ok 7 /glistmodel/store/splice-replace-all 1265s ok 8 /glistmodel/store/splice-noop 1265s ok 9 /glistmodel/store/splice-remove-multiple 1265s ok 10 /glistmodel/store/splice-add-multiple 1265s ok 11 /glistmodel/store/splice-wrong-type 1265s ok 12 /glistmodel/store/item-type 1265s ok 13 /glistmodel/store/remove-all 1265s ok 14 /glistmodel/store/sort 1265s ok 15 /glistmodel/store/get-item-cache 1265s ok 16 /glistmodel/store/items-changed 1265s ok 17 /glistmodel/store/past-end 1265s ok 18 /glistmodel/store/find 1265s # End of store tests 1265s # End of glistmodel tests 1265s TAP version 14 1265s # random seed: R02Sa3fe042cf7e5981e1d57976ceaced5dd 1265s 1..3 1265s # Start of alignof tests 1265s ok 1 /alignof/fallback 1265s # End of alignof tests 1265s # Start of assert tests 1265s ok 2 /assert/static 1265s # End of assert tests 1265s # Start of struct tests 1265s ok 3 /struct/sizeof_member 1265s # End of struct tests 1265s TAP version 14 1265s # random seed: R02S3d5ac7d40a18998ef2ebb2707c714a83 1265s 1..8 1265s # Start of thread tests 1265s ok 1 /thread/private1 1266s ok 2 /thread/private2 1266s # slow test /thread/private2 executed in 1.09 secs 1266s ok 3 /thread/private3 1266s ok 4 /thread/staticprivate1 1266s ok 5 /thread/staticprivate2 1266s ok 6 /thread/staticprivate3 1267s # Executing: glib/private.test 1267s ok 7 /thread/staticprivate4 1267s # slow test /thread/staticprivate4 executed in 1.09 secs 1267s ok 8 /thread/staticprivate5 1267s # End of thread tests 1267s ok - glib/private.test 1267s # Running test: glib/testing-nonfatal.test 1267s TAP version 14 1267s # random seed: R02Sda4bdf2f16f94f1d363e6c0537ed8da5 1267s ** 1267s 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?") 1267s # 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?") 1267s ok - glib/testing-nonfatal.test 1267s # Running test: glib/dataset.test 1267s ok - glib/dataset.test 1267s # Running test: glib/socket-service.test 1267s TAP version 14 1267s # random seed: R02Sf66da9bbdd179e6c8f3f7af784a3e870 1267s 1..15 1267s # Start of quark tests 1267s ok 1 /quark/basic 1267s ok 2 /quark/string 1267s # End of quark tests 1267s # Start of dataset tests 1267s ok 3 /dataset/basic 1267s ok 4 /dataset/id 1267s ok 5 /dataset/full 1267s ok 6 /dataset/foreach 1267s ok 7 /dataset/destroy 1267s # End of dataset tests 1267s # Start of datalist tests 1267s ok 8 /datalist/id 1267s ok 9 /datalist/recursive-clear 1267s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1267s ok 10 /datalist/id-remove-multiple 1267s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1267s ok 11 /datalist/id-remove-multiple-destroy-order 1267s ok 12 /datalist/update-atomic 1267s # Start of basic tests 1267s ok 13 /datalist/basic/few 1267s ok 14 /datalist/basic/many 1267s # End of basic tests 1267s # Start of id-remove-multiple tests 1267s ok 15 /datalist/id-remove-multiple/resize 1267s # End of id-remove-multiple tests 1267s # End of datalist tests 1267s TAP version 14 1267s # random seed: R02S8cc84c0b9fdc707351ec84d0cdcddc39 1267s 1..4 1267s # Start of socket-service tests 1267s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1267s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc000e4388210 and GSocketClientAsyncConnectData 0xc000e4382f10 1267s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1267s ok 1 /socket-service/start-stop 1267s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc000e438c2e0 and GSocketClientAsyncConnectData 0xc000e438bf40 1267s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1267s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1267s ok - glib/socket-service.test 1267s # Running test: glib/dir.test 1267s ok - glib/dir.test 1267s # Running test: glib/mappedfile.test 1267s ok - glib/mappedfile.test 1267s # Running test: glib/properties.test 1267s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc000e438c260 for GSocketClientAsyncConnectData 0xc000e4382f10 1267s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1267s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1267s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1267s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1267s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1267s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc000e438c260 for GSocketClientAsyncConnectData 0xc000e438bf40 1267s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1267s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1267s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1267s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1267s ok 2 /socket-service/read_write_async 1267s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc000e438c2e0 and GSocketClientAsyncConnectData 0xc000e438f9c0 1267s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1267s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1267s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc000e438ee30 for GSocketClientAsyncConnectData 0xc000e438f9c0 1267s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1267s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1267s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1267s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1267s ok 3 /socket-service/read_writev_async 1267s # Start of threaded tests 1267s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1267s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc000e4380a80 and GSocketClientAsyncConnectData 0xc000e438bf40 1267s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1267s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1267s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc000e438fb80 for GSocketClientAsyncConnectData 0xc000e438bf40 1267s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1267s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1267s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1267s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1267s ok 4 /socket-service/threaded/712570 1267s # End of threaded tests 1267s # End of socket-service tests 1267s TAP version 14 1267s # random seed: R02S0adea4f981a7efea28375ba4916e4595 1267s 1..3 1267s # Start of dir tests 1267s ok 1 /dir/read 1267s ok 2 /dir/nonexisting 1267s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1267s ok 3 /dir/refcounting 1267s # End of dir tests 1267s TAP version 14 1267s # random seed: R02S57799dab2fd0c0ec06a7dec80f291cb0 1267s 1..7 1267s # Start of mappedfile tests 1267s ok 1 /mappedfile/basic 1267s ok 2 /mappedfile/empty 1267s ok 3 /mappedfile/device 1267s ok 4 /mappedfile/nonexisting 1267s ok 5 /mappedfile/writable 1267s ok 6 /mappedfile/writable_fd 1267s ok 7 /mappedfile/gbytes 1267s # End of mappedfile tests 1267s TAP version 14 1267s # random seed: R02S589f64fcafeea6c25e7c99797d0c7abe 1267s 1..14 1267s # Start of properties tests 1267s ok 1 /properties/install 1267s ok 2 /properties/install-many 1267s ok 3 /properties/notify 1267s ok 4 /properties/notify-queue 1267s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1267s ok 5 /properties/construct 1267s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1267s # Test g_object_get_property with an initialized value 1267s # Test g_object_get_property with an uninitialized value 1267s # Test g_object_get_property with a transformable value 1267s ok 6 /properties/get-property 1267s ok 7 /properties/testv_with_no_properties 1267s ok 8 /properties/testv_with_valid_properties 1267s ok 9 /properties/testv_with_invalid_property_type 1267s ok 10 /properties/testv_with_invalid_property_names 1267s ok 11 /properties/testv_getv 1267s ok 12 /properties/testv_notify_queue 1267s # Start of notify tests 1267s ok 13 /properties/notify/too-many-freezes 1267s # End of notify tests 1267s # Start of set-property tests 1267s # Start of variant tests 1267s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1267s ok 14 /properties/set-property/variant/floating 1267s # End of variant tests 1267s # End of set-property tests 1267s # End of properties tests 1267s ok - glib/properties.test 1267s # Running test: glib/documentportal.test 1267s TAP version 14 1267s # random seed: R02S1dcb161ffbb0e0d327f2abda8ce914de 1267s 1..6 1267s # Start of document-portal tests 1267s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-uri/.dirs/home 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-uri/.dirs/cache 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_KO6BK3/document-portal/add-uri/.dirs/system-config1:/tmp/test_documentportal_KO6BK3/document-portal/add-uri/.dirs/system-config2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-uri/.dirs/config 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_KO6BK3/document-portal/add-uri/.dirs/system-data1:/tmp/test_documentportal_KO6BK3/document-portal/add-uri/.dirs/system-data2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-uri/.dirs/data 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-uri/.dirs/state 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_KO6BK3/document-portal/add-uri/.dirs/runtime 1267s # Created mount point /tmp/test_documentportal_KO6BK3/fake-document-portal-XAB4BK3/documents 1267s # Acquired a message bus connection 1267s # Acquired the name org.freedesktop.portal.Documents 1267s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1267s # Creating Document ID document-id-0 folder 1267s # Creating Document ID document-id-0 mapped to FD 13 (/tmp/test_documentportal_KO6BK3/test_document_portal_add_uri_S8YBK3) 1267s # fake-document-portal cancelled 1267s ok 1 /document-portal/add-uri 1267s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-not-existent-uri/.dirs/home 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-not-existent-uri/.dirs/cache 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_KO6BK3/document-portal/add-not-existent-uri/.dirs/system-config1:/tmp/test_documentportal_KO6BK3/document-portal/add-not-existent-uri/.dirs/system-config2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-not-existent-uri/.dirs/config 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_KO6BK3/document-portal/add-not-existent-uri/.dirs/system-data1:/tmp/test_documentportal_KO6BK3/document-portal/add-not-existent-uri/.dirs/system-data2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-not-existent-uri/.dirs/data 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-not-existent-uri/.dirs/state 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_KO6BK3/document-portal/add-not-existent-uri/.dirs/runtime 1267s # Created mount point /tmp/test_documentportal_KO6BK3/fake-document-portal-XGHWBK3/documents 1267s # Acquired a message bus connection 1267s # Acquired the name org.freedesktop.portal.Documents 1267s # fake-document-portal cancelled 1267s ok 2 /document-portal/add-not-existent-uri 1267s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-existent-and-not-existent-uri/.dirs/home 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-existent-and-not-existent-uri/.dirs/cache 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_KO6BK3/document-portal/add-existent-and-not-existent-uri/.dirs/system-config1:/tmp/test_documentportal_KO6BK3/document-portal/add-existent-and-not-existent-uri/.dirs/system-config2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-existent-and-not-existent-uri/.dirs/config 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_KO6BK3/document-portal/add-existent-and-not-existent-uri/.dirs/system-data1:/tmp/test_documentportal_KO6BK3/document-portal/add-existent-and-not-existent-uri/.dirs/system-data2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-existent-and-not-existent-uri/.dirs/data 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-existent-and-not-existent-uri/.dirs/state 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_KO6BK3/document-portal/add-existent-and-not-existent-uri/.dirs/runtime 1267s # Created mount point /tmp/test_documentportal_KO6BK3/fake-document-portal-XDZICK3/documents 1267s # Acquired a message bus connection 1267s # Acquired the name org.freedesktop.portal.Documents 1267s # Creating Document ID document-id-0 folder 1267s # Creating Document ID document-id-0 mapped to FD 20 (/tmp/test_documentportal_KO6BK3/test_document_portal_add_existent_and_not_existent_uris_Y8HCK3) 1267s # Creating Document ID document-id-1 folder 1267s # Creating Document ID document-id-1 mapped to FD 21 (/tmp/test_documentportal_KO6BK3/test_document_portal_add_existent_and_not_existent_uris_Y8HCK3) 1267s # fake-document-portal cancelled 1267s ok 3 /document-portal/add-existent-and-not-existent-uri 1267s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-symlink-uri/.dirs/home 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-symlink-uri/.dirs/cache 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_KO6BK3/document-portal/add-symlink-uri/.dirs/system-config1:/tmp/test_documentportal_KO6BK3/document-portal/add-symlink-uri/.dirs/system-config2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-symlink-uri/.dirs/config 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_KO6BK3/document-portal/add-symlink-uri/.dirs/system-data1:/tmp/test_documentportal_KO6BK3/document-portal/add-symlink-uri/.dirs/system-data2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-symlink-uri/.dirs/data 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-symlink-uri/.dirs/state 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_KO6BK3/document-portal/add-symlink-uri/.dirs/runtime 1267s # Created mount point /tmp/test_documentportal_KO6BK3/fake-document-portal-XW5ECK3/documents 1267s # Acquired a message bus connection 1267s # Acquired the name org.freedesktop.portal.Documents 1267s # Creating Document ID document-id-0 folder 1267s # Creating Document ID document-id-0 mapped to FD 24 (/tmp/test_documentportal_KO6BK3/test_document_portal_add_symlink_uri_2LHCK3) 1267s # Creating Document ID document-id-1 folder 1267s # Creating Document ID document-id-1 mapped to FD 25 (/tmp/test_documentportal_KO6BK3/test_document_portal_add_symlink_uri_2LHCK3) 1267s # fake-document-portal cancelled 1267s ok 4 /document-portal/add-symlink-uri 1267s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/home 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/cache 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/system-config1:/tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/system-config2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/config 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/system-data1:/tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/system-data2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/data 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/state 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/runtime 1267s # Created mount point /tmp/test_documentportal_KO6BK3/fake-document-portal-X4EBCK3/documents 1267s # Acquired a message bus connection 1267s # Acquired the name org.freedesktop.portal.Documents 1267s # fake-document-portal cancelled 1267s ok 5 /document-portal/add-uri-with-missing-doc-id-path 1267s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-file/.dirs/home 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-file/.dirs/cache 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-file/.dirs/system-config1:/tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-file/.dirs/system-config2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-file/.dirs/config 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-file/.dirs/system-data1:/tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-file/.dirs/system-data2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-file/.dirs/data 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-file/.dirs/state 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_KO6BK3/document-portal/add-uri-with-missing-doc-file/.dirs/runtime 1267s # Created mount point /tmp/test_documentportal_KO6BK3/fake-document-portal-XWBBCK3/documents 1267s # Acquired a message bus connection 1267s # Acquired the name org.freedesktop.portal.Documents 1267s # Creating Document ID document-id-0 folder 1267s # fake-document-portal cancelled 1267s ok 6 /document-portal/add-uri-with-missing-doc-file 1267s # End of document-portal tests 1267s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1267s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1267s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1267s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1267s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1267s cleaning up pid 32695 1267s ok - glib/documentportal.test 1267s # Running test: glib/atomic-c-23.test 1267s TAP version 14 1267s # random seed: R02Sfc9c2aa0b8357a8914e96f2931478f53 1267s 1..2 1267s # Start of atomic tests 1267s ok 1 /atomic/types 1267s ok - glib/atomic-c-23.test 1267s ok 2 /atomic/threaded 1267s # End of atomic tests 1267s # Running test: glib/reference.test 1267s TAP version 14 1267s # random seed: R02S5159e01ae5ebb2a5917839662d246bb8 1267s 1..29 1267s # Start of type tests 1267s ok 1 /type/fundamentals 1267s ok 2 /type/qdata 1267s ok 3 /type/query 1267s ok 4 /type/class-private 1267s # End of type tests 1267s # Start of object tests 1267s ok 5 /object/clear 1267s ok 6 /object/clear-function 1267s ok 7 /object/set 1267s ok 8 /object/set-function 1267s ok 9 /object/value 1267s ok 10 /object/initially-unowned 1267s ok 11 /object/weak-pointer 1267s ok 12 /object/weak-ref 1267s ok 13 /object/toggle-ref 1267s ok 14 /object/qdata 1267s ok 15 /object/qdata2 1267s # Start of set tests 1267s # /object/set/derived-type summary: Check that g_set_object() doesn’t give strict aliasing warnings when used on types derived from GObject 1267s ok 16 /object/set/derived-type 1267s # End of set tests 1267s # Start of weak-pointer tests 1267s ok 17 /object/weak-pointer/clear 1267s ok 18 /object/weak-pointer/clear-function 1267s ok 19 /object/weak-pointer/set 1267s ok 20 /object/weak-pointer/set-function 1267s # End of weak-pointer tests 1267s # Start of weak-ref tests 1267s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1267s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1267s ok 21 /object/weak-ref/on-dispose 1267s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1267s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1267s ok 22 /object/weak-ref/on-run-dispose 1267s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1267s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1267s ok 23 /object/weak-ref/on-toggle-notify 1267s ok 24 /object/weak-ref/in-toggle-notify 1267s ok 25 /object/weak-ref/many 1267s # Start of concurrent tests 1267s ok 26 /object/weak-ref/concurrent/0 1267s ok 27 /object/weak-ref/concurrent/1 1267s # End of concurrent tests 1267s # End of weak-ref tests 1267s # Start of toggle-ref tests 1267s ok 28 /object/toggle-ref/ref-on-dispose 1267s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1267s # End of toggle-ref tests 1267s # End of object tests 1267s ok - glib/reference.test 1267s # Running test: glib/shell.test 1267s TAP version 14 1267s # random seed: R02Seb528d86a0b02ebb41632812745c5f0e 1267s 1..52 1267s # Start of shell tests 1267s # Start of cmdline tests 1267s test cmdline: foo bar 1267s ok 1 /shell/cmdline/0 1267s test cmdline: foo 'bar' 1267s ok 2 /shell/cmdline/1 1267s test cmdline: foo "bar" 1267s ok 3 /shell/cmdline/2 1267s test cmdline: foo '' 'bar' 1267s ok 4 /shell/cmdline/3 1267s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1267s ok 5 /shell/cmdline/4 1267s test cmdline: foo blah foo bar baz 1267s ok 6 /shell/cmdline/5 1267s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1267s ok 7 /shell/cmdline/6 1267s test cmdline: foo \ 1267s bar 1267s ok 8 /shell/cmdline/7 1267s test cmdline: foo '' '' 1267s ok 9 /shell/cmdline/8 1267s test cmdline: foo \" la la la 1267s ok 10 /shell/cmdline/9 1267s test cmdline: foo \ foo woo woo\ 1267s ok 11 /shell/cmdline/10 1267s test cmdline: foo "yada yada \$\"" 1267s ok 12 /shell/cmdline/11 1267s test cmdline: foo "c:\\" 1267s ok 13 /shell/cmdline/12 1267s test cmdline: foo # bla bla bla 1267s bar 1267s ok 14 /shell/cmdline/13 1267s test cmdline: foo a#b 1267s ok 15 /shell/cmdline/14 1267s test cmdline: #foo 1267s ok 16 /shell/cmdline/15 1267s test cmdline: foo bar \ 1267s ok 17 /shell/cmdline/16 1267s test cmdline: foo 'bar baz 1267s ok 18 /shell/cmdline/17 1267s test cmdline: foo '"bar" baz 1267s ok 19 /shell/cmdline/18 1267s test cmdline: 1267s ok 20 /shell/cmdline/19 1267s test cmdline: 1267s ok 21 /shell/cmdline/20 1267s test cmdline: # foo bar 1267s ok 22 /shell/cmdline/21 1267s test cmdline: # 1267s ok 23 /shell/cmdline/22 1267s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1267s ok 24 /shell/cmdline/23 1267s # End of cmdline tests 1267s # Start of quote tests 1267s ok 25 /shell/quote/0 1267s ok 26 /shell/quote/1 1267s ok 27 /shell/quote/2 1267s ok 28 /shell/quote/3 1267s ok 29 /shell/quote/4 1267s ok 30 /shell/quote/5 1267s ok 31 /shell/quote/6 1267s # End of quote tests 1267s # Start of unquote tests 1267s ok 32 /shell/unquote/0 1267s ok 33 /shell/unquote/1 1267s ok 34 /shell/unquote/2 1267s ok 35 /shell/unquote/3 1267s ok 36 /shell/unquote/4 1267s ok 37 /shell/unquote/5 1267s ok 38 /shell/unquote/6 1267s ok 39 /shell/unquote/7 1267s ok 40 /shell/unquote/8 1267s ok 41 /shell/unquote/9 1267s ok 42 /shell/unquote/10 1267s ok 43 /shell/unquote/11 1267s ok 44 /shell/unquote/12 1267s ok 45 /shell/unquote/13 1267s ok 46 /shell/unquote/14 1267s ok 47 /shell/unquote/15 1267s ok 48 /shell/unquote/16 1267s ok 49 /shell/unquote/17 1267s ok 50 /shell/unquote/18 1267s ok 51 /shell/unquote/19 1267s ok 52 /shell/unquote/20 1267s # End of unquote tests 1267s # End of shell tests 1267s ok - glib/shell.test 1267s # Running test: glib/hostutils.test 1267s ok - glib/hostutils.test 1267s TAP version 14 1267s # random seed: R02S8baae69c9925c6a231a19d9df132b5a6 1267s 1..4 1267s # Start of hostutils tests 1267s ok 1 /hostutils/hostname_is_non_ascii 1267s ok 2 /hostutils/to_ascii 1267s ok 3 /hostutils/to_unicode 1267s ok 4 /hostutils/is_ip_addr 1267s # End of hostutils tests 1267s # Running test: glib/charset.test 1267s TAP version 14 1267s # random seed: R02S6bdc7b5eb8dea5a771a942ec36b3450f 1267s 1..2 1267s # Start of charset tests 1267s # Test 0 1267s # Test 1 1267s # Test 2 1267s # Test 3 1267s ok 1 /charset/language_names_with_category 1267s ok 2 /charset/language_names_with_category_async 1267s # End of charset tests 1267s ok - glib/charset.test 1267s # Running test: glib/references.test 1267s TAP version 14 1267s # random seed: R02Sb581eb338d01ba591f9dc1d14b4fa8b7 1267s 1..4 1267s # Start of gobject tests 1267s ok 1 /gobject/references 1267s ok 2 /gobject/references-many 1267s ok 3 /gobject/references_two 1267s ok 4 /gobject/references_run_dispose 1267s # End of gobject tests 1267s ok - glib/references.test 1267s # Running test: glib/registered-type-info.test 1267s TAP version 14 1267s # random seed: R02Sf3a07d7ab19ca6df9b8b6e145c5ebbb8 1267s 1..1 1267s # Start of registered-type-info tests 1267s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_TAHGK3/registered-type-info/boxed/.dirs/home 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_TAHGK3/registered-type-info/boxed/.dirs/cache 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_TAHGK3/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_TAHGK3/registered-type-info/boxed/.dirs/system-config2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_TAHGK3/registered-type-info/boxed/.dirs/config 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_TAHGK3/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_TAHGK3/registered-type-info/boxed/.dirs/system-data2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_TAHGK3/registered-type-info/boxed/.dirs/data 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_TAHGK3/registered-type-info/boxed/.dirs/state 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_TAHGK3/registered-type-info/boxed/.dirs/runtime 1267s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1267s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1267s # Expecting CClosure to not be boxed 1267s # Expecting TypeCValue to not be boxed 1267s # Expecting InitiallyUnownedClass to not be boxed 1267s # Expecting BookmarkFile to be boxed 1267s # Expecting Closure to be boxed 1267s # Expecting Object to not be boxed 1267s ok 1 /registered-type-info/boxed 1267s # End of registered-type-info tests 1267s ok - glib/registered-type-info.test 1267s # Running test: glib/boxed.test 1267s TAP version 14 1267s # random seed: R02Se0a650973d4fa83625413234abebff2a 1267s 1..27 1267s # Start of boxed tests 1267s ok 1 /boxed/define 1267s ok 2 /boxed/ownership 1267s ok 3 /boxed/closure 1267s ok 4 /boxed/date 1267s ok 5 /boxed/value 1267s ok 6 /boxed/string 1267s ok 7 /boxed/hashtable 1267s ok 8 /boxed/array 1267s ok 9 /boxed/ptrarray 1267s ok 10 /boxed/regex 1267s ok 11 /boxed/varianttype 1267s ok 12 /boxed/error 1267s ok 13 /boxed/datetime 1267s ok 14 /boxed/matchinfo 1267s ok 15 /boxed/keyfile 1267s ok 16 /boxed/mainloop 1267s ok 17 /boxed/maincontext 1267s ok 18 /boxed/source 1267s ok 19 /boxed/variantbuilder 1267s ok 20 /boxed/timezone 1267s ok 21 /boxed/pollfd 1267s ok 22 /boxed/markup 1267s ok 23 /boxed/thread 1267s ok 24 /boxed/checksum 1267s ok 25 /boxed/tree 1267s ok 26 /boxed/patternspec 1267s ok 27 /boxed/rand 1267s # End of boxed tests 1267s ok - glib/boxed.test 1267s # Running test: glib/io-channel.test 1267s TAP version 14 1267s # random seed: R02S3468e73cdbc408d8652120161d880968 1267s 1..2 1267s # Start of io-channel tests 1267s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_F4DIK3/io-channel/read-write/.dirs/home 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_F4DIK3/io-channel/read-write/.dirs/cache 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_F4DIK3/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_F4DIK3/io-channel/read-write/.dirs/system-config2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_F4DIK3/io-channel/read-write/.dirs/config 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_F4DIK3/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_F4DIK3/io-channel/read-write/.dirs/system-data2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_F4DIK3/io-channel/read-write/.dirs/data 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_F4DIK3/io-channel/read-write/.dirs/state 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_F4DIK3/io-channel/read-write/.dirs/runtime 1267s # Line one 1267s # 1267s # Line two 1267s # 1267s # Line three 1267s # 1267s # /* Hello */ 1267s # 1267s # \x1234\x567890\x6666 1267s # 1267s # read 62 bytes, wrote 62 bytes 1267s ok 1 /io-channel/read-write 1267s # Start of read-line tests 1267s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_F4DIK3/io-channel/read-line/embedded-nuls/.dirs/home 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_F4DIK3/io-channel/read-line/embedded-nuls/.dirs/cache 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_F4DIK3/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_F4DIK3/io-channel/read-line/embedded-nuls/.dirs/system-config2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_F4DIK3/io-channel/read-line/embedded-nuls/.dirs/config 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_F4DIK3/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_F4DIK3/io-channel/read-line/embedded-nuls/.dirs/system-data2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_F4DIK3/io-channel/read-line/embedded-nuls/.dirs/data 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_F4DIK3/io-channel/read-line/embedded-nuls/.dirs/state 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_F4DIK3/io-channel/read-line/embedded-nuls/.dirs/runtime 1267s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1267s ok 2 /io-channel/read-line/embedded-nuls 1267s # End of read-line tests 1267s # End of io-channel tests 1267s ok - glib/io-channel.test 1267s # Running test: glib/tls-interaction.test 1267s ok - glib/tls-interaction.test 1267s # Running test: glib/mount-operation.test 1267s TAP version 14 1267s # random seed: R02Sd4407bcdd8e06d53d7ef144a1a4b7f19 1267s 1..42 1267s # Start of tls-interaction tests 1267s # Start of ask-password tests 1267s # Start of invoke-with-loop tests 1267s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1267s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1267s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1267s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1267s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1267s # End of invoke-with-loop tests 1267s # Start of invoke-without-loop tests 1267s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1267s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1267s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1267s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1267s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1267s # End of invoke-without-loop tests 1267s # Start of invoke-in-loop tests 1267s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1267s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1267s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1267s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1267s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1267s # End of invoke-in-loop tests 1267s # Start of sync tests 1267s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1267s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1267s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1267s # End of sync tests 1267s # Start of async tests 1267s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1267s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1267s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1267s # End of async tests 1267s # End of ask-password tests 1267s # Start of request-certificate tests 1267s # Start of invoke-with-loop tests 1267s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1267s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1267s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1267s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1267s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1267s # End of invoke-with-loop tests 1267s # Start of invoke-without-loop tests 1267s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1267s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1267s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1267s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1267s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1267s # End of invoke-without-loop tests 1267s # Start of invoke-in-loop tests 1267s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1267s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1267s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1267s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1267s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1267s # End of invoke-in-loop tests 1267s # Start of sync tests 1267s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1267s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1267s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1267s # End of sync tests 1267s # Start of async tests 1267s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1267s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1267s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1267s # End of async tests 1267s # End of request-certificate tests 1267s # End of tls-interaction tests 1267s TAP version 14 1267s # random seed: R02S86e3508c3c2b138196e9f91b66c11e0e 1267s 1..2 1267s # Start of mount-operation tests 1267s ok 1 /mount-operation/construction 1267s ok 2 /mount-operation/properties 1267s # End of mount-operation tests 1267s ok - glib/mount-operation.test 1267s # Running test: glib/mutex.test 1267s TAP version 14 1267s # random seed: R02Sd2ca6505dfaabd34ee58f629264e76e8 1267s 1..17 1267s # Start of thread tests 1267s ok 1 /thread/mutex1 1267s ok 2 /thread/mutex2 1267s ok 3 /thread/mutex3 1267s ok 4 /thread/mutex4 1271s ok 5 /thread/mutex5 1271s # slow test /thread/mutex5 executed in 3.36 secs 1271s # Start of mutex tests 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1271s ok 6 /thread/mutex/errno 1271s # Start of perf tests 1271s # max perf: 1.000000 mips 1271s ok 7 /thread/mutex/perf/uncontended 1271s # Start of contended tests 1271s # max perf: inf mips 1271s ok 8 /thread/mutex/perf/contended/1 1271s # max perf: inf mips 1271s ok 9 /thread/mutex/perf/contended/2 1271s # max perf: inf mips 1271s ok 10 /thread/mutex/perf/contended/3 1271s # max perf: inf mips 1271s ok 11 /thread/mutex/perf/contended/4 1271s # max perf: inf mips 1271s ok 12 /thread/mutex/perf/contended/5 1271s # max perf: 7.000000 mips 1271s ok 13 /thread/mutex/perf/contended/6 1271s # max perf: 2.666667 mips 1271s ok 14 /thread/mutex/perf/contended/7 1271s # max perf: 4.500000 mips 1271s ok 15 /thread/mutex/perf/contended/8 1271s # max perf: 2.500000 mips 1271s ok 16 /thread/mutex/perf/contended/9 1271s ok - glib/mutex.test 1271s # Running test: glib/basic-signals.test 1271s ok - glib/basic-signals.test 1271s # Running test: glib/gnotification.test 1271s ok - glib/gnotification.test 1271s # Running test: glib/gdbus-test-codegen-old.test 1271s ok - glib/gdbus-test-codegen-old.test 1271s # Running test: glib/logging.test 1271s # max perf: 3.666667 mips 1271s ok 17 /thread/mutex/perf/contended/10 1271s # End of contended tests 1271s # End of perf tests 1271s # End of mutex tests 1271s # End of thread tests 1271s TAP version 14 1271s # random seed: R02S211a109ab13a22357900ff62eeaab477 1271s 1..1 1271s # Start of gobject tests 1271s ok 1 /gobject/basic-signals 1271s # End of gobject tests 1271s TAP version 14 1271s # random seed: R02S3bb2b2bc0fec22c4f8c0d2558c1f2cb9 1271s 1..2 1271s # Start of gnotification tests 1271s ok 1 /gnotification/basic 1271s ok 2 /gnotification/properties 1271s # End of gnotification tests 1271s TAP version 14 1271s # random seed: R02S4b7fc947b456ba1e0cecec72ff539b82 1271s 1..8 1271s # Start of gdbus tests 1271s # Start of codegen tests 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/annotations/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/annotations/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/annotations/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/annotations/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/annotations/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/annotations/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/annotations/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/annotations/.dirs/runtime 1271s ok 1 /gdbus/codegen/annotations 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/interface_stability/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/interface_stability/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/interface_stability/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/interface_stability/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/interface_stability/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/interface_stability/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/interface_stability/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/interface_stability/.dirs/runtime 1271s ok 2 /gdbus/codegen/interface_stability 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/object-manager/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/object-manager/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/object-manager/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/object-manager/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/object-manager/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/object-manager/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/object-manager/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/object-manager/.dirs/runtime 1271s ok 3 /gdbus/codegen/object-manager 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/property-naming/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/property-naming/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/property-naming/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/property-naming/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/property-naming/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/property-naming/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/property-naming/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/property-naming/.dirs/runtime 1271s ok 4 /gdbus/codegen/property-naming 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/autocleanups/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/autocleanups/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/autocleanups/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/autocleanups/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/autocleanups/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/autocleanups/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/autocleanups/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/autocleanups/.dirs/runtime 1271s ok 5 /gdbus/codegen/autocleanups 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/deprecations/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/deprecations/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/deprecations/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/deprecations/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/deprecations/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/deprecations/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/deprecations/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/deprecations/.dirs/runtime 1271s ok 6 /gdbus/codegen/deprecations 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/standalone-interface-info/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/standalone-interface-info/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/standalone-interface-info/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/standalone-interface-info/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/standalone-interface-info/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1271s ok 7 /gdbus/codegen/standalone-interface-info 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/unix-fd-list/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/unix-fd-list/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/unix-fd-list/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/unix-fd-list/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/unix-fd-list/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_1V97J3/gdbus/codegen/unix-fd-list/.dirs/runtime 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1271s ok 8 /gdbus/codegen/unix-fd-list 1271s # End of codegen tests 1271s # End of gdbus tests 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s TAP version 14 1271s # random seed: R02S87fefe1cc20c19d94737ab2f23e642b4 1271s 1..20 1271s # Start of logging tests 1271s ok 1 /logging/default-handler 1271s ok 2 /logging/journald-handler 1271s ok 3 /logging/warnings 1271s ok 4 /logging/fatal-log-mask 1271s ok 5 /logging/always-fatal 1271s # bu-DEBUG: message 1271s # ba-DEBUG: message 1271s # ba-INFO: message 1271s ok 6 /logging/set-handler 1271s ok 7 /logging/print-handler 1271s ok 8 /logging/printerr-handler 1271s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1271s # The Log Message Handler 1271s # 1271s # The Good Fail Message Handler 1271s # 1271s ok 9 /logging/653052 1271s ok 10 /logging/gibberish 1271s # Start of default-handler tests 1271s # Start of subprocess tests 1271s # End of subprocess tests 1271s # End of default-handler tests 1271s # End of logging tests 1271s # Start of structured-logging tests 1271s ok 11 /structured-logging/no-state 1271s ok 12 /structured-logging/some-state 1271s # /structured-logging/recursion-overflow summary: Test that g_log_structured always sets n_fields correctly. 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3760 1271s ok 13 /structured-logging/recursion-overflow 1271s ok 14 /structured-logging/robustness 1271s ok 15 /structured-logging/roundtrip1 1271s ok 16 /structured-logging/roundtrip2 1271s ok 17 /structured-logging/roundtrip3 1271s ok - glib/logging.test 1271s # Running test: glib/type.test 1271s ok - glib/type.test 1271s # Running test: glib/gdbus-peer.test 1271s ok 18 /structured-logging/variant1 1271s ok 19 /structured-logging/variant2 1271s ok 20 /structured-logging/set-writer-func-twice 1271s # End of structured-logging tests 1271s TAP version 14 1271s # random seed: R02S55c8ff946f0d8f2f312ac68a9e7f5a05 1271s 1..6 1271s # Start of type tests 1271s ok 1 /type/registration-serial 1271s ok 2 /type/interface-prerequisite 1271s ok 3 /type/interface-check 1271s ok 4 /type/next-base 1271s ok 5 /type/is-a 1271s # Invalid types can’t be queried. 1271s # Unclassed types can’t be queried. 1271s ok 6 /type/query 1271s # End of type tests 1271s TAP version 14 1271s # random seed: R02S2c3331a7ae93c404dceace382eead3fe 1271s 1..12 1271s # Start of gdbus tests 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/.dirs/runtime 1271s # Testing with unix:dir address 1271s # Testing with unix:tmpdir address 1271s # Testing with unix:path address 1271s ok 1 /gdbus/peer-to-peer 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/delayed-message-processing/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/delayed-message-processing/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_PV3BK3/gdbus/delayed-message-processing/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/delayed-message-processing/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_PV3BK3/gdbus/delayed-message-processing/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/delayed-message-processing/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/delayed-message-processing/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PV3BK3/gdbus/delayed-message-processing/.dirs/runtime 1271s # Testing with unix:dir address 1272s ok 2 /gdbus/delayed-message-processing 1272s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/nonce-tcp/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/nonce-tcp/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_PV3BK3/gdbus/nonce-tcp/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/nonce-tcp/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_PV3BK3/gdbus/nonce-tcp/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/nonce-tcp/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/nonce-tcp/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PV3BK3/gdbus/nonce-tcp/.dirs/runtime 1272s ok 3 /gdbus/nonce-tcp 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/tcp-anonymous/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/tcp-anonymous/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_PV3BK3/gdbus/tcp-anonymous/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/tcp-anonymous/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_PV3BK3/gdbus/tcp-anonymous/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/tcp-anonymous/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/tcp-anonymous/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PV3BK3/gdbus/tcp-anonymous/.dirs/runtime 1272s ok 4 /gdbus/tcp-anonymous 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/credentials/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/credentials/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_PV3BK3/gdbus/credentials/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/credentials/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_PV3BK3/gdbus/credentials/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/credentials/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/credentials/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PV3BK3/gdbus/credentials/.dirs/runtime 1272s ok 5 /gdbus/credentials 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/codegen-peer-to-peer/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/codegen-peer-to-peer/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_PV3BK3/gdbus/codegen-peer-to-peer/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/codegen-peer-to-peer/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_PV3BK3/gdbus/codegen-peer-to-peer/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/codegen-peer-to-peer/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/codegen-peer-to-peer/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PV3BK3/gdbus/codegen-peer-to-peer/.dirs/runtime 1272s # Testing with unix:dir address 1272s # Machine ID: d30b2dcdc16146b09e497b2eac2c4c81 1272s # Executing: glib/gdbus-peer.test 1273s ok 6 /gdbus/codegen-peer-to-peer 1273s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 1273s # Start of peer-to-peer tests 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/signals/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/signals/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/signals/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/signals/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/signals/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/signals/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/signals/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/signals/.dirs/runtime 1273s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1273s # Testing with unix:dir address 1273s ok 7 /gdbus/peer-to-peer/signals 1273s # Start of invalid tests 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/server/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/server/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/server/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/server/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/server/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1273s ok 8 /gdbus/peer-to-peer/invalid/server 1273s # Start of conn tests 1273s # Start of stream tests 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1273s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1273s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1273s # End of stream tests 1273s # Start of addr tests 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1273s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_PV3BK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1273s ok - glib/gdbus-peer.test 1273s # Running test: glib/dbus-appinfo.test 1273s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1273s # End of addr tests 1273s # End of conn tests 1273s # End of invalid tests 1273s # End of peer-to-peer tests 1273s # End of gdbus tests 1273s TAP version 14 1273s # random seed: R02Se0dd009ee81b1dd24b6d6601e217a370 1273s 1..9 1273s # Start of appinfo tests 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/dbusappinfo/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/dbusappinfo/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_6TX4J3/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_6TX4J3/appinfo/dbusappinfo/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/dbusappinfo/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_6TX4J3/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_6TX4J3/appinfo/dbusappinfo/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/dbusappinfo/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/dbusappinfo/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_6TX4J3/appinfo/dbusappinfo/.dirs/runtime 1273s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1273s ok 1 /appinfo/dbusappinfo 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-doc-export/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-doc-export/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-doc-export/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-doc-export/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-doc-export/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-doc-export/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-doc-export/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-doc-export/.dirs/runtime 1273s # /appinfo/flatpak-doc-export summary: Test that files opened by launching flatpak apps are made available via the document portal. 1273s # Created mount point /tmp/test_dbus-appinfo_6TX4J3/fake-document-portal-XNFG5J3/documents 1273s # Acquired a message bus connection 1273s # Acquired the name org.freedesktop.portal.Documents 1273s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_6TX4J3/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-doc-export/.dirs/config 1273s # Creating Document ID document-id-0 folder 1273s # Creating Document ID document-id-0 mapped to FD 14 (/usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop) 1273s # on_sandboxed_app_open received file '/tmp/test_dbus-appinfo_6TX4J3/fake-document-portal-XNFG5J3/documents/document-id-0/org.gtk.test.dbusappinfo.flatpak.desktop' 1273s # fake-document-portal cancelled 1273s ok 2 /appinfo/flatpak-doc-export 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-missing-doc-export/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-missing-doc-export/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-missing-doc-export/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-missing-doc-export/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-missing-doc-export/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-missing-doc-export/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-missing-doc-export/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-missing-doc-export/.dirs/runtime 1273s # /appinfo/flatpak-missing-doc-export summary: Test that files opened by launching flatpak apps are not made available via the document portal. 1273s # Created mount point /tmp/test_dbus-appinfo_6TX4J3/fake-document-portal-XAHC5J3/documents 1273s # Acquired a message bus connection 1273s # Acquired the name org.freedesktop.portal.Documents 1273s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-missing-doc-export/.dirs/config 1273s # on_sandboxed_app_open received file '/hopefully/an/invalid/path.desktop' 1273s # fake-document-portal cancelled 1273s ok 3 /appinfo/flatpak-missing-doc-export 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-doc-export/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-doc-export/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-doc-export/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-doc-export/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-doc-export/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-doc-export/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-doc-export/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-doc-export/.dirs/runtime 1273s # /appinfo/snap-doc-export summary: Test that files opened by launching snap apps are made available via the document portal. 1273s # Created mount point /tmp/test_dbus-appinfo_6TX4J3/fake-document-portal-XKC96J3/documents 1273s # Acquired a message bus connection 1273s # Acquired the name org.freedesktop.portal.Documents 1273s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_6TX4J3/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-doc-export/.dirs/config 1273s # Creating Document ID document-id-0 folder 1273s # Creating Document ID document-id-0 mapped to FD 19 (/usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.snap.desktop) 1273s # on_sandboxed_app_open received file '/tmp/test_dbus-appinfo_6TX4J3/fake-document-portal-XKC96J3/documents/document-id-0/org.gtk.test.dbusappinfo.snap.desktop' 1273s # fake-document-portal cancelled 1273s ok 4 /appinfo/snap-doc-export 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-missing-doc-export/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-missing-doc-export/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-missing-doc-export/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-missing-doc-export/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-missing-doc-export/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-missing-doc-export/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-missing-doc-export/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-missing-doc-export/.dirs/runtime 1273s # /appinfo/snap-missing-doc-export summary: Test that files opened by launching snap apps are not made available via the document portal. 1273s # Created mount point /tmp/test_dbus-appinfo_6TX4J3/fake-document-portal-XD646J3/documents 1273s # Acquired a message bus connection 1273s # Acquired the name org.freedesktop.portal.Documents 1273s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-doc-export/.dirs/config to /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-missing-doc-export/.dirs/config 1273s # on_sandboxed_app_open received file '/hopefully/an/invalid/path.desktop' 1273s # fake-document-portal cancelled 1273s ok 5 /appinfo/snap-missing-doc-export 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file/.dirs/runtime 1273s # Acquired a message bus connection 1273s # Acquired the name org.freedesktop.portal.Desktop 1273s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_6TX4J3/appinfo/snap-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file/.dirs/config 1273s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1273s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/t 1273s # Response emitted 1273s # fake-desktop-portal cancelled 1273s ok 6 /appinfo/portal-open-file 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri/.dirs/runtime 1273s # Acquired a message bus connection 1273s # Acquired the name org.freedesktop.portal.Desktop 1273s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri/.dirs/config 1273s # Got open file request for http://example.com 1273s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/t 1273s # Response emitted 1273s # fake-desktop-portal cancelled 1273s ok 7 /appinfo/portal-open-uri 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file-async/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file-async/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file-async/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file-async/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file-async/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file-async/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file-async/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file-async/.dirs/runtime 1273s # Acquired a message bus connection 1273s # Acquired the name org.freedesktop.portal.Desktop 1273s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file-async/.dirs/config 1273s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1273s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_13/gio1459826273 1273s # Response emitted 1273s # fake-desktop-portal cancelled 1273s ok 8 /appinfo/portal-open-file-async 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri-async/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri-async/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri-async/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri-async/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri-async/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri-async/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri-async/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri-async/.dirs/runtime 1273s # Acquired a message bus connection 1273s # Acquired the name org.freedesktop.portal.Desktop 1273s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_6TX4J3/appinfo/portal-open-uri-async/.dirs/config 1273s # Got open file request for http://example.com 1273s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_15/gio1712657241 1273s # Response emitted 1273s # fake-desktop-portal cancelled 1273s ok 9 /appinfo/portal-open-uri-async 1273s # End of appinfo tests 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s ok - glib/dbus-appinfo.test 1273s # Running test: glib/unix-fd.test 1273s TAP version 14 1273s # random seed: R02S149863298f9eb968c25b59e4b59b25bf 1273s 1..2 1273s # Start of unix-fd tests 1273s ok 1 /unix-fd/fd-list 1273s ok 2 /unix-fd/scm 1273s # End of unix-fd tests 1273s ok - glib/unix-fd.test 1273s # Running test: glib/filter-streams.test 1273s TAP version 14 1273s # random seed: R02S3a9a94d12c2b7853e2ee0a579d1caae1 1273s 1..4 1273s # Start of filter-stream tests 1273s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1273s ok 1 /filter-stream/input 1273s ok 2 /filter-stream/output 1273s ok 3 /filter-stream/async-input 1273s ok 4 /filter-stream/async-output 1273s ok - glib/filter-streams.test 1273s # Running test: glib/accumulator.test 1273s ok - glib/accumulator.test 1273s # Running test: glib/unix.test 1273s # End of filter-stream tests 1273s TAP version 14 1273s # random seed: R02S5ca50c479282fb756955d1d699724253 1273s 1..1 1273s # Start of gobject tests 1273s ok 1 /gobject/accumulator 1273s # End of gobject tests 1273s TAP version 14 1273s # random seed: R02S8970531825a0c77bb3c1820645916e2e 1273s 1..22 1273s # Start of glib-unix tests 1273s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1273s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1273s ok 1 /glib-unix/closefrom 1273s ok 2 /glib-unix/pipe 1273s # /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 1273s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1273s ok 3 /glib-unix/pipe-stdio-overwrite 1273s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1273s ok 4 /glib-unix/pipe-struct 1273s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1273s ok 5 /glib-unix/pipe-struct-auto 1273s ok 6 /glib-unix/error 1273s ok 7 /glib-unix/nonblocking 1273s ok 8 /glib-unix/sighup 1273s # slow test /glib-unix/sighup executed in 0.50 secs 1274s ok 9 /glib-unix/sigterm 1274s # slow test /glib-unix/sigterm executed in 0.50 secs 1274s ok 10 /glib-unix/sighup_again 1274s # slow test /glib-unix/sighup_again executed in 0.50 secs 1274s ok 11 /glib-unix/sighup_add_remove 1274s ok 12 /glib-unix/sighup_nested 1276s ok 13 /glib-unix/callback_after_signal 1276s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1276s ok 14 /glib-unix/child-wait 1276s # Checking FD 5 for /dev/null 1276s ok 15 /glib-unix/fd-query-path 1276s ok 16 /glib-unix/fd-query-path-error 1276s # Start of closefrom tests 1276s # Start of subprocess tests 1276s # End of subprocess tests 1276s # End of closefrom tests 1276s # Start of pipe tests 1276s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1276s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1276s ok 17 /glib-unix/pipe/fd-cloexec 1276s # End of pipe tests 1276s # Start of sighup tests 1277s # Executing: glib/unix.test 1277s ok 18 /glib-unix/sighup/alternate-stack 1277s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 1277s # End of sighup tests 1277s # Start of sigterm tests 1278s ok 19 /glib-unix/sigterm/alternate-stack 1278s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 1278s # End of sigterm tests 1278s # Start of sighup_again tests 1279s ok 20 /glib-unix/sighup_again/alternate-stack 1279s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1279s # End of sighup_again tests 1279s # Start of get-passwd-entry tests 1279s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1279s ok 21 /glib-unix/get-passwd-entry/root 1279s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1279s ok 22 /glib-unix/get-passwd-entry/nonexistent 1279s # End of get-passwd-entry tests 1279s # End of glib-unix tests 1279s ok - glib/unix.test 1279s # Running test: glib/static-link.test 1279s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1279s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1279s and make sure you have glib build dependencies installed, including 1279s meson. 1279s ok # SKIP - glib/static-link.test 1279s # Running test: glib/gi-compile-repository.py.test 1279s TAP version 13 1279s ok 1 __main__.TestGICompileRepository.test_open_failure 1279s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1279s # gi-compile-repository: /usr/bin/gi-compile-repository 1279s # tmpdir: /tmp/tmpadz82qwh 1279s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmpadz82qwh/invalid.typelib'] 1279s # Return code: 1 1279s # Output: 1279s # 1279s # Error: 1279s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.gir”: No such file or directory 1280s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 1280s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1280s # gi-compile-repository: /usr/bin/gi-compile-repository 1280s # tmpdir: /tmp/tmpo84ngzjo 1280s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmpo84ngzjo/GLib-2.typelib'] 1280s # Return code: 0 1280s # Output: 1280s # 1280s # Error: 1280s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 1280s # gi-compile-repository: /usr/bin/gi-compile-repository 1280s # tmpdir: /tmp/tmpi7iltzbd 1280s # 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'] 1280s # Return code: 1 1280s # Output: 1280s # 1280s # Error: 1280s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1280s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 1280s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1280s # gi-compile-repository: /usr/bin/gi-compile-repository 1280s # tmpdir: /tmp/tmp123vvkqz 1280s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmp123vvkqz/GObject-2.typelib', '--includedir', '/usr/lib/aarch64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1280s # Return code: 0 1280s # Output: 1280s # 1280s # Error: 1280s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 1280s # gi-compile-repository: /usr/bin/gi-compile-repository 1280s # tmpdir: /tmp/tmpg8nutao1 1280s # 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'] 1280s # Return code: 1 1280s # Output: 1280s # 1280s # Error: 1280s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1280s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 1280s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1280s # gi-compile-repository: /usr/bin/gi-compile-repository 1280s # tmpdir: /tmp/tmpm0tzn_1y 1280s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmpm0tzn_1y/Gio-2.typelib', '--includedir', '/usr/lib/aarch64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1280s # Return code: 0 1280s # Output: 1280s # 1280s # Error: 1281s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 1281s # gi-compile-repository: /usr/bin/gi-compile-repository 1281s # tmpdir: /tmp/tmp4w6u7u7c 1281s # 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'] 1281s # Return code: 1 1281s # Output: 1281s # 1281s # Error: 1281s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1281s 1..7 1281s ok - glib/gi-compile-repository.py.test 1281s # Running test: glib/fileattributematcher.test 1281s ok - glib/fileattributematcher.test 1281s TAP version 14 1281s # random seed: R02S2d2895f8d30ae28ce6a2cb5a297fecc2 1281s 1..3 1281s # Start of fileattributematcher tests 1281s ok 1 /fileattributematcher/exact 1281s ok 2 /fileattributematcher/equality 1281s ok 3 /fileattributematcher/subtract 1281s # End of fileattributematcher tests 1281s # Running test: glib/macros-c-89.test 1281s TAP version 14 1281s # random seed: R02S83533927b02cfedb66f08b5ef6eb62e0 1281s 1..4 1281s # Start of C tests 1281s # G_C_STD_VERSION is 199000 1281s ok 1 /C/standard-89 1281s # End of C tests 1281s # Start of alignof tests 1281s ok 2 /alignof/fallback 1281s # End of alignof tests 1281s # Start of assert tests 1281s ok 3 /assert/static 1281s # End of assert tests 1281s # Start of struct tests 1281s ok 4 /struct/sizeof_member 1281s # End of struct tests 1281s ok - glib/macros-c-89.test 1281s # Running test: glib/cmph-bdz.test 1281s TAP version 14 1281s # random seed: R02S2e26f8967c438fe28d7058df4fef8666 1281s 1..2 1281s # Start of cmph-bdz tests 1281s ok 1 /cmph-bdz/search 1281s ok 2 /cmph-bdz/search-packed 1281s # End of cmph-bdz tests 1281s TAP version 14 1281s # random seed: R02S9afefa72960eab1b55f5c93808f4be4c 1281s 1..1 1281s # Start of gobject tests 1281s # Start of refcount tests 1281s ok - glib/cmph-bdz.test 1281s # Running test: glib/properties-refcount1.test 1281s # .c 1281s # .d 1281s # .b 1281s # .e 1281s # .f 1281s # .c 1281s # .d 1281s # .b 1281s # .c 1281s # .e 1281s # .f 1281s # .d 1281s # .c 1281s # .b 1281s # .f 1281s # .e 1281s # .d 1281s # .c 1281s # .e 1281s # .d 1281s # .f 1281s # .b 1281s # .c 1281s # .f 1281s # .e 1281s # .d 1281s # .b 1281s # .d 1281s # .e 1281s # .c 1281s # .f 1281s # .b 1281s # .f 1281s # .d 1281s # .e 1281s # .b 1281s # .c 1281s # .f 1281s # .d 1281s # .e 1281s # .b 1281s # .c 1281s # .b 1281s # .d 1281s # .f 1281s # .c 1281s # .e 1282s # .b 1282s # .c 1282s # .d 1282s # .f 1282s # .e 1282s # .b 1282s # .c 1282s # .d 1282s # .f 1282s # .e 1282s # .b 1282s # .d 1282s # .c 1282s # .f 1282s # .e 1282s # .b 1282s # .d 1282s # .e 1282s # .c 1282s # .f 1282s # .b 1282s # .d 1282s # Executing: glib/properties-refcount1.test 1282s # .e 1282s # .f 1282s # .b 1282s # .c 1282s # .d 1282s # .e 1282s # .f 1282s # .d 1282s # .c 1282s # .b 1282s # .e 1282s # .f 1282s # .d 1282s # .c 1282s # .b 1282s # .e 1282s # .f 1282s # .d 1282s # .c 1282s # .e 1282s # .b 1282s # .f 1282s # .c 1282s # .d 1282s # .b 1282s # .e 1282s # .f 1282s # .c 1282s # .e 1282s # .b 1282s # .d 1282s # .f 1282s # .e 1282s # .c 1282s # .f 1282s # .d 1282s # .b 1282s # .e 1282s # .c 1282s # .f 1282s # .b 1282s # .d 1282s # .e 1282s # .f 1282s # .c 1282s # .b 1282s # .d 1282s # .e 1282s # .f 1282s # .c 1282s # .b 1282s # .d 1282s # .e 1283s # .f 1283s # .d 1283s # .c 1283s # .e 1283s # .b 1283s # .f 1283s # .d 1283s # .b 1283s # .e 1283s # .c 1283s # .f 1283s # .d 1283s # .b 1283s # .e 1283s # .f 1283s # .c 1283s # .d 1283s # .b 1283s # .e 1283s # .f 1283s # .c 1283s # .d 1283s # .b 1283s # .f 1283s # .e 1283s # .c 1283s # .f 1283s # .d 1283s # .b 1283s # .e 1283s # .c 1283s # .f 1283s # .b 1283s # .d 1283s # .e 1283s # .c 1283s # .f 1283s # .e 1283s # .b 1283s # .d 1283s # .c 1283s # .f 1283s # .e 1283s # .d 1283s # .b 1283s # .e 1283s # .c 1283s # .d 1283s # .f 1283s # .b 1283s # .e 1283s # .c 1283s # .d 1283s # .f 1283s # .b 1283s # .e 1283s # .c 1283s # .d 1283s # .e 1283s # .b 1283s # .f 1283s # .c 1283s # .d 1283s # .e 1283s # .f 1283s # .b 1283s # .c 1283s # .d 1283s # .e 1283s # .f 1283s # .b 1283s # .e 1283s # .c 1283s # .d 1283s # .b 1283s # .f 1284s # .e 1284s # .b 1284s # .d 1284s # .f 1284s # .c 1284s # .d 1284s # .c 1284s # .b 1284s # .e 1284s # .f 1284s # .b 1284s # .c 1284s # .e 1284s # .d 1284s # .f 1284s # .c 1284s # .d 1284s # .b 1284s # .e 1284s # .f 1284s # .b 1284s # .c 1284s # .e 1284s # .d 1284s # .f 1284s # .c 1284s ok 1 /gobject/refcount/properties-1 1284s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1284s # End of refcount tests 1284s # End of gobject tests 1284s ok - glib/properties-refcount1.test 1284s # Running test: glib/objects-refcount1.test 1284s TAP version 14 1284s # random seed: R02S873b7c7705de76cd5f01ab9b0bc8f405 1284s 1..1 1284s # Start of gobject tests 1284s # Start of refcount tests 1284s # init 0xaf45c48dcbc0 1284s # 1284s # init 0xaf45c48dccd0 1284s # 1287s # Executing: glib/objects-refcount1.test 1289s # dispose 0xaf45c48dcbc0! 1289s # 1289s # dispose 0xaf45c48dccd0! 1289s # 1289s ok 1 /gobject/refcount/object-basics 1289s # slow test /gobject/refcount/object-basics executed in 5.00 secs 1289s # End of refcount tests 1289s # End of gobject tests 1289s ok - glib/objects-refcount1.test 1289s # Running test: glib/defaultvalue.test 1289s TAP version 14 1289s # random seed: R02Sf0e43a1ab4c09f47dc2d9346ceb5dc26 1289s 1..84 1289s # Start of Default Values tests 1289s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1289s ok 2 /Default Values/GAppLaunchContext 1289s ok 3 /Default Values/GApplicationCommandLine 1289s # skipping GApplication:is-remote 1289s ok 4 /Default Values/GApplication 1289s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1289s ok - glib/defaultvalue.test 1289s # Running test: glib/refcount.test 1289s ok - glib/refcount.test 1289s # Running test: glib/mkenums.py.test 1289s ok 6 /Default Values/GBindingGroup 1289s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1289s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1289s ok 9 /Default Values/GBytesIcon 1289s ok 10 /Default Values/GCancellable 1289s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1289s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1289s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1289s ok 14 /Default Values/GCredentials 1289s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1289s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1289s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1289s ok 18 /Default Values/GDBusAuthObserver 1289s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1289s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1289s ok 21 /Default Values/GDBusMessage 1289s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1289s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1289s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1289s ok 25 /Default Values/GDBusObjectProxy 1289s ok 26 /Default Values/GDBusObjectSkeleton 1289s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1289s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1289s ok 29 /Default Values/GEmblem 1289s ok 30 /Default Values/GEmblemedIcon 1289s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1289s ok 32 /Default Values/GFileInfo 1289s ok 33 /Default Values/GFileInputStream 1289s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1289s ok 35 /Default Values/GFileOutputStream 1289s ok 36 /Default Values/GFilenameCompleter 1289s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1289s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1289s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1289s ok 40 /Default Values/GInitiallyUnowned 1289s ok 41 /Default Values/GIOModule 1289s ok 42 /Default Values/GListStore 1289s ok 43 /Default Values/GMemoryInputStream 1289s ok 44 /Default Values/GMemoryOutputStream 1289s ok 45 /Default Values/GMenu 1289s ok 46 /Default Values/GMenuItem 1289s ok 47 /Default Values/GMountOperation 1289s ok 48 /Default Values/GNativeSocketAddress 1289s ok 49 /Default Values/GNetworkAddress 1289s ok 50 /Default Values/GNetworkService 1289s ok 51 /Default Values/GNotification 1289s ok 52 /Default Values/GObject 1289s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1289s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1289s # skipping GProxyAddressEnumerator:proxy-resolver 1289s ok 54 /Default Values/GProxyAddressEnumerator 1289s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1289s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1289s ok 57 /Default Values/GSignalGroup 1289s ok 58 /Default Values/GSimpleAction 1289s ok 59 /Default Values/GSimpleActionGroup 1289s ok 60 /Default Values/GSimpleAsyncResult 1289s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1289s ok 62 /Default Values/GSimplePermission 1289s ok 63 /Default Values/GSimpleProxyResolver 1289s # skipping GSocketClient:proxy-resolver 1289s ok 64 /Default Values/GSocketClient 1289s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1289s ok 66 /Default Values/GSocket # SKIP initialization failed 1289s ok 67 /Default Values/GSocketListener 1289s ok 68 /Default Values/GSocketService 1289s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1289s ok 70 /Default Values/GSubprocessLauncher 1289s # GLib-GIO-DEBUG: GTask 0xb0a6920fa300 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1289s ok 71 /Default Values/GTask 1289s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1289s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1289s ok 74 /Default Values/GTestDBus 1289s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1289s ok 76 /Default Values/GThreadedSocketService 1289s ok 77 /Default Values/GTlsInteraction 1289s ok 78 /Default Values/GTlsPassword 1289s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1289s ok 80 /Default Values/GUnixFDList 1289s ok 81 /Default Values/GVfs 1289s ok 82 /Default Values/GVolumeMonitor 1289s ok 83 /Default Values/GZlibCompressor 1289s ok 84 /Default Values/GZlibDecompressor 1289s # End of Default Values tests 1289s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1289s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1289s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1289s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1289s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1289s TAP version 14 1289s # random seed: R02S3b08b2a2ef642ec412e52f59091ecf8c 1289s 1..4 1289s # Start of refcount tests 1289s ok 1 /refcount/grefcount 1289s ok 2 /refcount/gatomicrefcount 1289s # Start of grefcount tests 1289s ok 3 /refcount/grefcount/saturation 1289s # End of grefcount tests 1289s # Start of gatomicrefcount tests 1289s ok 4 /refcount/gatomicrefcount/saturation 1289s # End of gatomicrefcount tests 1289s # End of refcount tests 1289s TAP version 13 1289s ok 1 __main__.TestMkenums.test_available_in 1289s # glib-mkenums: /usr/bin/glib-mkenums 1289s # tmpdir: /tmp/tmpcuint7os 1289s # rspfile: False 1289s # /tmp/tmpcuint7os/tmpivw_z0wq.h: 1289s # typedef enum { 1289s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1289s # } GDBusServerFlags; 1289s # 1289s # /tmp/tmpcuint7os/tmpplfvzene.template: 1289s # /*** BEGIN file-header ***/ 1289s # file-header 1289s # /*** END file-header ***/ 1289s # 1289s # /*** BEGIN file-production ***/ 1289s # file-production 1289s # filename: @filename@ 1289s # basename: @basename@ 1289s # /*** END file-production ***/ 1289s # 1289s # /*** BEGIN enumeration-production ***/ 1289s # enumeration-production 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END enumeration-production ***/ 1289s # 1289s # /*** BEGIN value-header ***/ 1289s # value-header 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-header ***/ 1289s # 1289s # /*** BEGIN value-production ***/ 1289s # value-production 1289s # VALUENAME: @VALUENAME@ 1289s # valuenick: @valuenick@ 1289s # valuenum: @valuenum@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-production ***/ 1289s # 1289s # /*** BEGIN value-tail ***/ 1289s # value-tail 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-tail ***/ 1289s # 1289s # /*** BEGIN comment ***/ 1289s # comment 1289s # comment: @comment@ 1289s # /*** END comment ***/ 1289s # 1289s # /*** BEGIN file-tail ***/ 1289s # file-tail 1289s # /*** END file-tail ***/ 1289s # 1289s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcuint7os/tmpplfvzene.template', '/tmp/tmpcuint7os/tmpivw_z0wq.h'] 1289s # Return code: 0 1289s # Output: 1289s # comment 1289s # 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. 1289s # 1289s # 1289s # file-header 1289s # file-production 1289s # filename: /tmp/tmpcuint7os/tmpivw_z0wq.h 1289s # basename: tmpivw_z0wq.h 1289s # enumeration-production 1289s # EnumName: GDBusServerFlags 1289s # enum_name: g_dbus_server_flags 1289s # ENUMNAME: G_DBUS_SERVER_FLAGS 1289s # ENUMSHORT: DBUS_SERVER_FLAGS 1289s # ENUMPREFIX: G 1289s # enumsince: 1289s # type: flags 1289s # Type: Flags 1289s # TYPE: FLAGS 1289s # value-header 1289s # EnumName: GDBusServerFlags 1289s # enum_name: g_dbus_server_flags 1289s # ENUMNAME: G_DBUS_SERVER_FLAGS 1289s # ENUMSHORT: DBUS_SERVER_FLAGS 1289s # ENUMPREFIX: G 1289s # enumsince: 1289s # type: flags 1289s # Type: Flags 1289s # TYPE: FLAGS 1289s # value-production 1289s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1289s # valuenick: user 1289s # valuenum: 4 1289s # type: flags 1289s # Type: Flags 1289s # TYPE: FLAGS 1289s # value-tail 1289s # EnumName: GDBusServerFlags 1289s # enum_name: g_dbus_server_flags 1289s # ENUMNAME: G_DBUS_SERVER_FLAGS 1289s # ENUMSHORT: DBUS_SERVER_FLAGS 1289s # ENUMPREFIX: G 1289s # enumsince: 1289s # type: flags 1289s # Type: Flags 1289s # TYPE: FLAGS 1289s # file-tail 1289s # 1289s # comment 1289s # comment: Generated data ends here 1289s # Error: 1289s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1289s # glib-mkenums: /usr/bin/glib-mkenums 1289s # tmpdir: /tmp/tmp7vjiq8lz 1289s # rspfile: False 1289s # /tmp/tmp7vjiq8lz/tmpwro7eaot.h: 1289s # typedef enum { 1289s # ENUM_VALUE_WITH_COMMA = ',', 1289s # } TestCommaEnum; 1289s # 1289s # /tmp/tmp7vjiq8lz/tmpuexhavj5.template: 1289s # /*** BEGIN file-header ***/ 1289s # file-header 1289s # /*** END file-header ***/ 1289s # 1289s # /*** BEGIN file-production ***/ 1289s # file-production 1289s # filename: @filename@ 1289s # basename: @basename@ 1289s # /*** END file-production ***/ 1289s # 1289s # /*** BEGIN enumeration-production ***/ 1289s # enumeration-production 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END enumeration-production ***/ 1289s # 1289s # /*** BEGIN value-header ***/ 1289s # value-header 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-header ***/ 1289s # 1289s # /*** BEGIN value-production ***/ 1289s # value-production 1289s # VALUENAME: @VALUENAME@ 1289s # valuenick: @valuenick@ 1289s # valuenum: @valuenum@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-production ***/ 1289s # 1289s # /*** BEGIN value-tail ***/ 1289s # value-tail 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-tail ***/ 1289s # 1289s # /*** BEGIN comment ***/ 1289s # comment 1289s # comment: @comment@ 1289s # /*** END comment ***/ 1289s # 1289s # /*** BEGIN file-tail ***/ 1289s # file-tail 1289s # /*** END file-tail ***/ 1289s # 1289s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7vjiq8lz/tmpuexhavj5.template', '/tmp/tmp7vjiq8lz/tmpwro7eaot.h'] 1289s # Return code: 0 1289s # Output: 1289s # comment 1289s # 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. 1289s # 1289s # 1289s # file-header 1289s # file-production 1289s # filename: /tmp/tmp7vjiq8lz/tmpwro7eaot.h 1289s # basename: tmpwro7eaot.h 1289s # enumeration-production 1289s # EnumName: TestCommaEnum 1289s # enum_name: test_comma_enum 1289s # ENUMNAME: TEST_COMMA_ENUM 1289s # ENUMSHORT: COMMA_ENUM 1289s # ENUMPREFIX: TEST 1289s # enumsince: 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # value-header 1289s # EnumName: TestCommaEnum 1289s # enum_name: test_comma_enum 1289s # ENUMNAME: TEST_COMMA_ENUM 1289s # ENUMSHORT: COMMA_ENUM 1289s # ENUMPREFIX: TEST 1289s # enumsince: 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # value-production 1289s # VALUENAME: ENUM_VALUE_WITH_COMMA 1289s # valuenick: comma 1289s # valuenum: 44 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # value-tail 1289s # EnumName: TestCommaEnum 1289s # enum_name: test_comma_enum 1289s # ENUMNAME: TEST_COMMA_ENUM 1289s # ENUMSHORT: COMMA_ENUM 1289s # ENUMPREFIX: TEST 1289s # enumsince: 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # file-tail 1289s # 1289s # comment 1289s # comment: Generated data ends here 1289s # Error: 1289s ok 3 __main__.TestMkenums.test_deprecated_in 1289s # glib-mkenums: /usr/bin/glib-mkenums 1289s # tmpdir: /tmp/tmp_ok4m1cy 1289s # rspfile: False 1289s # /tmp/tmp_ok4m1cy/tmpiravpumw.h: 1289s # typedef enum { 1289s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1289s # } GDBusServerFlags; 1289s # 1289s # /tmp/tmp_ok4m1cy/tmpkowvo66w.template: 1289s # /*** BEGIN file-header ***/ 1289s # file-header 1289s # /*** END file-header ***/ 1289s # 1289s # /*** BEGIN file-production ***/ 1289s # file-production 1289s # filename: @filename@ 1289s # basename: @basename@ 1289s # /*** END file-production ***/ 1289s # 1289s # /*** BEGIN enumeration-production ***/ 1289s # enumeration-production 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END enumeration-production ***/ 1289s # 1289s # /*** BEGIN value-header ***/ 1289s # value-header 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-header ***/ 1289s # 1289s # /*** BEGIN value-production ***/ 1289s # value-production 1289s # VALUENAME: @VALUENAME@ 1289s # valuenick: @valuenick@ 1289s # valuenum: @valuenum@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-production ***/ 1289s # 1289s # /*** BEGIN value-tail ***/ 1289s # value-tail 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-tail ***/ 1289s # 1289s # /*** BEGIN comment ***/ 1289s # comment 1289s # comment: @comment@ 1289s # /*** END comment ***/ 1289s # 1289s # /*** BEGIN file-tail ***/ 1289s # file-tail 1289s # /*** END file-tail ***/ 1289s # 1289s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_ok4m1cy/tmpkowvo66w.template', '/tmp/tmp_ok4m1cy/tmpiravpumw.h'] 1289s # Return code: 0 1289s # Output: 1289s # comment 1289s # 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. 1289s # 1289s # 1289s # file-header 1289s # file-production 1289s # filename: /tmp/tmp_ok4m1cy/tmpiravpumw.h 1289s # basename: tmpiravpumw.h 1289s # enumeration-production 1289s # EnumName: GDBusServerFlags 1289s # enum_name: g_dbus_server_flags 1289s # ENUMNAME: G_DBUS_SERVER_FLAGS 1289s # ENUMSHORT: DBUS_SERVER_FLAGS 1289s # ENUMPREFIX: G 1289s # enumsince: 1289s # type: flags 1289s # Type: Flags 1289s # TYPE: FLAGS 1289s # value-header 1289s # EnumName: GDBusServerFlags 1289s # enum_name: g_dbus_server_flags 1289s # ENUMNAME: G_DBUS_SERVER_FLAGS 1289s # ENUMSHORT: DBUS_SERVER_FLAGS 1289s # ENUMPREFIX: G 1289s # enumsince: 1289s # type: flags 1289s # Type: Flags 1289s # TYPE: FLAGS 1289s # value-production 1289s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1289s # valuenick: user 1289s # valuenum: 4 1289s # type: flags 1289s # Type: Flags 1289s # TYPE: FLAGS 1289s # value-tail 1289s # EnumName: GDBusServerFlags 1289s # enum_name: g_dbus_server_flags 1289s # ENUMNAME: G_DBUS_SERVER_FLAGS 1289s # ENUMSHORT: DBUS_SERVER_FLAGS 1289s # ENUMPREFIX: G 1289s # enumsince: 1289s # type: flags 1289s # Type: Flags 1289s # TYPE: FLAGS 1289s # file-tail 1289s # 1289s # comment 1289s # comment: Generated data ends here 1289s # Error: 1289s ok 4 __main__.TestMkenums.test_deprecated_in_for 1289s # glib-mkenums: /usr/bin/glib-mkenums 1289s # tmpdir: /tmp/tmp486d7z2d 1289s # rspfile: False 1289s # /tmp/tmp486d7z2d/tmp6nq2bhi5.h: 1289s # typedef enum { 1289s # 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) 1289s # } GDBusServerFlags; 1289s # 1289s # /tmp/tmp486d7z2d/tmpr615g9__.template: 1289s # /*** BEGIN file-header ***/ 1289s # file-header 1289s # /*** END file-header ***/ 1289s # 1289s # /*** BEGIN file-production ***/ 1289s # file-production 1289s # filename: @filename@ 1289s # basename: @basename@ 1289s # /*** END file-production ***/ 1289s # 1289s # /*** BEGIN enumeration-production ***/ 1289s # enumeration-production 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END enumeration-production ***/ 1289s # 1289s # /*** BEGIN value-header ***/ 1289s # value-header 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-header ***/ 1289s # 1289s # /*** BEGIN value-production ***/ 1289s # value-production 1289s # VALUENAME: @VALUENAME@ 1289s # valuenick: @valuenick@ 1289s # valuenum: @valuenum@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-production ***/ 1289s # 1289s # /*** BEGIN value-tail ***/ 1289s # value-tail 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-tail ***/ 1289s # 1289s # /*** BEGIN comment ***/ 1289s # comment 1289s # comment: @comment@ 1289s # /*** END comment ***/ 1289s # 1289s # /*** BEGIN file-tail ***/ 1289s # file-tail 1289s # /*** END file-tail ***/ 1289s # 1289s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp486d7z2d/tmpr615g9__.template', '/tmp/tmp486d7z2d/tmp6nq2bhi5.h'] 1289s # Return code: 0 1289s # Output: 1289s # comment 1289s # 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. 1289s # 1289s # 1289s # file-header 1289s # file-production 1289s # filename: /tmp/tmp486d7z2d/tmp6nq2bhi5.h 1289s # basename: tmp6nq2bhi5.h 1289s # enumeration-production 1289s # EnumName: GDBusServerFlags 1289s # enum_name: g_dbus_server_flags 1289s # ENUMNAME: G_DBUS_SERVER_FLAGS 1289s # ENUMSHORT: DBUS_SERVER_FLAGS 1289s # ENUMPREFIX: G 1289s # enumsince: 1289s # type: flags 1289s # Type: Flags 1289s # TYPE: FLAGS 1289s # value-header 1289s # EnumName: GDBusServerFlags 1289s # enum_name: g_dbus_server_flags 1289s # ENUMNAME: G_DBUS_SERVER_FLAGS 1289s # ENUMSHORT: DBUS_SERVER_FLAGS 1289s # ENUMPREFIX: G 1289s # enumsince: 1289s # type: flags 1289s # Type: Flags 1289s # TYPE: FLAGS 1289s # value-production 1289s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1289s # valuenick: user 1289s # valuenum: 4 1289s # type: flags 1289s # Type: Flags 1289s # TYPE: FLAGS 1289s # value-tail 1289s # EnumName: GDBusServerFlags 1289s # enum_name: g_dbus_server_flags 1289s # ENUMNAME: G_DBUS_SERVER_FLAGS 1289s # ENUMSHORT: DBUS_SERVER_FLAGS 1289s # ENUMPREFIX: G 1289s # enumsince: 1289s # type: flags 1289s # Type: Flags 1289s # TYPE: FLAGS 1289s # file-tail 1289s # 1289s # comment 1289s # comment: Generated data ends here 1289s # Error: 1289s ok 5 __main__.TestMkenums.test_empty_header 1289s # glib-mkenums: /usr/bin/glib-mkenums 1289s # tmpdir: /tmp/tmpqrguqw60 1289s # rspfile: False 1289s # /tmp/tmpqrguqw60/tmpe1z_xa5_.h: 1289s # /tmp/tmpqrguqw60/tmpuvx2r9v5.template: 1289s # /*** BEGIN file-header ***/ 1289s # file-header 1289s # /*** END file-header ***/ 1289s # 1289s # /*** BEGIN file-production ***/ 1289s # file-production 1289s # filename: @filename@ 1289s # basename: @basename@ 1289s # /*** END file-production ***/ 1289s # 1289s # /*** BEGIN enumeration-production ***/ 1289s # enumeration-production 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END enumeration-production ***/ 1289s # 1289s # /*** BEGIN value-header ***/ 1289s # value-header 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-header ***/ 1289s # 1289s # /*** BEGIN value-production ***/ 1289s # value-production 1289s # VALUENAME: @VALUENAME@ 1289s # valuenick: @valuenick@ 1289s # valuenum: @valuenum@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-production ***/ 1289s # 1289s # /*** BEGIN value-tail ***/ 1289s # value-tail 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-tail ***/ 1289s # 1289s # /*** BEGIN comment ***/ 1289s # comment 1289s # comment: @comment@ 1289s # /*** END comment ***/ 1289s # 1289s # /*** BEGIN file-tail ***/ 1289s # file-tail 1289s # /*** END file-tail ***/ 1289s # 1289s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqrguqw60/tmpuvx2r9v5.template', '/tmp/tmpqrguqw60/tmpe1z_xa5_.h'] 1289s # Return code: 0 1289s # Output: 1289s # comment 1289s # 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. 1289s # 1289s # 1289s # file-header 1289s # file-tail 1289s # 1289s # comment 1289s # comment: Generated data ends here 1289s # Error: 1289s ok 6 __main__.TestMkenums.test_empty_template 1289s # glib-mkenums: /usr/bin/glib-mkenums 1289s # tmpdir: /tmp/tmpr95zj2q0 1289s # rspfile: False 1289s # /tmp/tmpr95zj2q0/tmpgp6s17br.template: 1289s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpr95zj2q0/tmpgp6s17br.template'] 1289s # Return code: 0 1289s # Output: 1289s # /* 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. */ 1289s # 1289s # 1289s # /* Generated data ends here */ 1289s # Error: 1289s ok 7 __main__.TestMkenums.test_enum_name 1289s # glib-mkenums: /usr/bin/glib-mkenums 1289s # tmpdir: /tmp/tmpkw3khmmj 1289s # rspfile: False 1289s # /tmp/tmpkw3khmmj/tmp9ldtkqgt.h: 1289s # typedef enum _SomeEnumIdentifier { 1289s # ENUM_VALUE 1289s # } SomeEnumIdentifier; 1289s # 1289s # /tmp/tmpkw3khmmj/tmph_v_5xfo.template: 1289s # /*** BEGIN file-header ***/ 1289s # file-header 1289s # /*** END file-header ***/ 1289s # 1289s # /*** BEGIN file-production ***/ 1289s # file-production 1289s # filename: @filename@ 1289s # basename: @basename@ 1289s # /*** END file-production ***/ 1289s # 1289s # /*** BEGIN enumeration-production ***/ 1289s # enumeration-production 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END enumeration-production ***/ 1289s # 1289s # /*** BEGIN value-header ***/ 1289s # value-header 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-header ***/ 1289s # 1289s # /*** BEGIN value-production ***/ 1289s # value-production 1289s # VALUENAME: @VALUENAME@ 1289s # valuenick: @valuenick@ 1289s # valuenum: @valuenum@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-production ***/ 1289s # 1289s # /*** BEGIN value-tail ***/ 1289s # value-tail 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-tail ***/ 1289s # 1289s # /*** BEGIN comment ***/ 1289s # comment 1289s # comment: @comment@ 1289s # /*** END comment ***/ 1289s # 1289s # /*** BEGIN file-tail ***/ 1289s # file-tail 1289s # /*** END file-tail ***/ 1289s # 1289s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkw3khmmj/tmph_v_5xfo.template', '/tmp/tmpkw3khmmj/tmp9ldtkqgt.h'] 1289s # Return code: 0 1289s # Output: 1289s # comment 1289s # 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. 1289s # 1289s # 1289s # file-header 1289s # file-production 1289s # filename: /tmp/tmpkw3khmmj/tmp9ldtkqgt.h 1289s # basename: tmp9ldtkqgt.h 1289s # enumeration-production 1289s # EnumName: SomeEnumIdentifier 1289s # enum_name: some_enum_identifier 1289s # ENUMNAME: SOME_ENUM_IDENTIFIER 1289s # ENUMSHORT: ENUM_IDENTIFIER 1289s # ENUMPREFIX: SOME 1289s # enumsince: 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # value-header 1289s # EnumName: SomeEnumIdentifier 1289s # enum_name: some_enum_identifier 1289s # ENUMNAME: SOME_ENUM_IDENTIFIER 1289s # ENUMSHORT: ENUM_IDENTIFIER 1289s # ENUMPREFIX: SOME 1289s # enumsince: 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # value-production 1289s # VALUENAME: ENUM_VALUE 1289s # valuenick: value 1289s # valuenum: 0 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # value-tail 1289s # EnumName: SomeEnumIdentifier 1289s # enum_name: some_enum_identifier 1289s # ENUMNAME: SOME_ENUM_IDENTIFIER 1289s # ENUMSHORT: ENUM_IDENTIFIER 1289s # ENUMPREFIX: SOME 1289s # enumsince: 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # file-tail 1289s # 1289s # comment 1289s # comment: Generated data ends here 1289s # Error: 1289s ok 8 __main__.TestMkenums.test_enum_private_public 1289s # glib-mkenums: /usr/bin/glib-mkenums 1289s # tmpdir: /tmp/tmp80_aqtzf 1289s # rspfile: False 1289s # /tmp/tmp80_aqtzf/tmpmlljpgps.h: 1289s # typedef enum { 1289s # ENUM_VALUE_PUBLIC1, 1289s # /*< private >*/ 1289s # ENUM_VALUE_PRIVATE, 1289s # } SomeEnumA 1289s # 1289s # /tmp/tmp80_aqtzf/tmp_uoyfi17.template: 1289s # /*** BEGIN file-header ***/ 1289s # file-header 1289s # /*** END file-header ***/ 1289s # 1289s # /*** BEGIN file-production ***/ 1289s # file-production 1289s # filename: @filename@ 1289s # basename: @basename@ 1289s # /*** END file-production ***/ 1289s # 1289s # /*** BEGIN enumeration-production ***/ 1289s # enumeration-production 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END enumeration-production ***/ 1289s # 1289s # /*** BEGIN value-header ***/ 1289s # value-header 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-header ***/ 1289s # 1289s # /*** BEGIN value-production ***/ 1289s # value-production 1289s # VALUENAME: @VALUENAME@ 1289s # valuenick: @valuenick@ 1289s # valuenum: @valuenum@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-production ***/ 1289s # 1289s # /*** BEGIN value-tail ***/ 1289s # value-tail 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-tail ***/ 1289s # 1289s # /*** BEGIN comment ***/ 1289s # comment 1289s # comment: @comment@ 1289s # /*** END comment ***/ 1289s # 1289s # /*** BEGIN file-tail ***/ 1289s # file-tail 1289s # /*** END file-tail ***/ 1289s # 1289s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp80_aqtzf/tmp_uoyfi17.template', '/tmp/tmp80_aqtzf/tmpmlljpgps.h'] 1289s # Return code: 0 1289s # Output: 1289s # comment 1289s # 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. 1289s # 1289s # 1289s # file-header 1289s # file-production 1289s # filename: /tmp/tmp80_aqtzf/tmpmlljpgps.h 1289s # basename: tmpmlljpgps.h 1289s # enumeration-production 1289s # EnumName: SomeEnumA 1289s # enum_name: some_enum_a 1289s # ENUMNAME: SOME_ENUM_A 1289s # ENUMSHORT: ENUM_A 1289s # ENUMPREFIX: SOME 1289s # enumsince: 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # value-header 1289s # EnumName: SomeEnumA 1289s # enum_name: some_enum_a 1289s # ENUMNAME: SOME_ENUM_A 1289s # ENUMSHORT: ENUM_A 1289s # ENUMPREFIX: SOME 1289s # enumsince: 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # value-production 1289s # VALUENAME: ENUM_VALUE_PUBLIC1 1289s # valuenick: public1 1289s # valuenum: 0 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # value-tail 1289s # EnumName: SomeEnumA 1289s # enum_name: some_enum_a 1289s # ENUMNAME: SOME_ENUM_A 1289s # ENUMSHORT: ENUM_A 1289s # ENUMPREFIX: SOME 1289s # enumsince: 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # file-tail 1289s # 1289s # comment 1289s # comment: Generated data ends here 1289s # Error: 1289s # 1289s # /tmp/tmp80_aqtzf/tmpb87_5i7p.h: 1289s # typedef enum { 1289s # /*< private >*/ 1289s # ENUM_VALUE_PRIVATE, 1289s # /*< public >*/ 1289s # ENUM_VALUE_PUBLIC2, 1289s # } SomeEnumB; 1289s # 1289s # /tmp/tmp80_aqtzf/tmpoabfgjcg.template: 1289s # /*** BEGIN file-header ***/ 1289s # file-header 1289s # /*** END file-header ***/ 1289s # 1289s # /*** BEGIN file-production ***/ 1289s # file-production 1289s # filename: @filename@ 1289s # basename: @basename@ 1289s # /*** END file-production ***/ 1289s # 1289s # /*** BEGIN enumeration-production ***/ 1289s # enumeration-production 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END enumeration-production ***/ 1289s # 1289s # /*** BEGIN value-header ***/ 1289s # value-header 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-header ***/ 1289s # 1289s # /*** BEGIN value-production ***/ 1289s # value-production 1289s # VALUENAME: @VALUENAME@ 1289s # valuenick: @valuenick@ 1289s # valuenum: @valuenum@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-production ***/ 1289s # 1289s # /*** BEGIN value-tail ***/ 1289s # value-tail 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-tail ***/ 1289s # 1289s # /*** BEGIN comment ***/ 1289s # comment 1289s # comment: @comment@ 1289s # /*** END comment ***/ 1289s # 1289s # /*** BEGIN file-tail ***/ 1289s # file-tail 1289s # /*** END file-tail ***/ 1289s # 1289s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp80_aqtzf/tmpoabfgjcg.template', '/tmp/tmp80_aqtzf/tmpb87_5i7p.h'] 1289s # Return code: 0 1289s # Output: 1289s # comment 1289s # 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. 1289s # 1289s # 1289s # file-header 1289s # file-production 1289s # filename: /tmp/tmp80_aqtzf/tmpb87_5i7p.h 1289s # basename: tmpb87_5i7p.h 1289s # enumeration-production 1289s # EnumName: SomeEnumB 1289s # enum_name: some_enum_b 1289s # ENUMNAME: SOME_ENUM_B 1289s # ENUMSHORT: ENUM_B 1289s # ENUMPREFIX: SOME 1289s # enumsince: 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # value-header 1289s # EnumName: SomeEnumB 1289s # enum_name: some_enum_b 1289s # ENUMNAME: SOME_ENUM_B 1289s # ENUMSHORT: ENUM_B 1289s # ENUMPREFIX: SOME 1289s # enumsince: 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # value-production 1289s # VALUENAME: ENUM_VALUE_PUBLIC2 1289s # valuenick: public2 1289s # valuenum: 1 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # value-tail 1289s # EnumName: SomeEnumB 1289s # enum_name: some_enum_b 1289s # ENUMNAME: SOME_ENUM_B 1289s # ENUMSHORT: ENUM_B 1289s # ENUMPREFIX: SOME 1289s # enumsince: 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # file-tail 1289s # 1289s # comment 1289s # comment: Generated data ends here 1289s # Error: 1289s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1289s # glib-mkenums: /usr/bin/glib-mkenums 1289s # tmpdir: /tmp/tmpzgd9j2gz 1289s # rspfile: False 1289s # /tmp/tmpzgd9j2gz/tmpv9bxj8tc.h: 1289s # typedef enum { 1289s # /*< private >*/ 1289s # ENUM_VALUE_PRIVATE = 5, 1289s # /*< public >*/ 1289s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1289s # } TestSymbolicEnum; 1289s # 1289s # /tmp/tmpzgd9j2gz/tmp8buzeq2i.template: 1289s # /*** BEGIN file-header ***/ 1289s # file-header 1289s # /*** END file-header ***/ 1289s # 1289s # /*** BEGIN file-production ***/ 1289s # file-production 1289s # filename: @filename@ 1289s # basename: @basename@ 1289s # /*** END file-production ***/ 1289s # 1289s # /*** BEGIN enumeration-production ***/ 1289s # enumeration-production 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END enumeration-production ***/ 1289s # 1289s # /*** BEGIN value-header ***/ 1289s # value-header 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-header ***/ 1289s # 1289s # /*** BEGIN value-production ***/ 1289s # value-production 1289s # VALUENAME: @VALUENAME@ 1289s # valuenick: @valuenick@ 1289s # valuenum: @valuenum@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-production ***/ 1289s # 1289s # /*** BEGIN value-tail ***/ 1289s # value-tail 1289s # EnumName: @EnumName@ 1289s # enum_name: @enum_name@ 1289s # ENUMNAME: @ENUMNAME@ 1289s # ENUMSHORT: @ENUMSHORT@ 1289s # ENUMPREFIX: @ENUMPREFIX@ 1289s # enumsince: @enumsince@ 1289s # type: @type@ 1289s # Type: @Type@ 1289s # TYPE: @TYPE@ 1289s # /*** END value-tail ***/ 1289s # 1289s # /*** BEGIN comment ***/ 1289s # comment 1289s # comment: @comment@ 1289s # /*** END comment ***/ 1289s # 1289s # /*** BEGIN file-tail ***/ 1289s # file-tail 1289s # /*** END file-tail ***/ 1289s # 1289s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpzgd9j2gz/tmp8buzeq2i.template', '/tmp/tmpzgd9j2gz/tmpv9bxj8tc.h'] 1289s # Return code: 0 1289s # Output: 1289s # comment 1289s # 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. 1289s # 1289s # 1289s # file-header 1289s # file-production 1289s # filename: /tmp/tmpzgd9j2gz/tmpv9bxj8tc.h 1289s # basename: tmpv9bxj8tc.h 1289s # enumeration-production 1289s # EnumName: TestSymbolicEnum 1289s # enum_name: test_symbolic_enum 1289s # ENUMNAME: TEST_SYMBOLIC_ENUM 1289s # ENUMSHORT: SYMBOLIC_ENUM 1289s # ENUMPREFIX: TEST 1289s # enumsince: 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # value-header 1289s # EnumName: TestSymbolicEnum 1289s # enum_name: test_symbolic_enum 1289s # ENUMNAME: TEST_SYMBOLIC_ENUM 1289s # ENUMSHORT: SYMBOLIC_ENUM 1289s # ENUMPREFIX: TEST 1289s # enumsince: 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # value-production 1289s # VALUENAME: ENUM_VALUE_PUBLIC 1289s # valuenick: public 1289s # valuenum: 7 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # value-tail 1289s # EnumName: TestSymbolicEnum 1289s # enum_name: test_symbolic_enum 1289s # ENUMNAME: TEST_SYMBOLIC_ENUM 1289s # ENUMSHORT: SYMBOLIC_ENUM 1289s # ENUMPREFIX: TEST 1289s # enumsince: 1289s # type: enum 1289s # Type: Enum 1289s # TYPE: ENUM 1289s # file-tail 1289s # 1289s # comment 1289s # comment: Generated data ends here 1289s # Error: 1289s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1289s # glib-mkenums: /usr/bin/glib-mkenums 1289s # tmpdir: /tmp/tmpwf93yrmc 1289s # rspfile: False 1289s # /tmp/tmpwf93yrmc/tmpzaht7wxw.template: 1289s # /*** BEGIN file-header ***/ 1289s # file-header 1289s # filename: @filename@ 1289s # basename: @basename@ 1289s # /*** END file-header ***/ 1289s # 1289s # /*** BEGIN comment ***/ 1289s # comment 1289s # comment: @comment@ 1289s # /*** END comment ***/ 1289s # 1289s # /*** BEGIN file-tail ***/ 1289s # file-tail 1289s # filename: @filename@ 1289s # basename: @basename@ 1289s # /*** END file-tail ***/ 1289s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpwf93yrmc/tmpzaht7wxw.template'] 1289s # Return code: 0 1289s # Output: 1289s # comment 1289s # 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. 1289s # 1289s # 1289s # file-header 1289s # filename: @filename@ 1289s # basename: @basename@ 1289s # file-tail 1289s # filename: @filename@ 1289s # basename: @basename@ 1289s # 1289s # comment 1289s # comment: Generated data ends here 1289s # Error: 1289s # WARNING: @filename@ used in file-header section. 1289s # WARNING: @basename@ used in file-header section. 1289s # WARNING: @filename@ used in file-tail section. 1289s # WARNING: @basename@ used in file-tail section. 1291s ok 11 __main__.TestMkenums.test_flag_enum_annotation 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmpp8dwuksl 1291s # rspfile: False 1291s # /tmp/tmpp8dwuksl/tmp7172hr_9.h: 1291s # typedef enum { 1291s # SOME_FLAGS_ONE = (1 << 1), 1291s # } G_GNUC_FLAG_ENUM SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmpy6k0nrdf.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmpy6k0nrdf.template', '/tmp/tmpp8dwuksl/tmp7172hr_9.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmp7172hr_9.h 1291s # basename: tmp7172hr_9.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_ONE 1291s # valuenick: one 1291s # valuenum: 2 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmpx65eatep.h: 1291s # typedef enum G_GNUC_FLAG_ENUM { 1291s # SOME_FLAGS_TWO = (1 << 2), 1291s # } SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmpwgrb0dp5.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmpwgrb0dp5.template', '/tmp/tmpp8dwuksl/tmpx65eatep.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmpx65eatep.h 1291s # basename: tmpx65eatep.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_TWO 1291s # valuenick: two 1291s # valuenum: 4 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmpbqfwj5yk.h: 1291s # typedef enum G_GNUC_FLAG_ENUM _SomeFlags { 1291s # SOME_FLAGS_THREE = (1 << 3), 1291s # } SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmprb3d4wuk.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmprb3d4wuk.template', '/tmp/tmpp8dwuksl/tmpbqfwj5yk.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmpbqfwj5yk.h 1291s # basename: tmpbqfwj5yk.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_THREE 1291s # valuenick: three 1291s # valuenum: 8 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmpbez2cknj.h: 1291s # typedef enum { 1291s # SOME_FLAGS_ONE = (1 << 1), 1291s # } __attribute__((flag_enum)) SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmp_0jr082q.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmp_0jr082q.template', '/tmp/tmpp8dwuksl/tmpbez2cknj.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmpbez2cknj.h 1291s # basename: tmpbez2cknj.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_ONE 1291s # valuenick: one 1291s # valuenum: 2 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmpcr7vli5q.h: 1291s # typedef enum __attribute__((flag_enum)) { 1291s # SOME_FLAGS_TWO = (1 << 2), 1291s # } SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmp6wbo_ao7.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmp6wbo_ao7.template', '/tmp/tmpp8dwuksl/tmpcr7vli5q.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmpcr7vli5q.h 1291s # basename: tmpcr7vli5q.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_TWO 1291s # valuenick: two 1291s # valuenum: 4 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmpfs_tyvfa.h: 1291s # typedef enum __attribute__((flag_enum)) _SomeFlags { 1291s # SOME_FLAGS_THREE = (1 << 3), 1291s # } SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmpj5i6kdkz.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmpj5i6kdkz.template', '/tmp/tmpp8dwuksl/tmpfs_tyvfa.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmpfs_tyvfa.h 1291s # basename: tmpfs_tyvfa.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_THREE 1291s # valuenick: three 1291s # valuenum: 8 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmplr8170b0.h: 1291s # typedef enum { 1291s # SOME_FLAGS_ONE = (1 << 1), 1291s # } __attribute__((__flag_enum__)) SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmpqoleks9f.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmpqoleks9f.template', '/tmp/tmpp8dwuksl/tmplr8170b0.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmplr8170b0.h 1291s # basename: tmplr8170b0.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_ONE 1291s # valuenick: one 1291s # valuenum: 2 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmpf1kw8yqf.h: 1291s # typedef enum __attribute__((__flag_enum__)) { 1291s # SOME_FLAGS_TWO = (1 << 2), 1291s # } SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmpuzp5f4ev.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmpuzp5f4ev.template', '/tmp/tmpp8dwuksl/tmpf1kw8yqf.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmpf1kw8yqf.h 1291s # basename: tmpf1kw8yqf.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_TWO 1291s # valuenick: two 1291s # valuenum: 4 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmph1ocamu5.h: 1291s # typedef enum __attribute__((__flag_enum__)) _SomeFlags { 1291s # SOME_FLAGS_THREE = (1 << 3), 1291s # } SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmpm37o1f6p.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmpm37o1f6p.template', '/tmp/tmpp8dwuksl/tmph1ocamu5.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmph1ocamu5.h 1291s # basename: tmph1ocamu5.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_THREE 1291s # valuenick: three 1291s # valuenum: 8 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmp43i1du0t.h: 1291s # typedef enum { 1291s # SOME_FLAGS_ONE = (1 << 1), 1291s # } __attribute__((flag_enum,deprecated)) SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmp6xmug1yp.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmp6xmug1yp.template', '/tmp/tmpp8dwuksl/tmp43i1du0t.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmp43i1du0t.h 1291s # basename: tmp43i1du0t.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_ONE 1291s # valuenick: one 1291s # valuenum: 2 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmpuollmsn5.h: 1291s # typedef enum __attribute__((flag_enum,deprecated)) { 1291s # SOME_FLAGS_TWO = (1 << 2), 1291s # } SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmpx_26ahj6.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmpx_26ahj6.template', '/tmp/tmpp8dwuksl/tmpuollmsn5.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmpuollmsn5.h 1291s # basename: tmpuollmsn5.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_TWO 1291s # valuenick: two 1291s # valuenum: 4 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmp6snnjga1.h: 1291s # typedef enum __attribute__((flag_enum,deprecated)) _SomeFlags { 1291s # SOME_FLAGS_THREE = (1 << 3), 1291s # } SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmpij1itp9c.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmpij1itp9c.template', '/tmp/tmpp8dwuksl/tmp6snnjga1.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmp6snnjga1.h 1291s # basename: tmp6snnjga1.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_THREE 1291s # valuenick: three 1291s # valuenum: 8 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmp4h2w0rvv.h: 1291s # typedef enum { 1291s # SOME_FLAGS_ONE = (1 << 1), 1291s # } __attribute__((deprecated,__flag_enum__)) SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmpaudbxzcu.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmpaudbxzcu.template', '/tmp/tmpp8dwuksl/tmp4h2w0rvv.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmp4h2w0rvv.h 1291s # basename: tmp4h2w0rvv.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_ONE 1291s # valuenick: one 1291s # valuenum: 2 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmpnllklurj.h: 1291s # typedef enum __attribute__((deprecated,__flag_enum__)) { 1291s # SOME_FLAGS_TWO = (1 << 2), 1291s # } SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmp3di0k_wy.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmp3di0k_wy.template', '/tmp/tmpp8dwuksl/tmpnllklurj.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmpnllklurj.h 1291s # basename: tmpnllklurj.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_TWO 1291s # valuenick: two 1291s # valuenum: 4 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmpzp_039be.h: 1291s # typedef enum __attribute__((deprecated,__flag_enum__)) _SomeFlags { 1291s # SOME_FLAGS_THREE = (1 << 3), 1291s # } SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmpa9iqu9uy.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmpa9iqu9uy.template', '/tmp/tmpp8dwuksl/tmpzp_039be.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmpzp_039be.h 1291s # basename: tmpzp_039be.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_THREE 1291s # valuenick: three 1291s # valuenum: 8 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmpx_aey68u.h: 1291s # typedef enum { 1291s # SOME_FLAGS_ONE = (1 << 1), 1291s # } [[gnu::flag_enum]] SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmphii62997.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmphii62997.template', '/tmp/tmpp8dwuksl/tmpx_aey68u.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmpx_aey68u.h 1291s # basename: tmpx_aey68u.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_ONE 1291s # valuenick: one 1291s # valuenum: 2 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmpdnt27276.h: 1291s # typedef enum [[gnu::flag_enum]] { 1291s # SOME_FLAGS_TWO = (1 << 2), 1291s # } SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmpb9bxm1ar.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmpb9bxm1ar.template', '/tmp/tmpp8dwuksl/tmpdnt27276.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmpdnt27276.h 1291s # basename: tmpdnt27276.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_TWO 1291s # valuenick: two 1291s # valuenum: 4 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmp9dyah4fe.h: 1291s # typedef enum [[gnu::flag_enum]] _SomeFlags { 1291s # SOME_FLAGS_THREE = (1 << 3), 1291s # } SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmp6xb9jblu.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmp6xb9jblu.template', '/tmp/tmpp8dwuksl/tmp9dyah4fe.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmp9dyah4fe.h 1291s # basename: tmp9dyah4fe.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_THREE 1291s # valuenick: three 1291s # valuenum: 8 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmpayav07v1.h: 1291s # typedef enum { 1291s # SOME_FLAGS_ONE = (1 << 1), 1291s # } [[clang::flag_enum]] SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmp7bo6buvf.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmp7bo6buvf.template', '/tmp/tmpp8dwuksl/tmpayav07v1.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmpayav07v1.h 1291s # basename: tmpayav07v1.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_ONE 1291s # valuenick: one 1291s # valuenum: 2 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmp3yqt_n81.h: 1291s # typedef enum [[clang::flag_enum]] { 1291s # SOME_FLAGS_TWO = (1 << 2), 1291s # } SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmp1_yrmdtb.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmp1_yrmdtb.template', '/tmp/tmpp8dwuksl/tmp3yqt_n81.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmp3yqt_n81.h 1291s # basename: tmp3yqt_n81.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_TWO 1291s # valuenick: two 1291s # valuenum: 4 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmppabcwp95.h: 1291s # typedef enum [[clang::flag_enum]] _SomeFlags { 1291s # SOME_FLAGS_THREE = (1 << 3), 1291s # } SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmpy6j9dsh3.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmpy6j9dsh3.template', '/tmp/tmpp8dwuksl/tmppabcwp95.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmppabcwp95.h 1291s # basename: tmppabcwp95.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_THREE 1291s # valuenick: three 1291s # valuenum: 8 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmp8zwgsfk3.h: 1291s # typedef enum { 1291s # SOME_FLAGS_ONE = (1 << 1), 1291s # } [[nodiscard,gnu::flag_enum]] SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmpx0exyu1l.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmpx0exyu1l.template', '/tmp/tmpp8dwuksl/tmp8zwgsfk3.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmp8zwgsfk3.h 1291s # basename: tmp8zwgsfk3.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_ONE 1291s # valuenick: one 1291s # valuenum: 2 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmput8lmol9.h: 1291s # typedef enum [[nodiscard,gnu::flag_enum]] { 1291s # SOME_FLAGS_TWO = (1 << 2), 1291s # } SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmp97d8fzlc.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmp97d8fzlc.template', '/tmp/tmpp8dwuksl/tmput8lmol9.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmput8lmol9.h 1291s # basename: tmput8lmol9.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_TWO 1291s # valuenick: two 1291s # valuenum: 4 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmpxn0x7hix.h: 1291s # typedef enum [[nodiscard,gnu::flag_enum]] _SomeFlags { 1291s # SOME_FLAGS_THREE = (1 << 3), 1291s # } SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmptkdxpyvd.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmptkdxpyvd.template', '/tmp/tmpp8dwuksl/tmpxn0x7hix.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmpxn0x7hix.h 1291s # basename: tmpxn0x7hix.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_THREE 1291s # valuenick: three 1291s # valuenum: 8 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmpn7k8bhp9.h: 1291s # typedef enum { 1291s # SOME_FLAGS_ONE = (1 << 1), 1291s # } [[clang::flag_enum,nodiscard]] SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmpfx95pgcu.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmpfx95pgcu.template', '/tmp/tmpp8dwuksl/tmpn7k8bhp9.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmpn7k8bhp9.h 1291s # basename: tmpn7k8bhp9.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_ONE 1291s # valuenick: one 1291s # valuenum: 2 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmp2bwheg9i.h: 1291s # typedef enum [[clang::flag_enum,nodiscard]] { 1291s # SOME_FLAGS_TWO = (1 << 2), 1291s # } SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmpycnb95ng.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmpycnb95ng.template', '/tmp/tmpp8dwuksl/tmp2bwheg9i.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmp2bwheg9i.h 1291s # basename: tmp2bwheg9i.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_TWO 1291s # valuenick: two 1291s # valuenum: 4 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpp8dwuksl/tmptqj29ylw.h: 1291s # typedef enum [[clang::flag_enum,nodiscard]] _SomeFlags { 1291s # SOME_FLAGS_THREE = (1 << 3), 1291s # } SomeFlags; 1291s # 1291s # /tmp/tmpp8dwuksl/tmpjxav_uu7.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpp8dwuksl/tmpjxav_uu7.template', '/tmp/tmpp8dwuksl/tmptqj29ylw.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpp8dwuksl/tmptqj29ylw.h 1291s # basename: tmptqj29ylw.h 1291s # enumeration-production 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: SOME_FLAGS_THREE 1291s # valuenick: three 1291s # valuenum: 8 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: SomeFlags 1291s # enum_name: some_flags 1291s # ENUMNAME: SOME_FLAGS 1291s # ENUMSHORT: FLAGS 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s ok 12 __main__.TestMkenums.test_help 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmp121snzxy 1291s # rspfile: False 1291s # Running: ['/usr/bin/glib-mkenums', '--help'] 1291s # Return code: 0 1291s # Output: 1291s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1291s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1291s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1291s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1291s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1291s # [--output OUTPUT] [--version] 1291s # [args ...] 1291s # 1291s # positional arguments: 1291s # args One or more input files, or a single argument 1291s # @rspfile_path pointing to a file that contains the 1291s # actual arguments 1291s # 1291s # options: 1291s # -h, --help show this help message and exit 1291s # --identifier-prefix IDPREFIX 1291s # Identifier prefix 1291s # --symbol-prefix SYMPREFIX 1291s # Symbol prefix 1291s # --fhead FHEAD Output file header 1291s # --ftail FTAIL Output file footer 1291s # --fprod FPROD Put out TEXT every time a new input file is being 1291s # processed. 1291s # --eprod EPROD Per enum text, produced prior to value iterations 1291s # --vhead VHEAD Value header, produced before iterating over enum 1291s # values 1291s # --vprod VPROD Value text, produced for each enum value. 1291s # --vtail VTAIL Value tail, produced after iterating over enum values 1291s # --comments COMMENT_TMPL 1291s # Comment structure 1291s # --template TEMPLATE Template file 1291s # --output OUTPUT 1291s # --version, -v Print version information 1291s # 1291s # Production text substitutions: 1291s # @EnumName@ PrefixTheXEnum 1291s # @enum_name@ prefix_the_xenum 1291s # @ENUMNAME@ PREFIX_THE_XENUM 1291s # @ENUMSHORT@ THE_XENUM 1291s # @ENUMPREFIX@ PREFIX 1291s # @enumsince@ the user-provided since value given 1291s # @VALUENAME@ PREFIX_THE_XVALUE 1291s # @valuenick@ the-xvalue 1291s # @valuenum@ the integer value (limited support, Since: 2.26) 1291s # @type@ either enum or flags 1291s # @Type@ either Enum or Flags 1291s # @TYPE@ either ENUM or FLAGS 1291s # @filename@ name of current input file 1291s # @basename@ base name of the current input file (Since: 2.22) 1291s # Error: 1291s ok 13 __main__.TestMkenums.test_no_args 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmpvog9ul_r 1291s # rspfile: False 1291s # Running: ['/usr/bin/glib-mkenums'] 1291s # Return code: 0 1291s # Output: 1291s # /* 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. */ 1291s # 1291s # 1291s # /* Generated data ends here */ 1291s # Error: 1291s ok 14 __main__.TestMkenums.test_no_headers 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmpcsfi50wm 1291s # rspfile: False 1291s # /tmp/tmpcsfi50wm/tmpll4d4f4t.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcsfi50wm/tmpll4d4f4t.template'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s ok 15 __main__.TestMkenums.test_no_nick 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmpfzu6k_jr 1291s # rspfile: False 1291s # /tmp/tmpfzu6k_jr/tmpg1lfs2rz.h: 1291s # typedef enum { 1291s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1291s # } GeglSamplerType; 1291s # 1291s # /tmp/tmpfzu6k_jr/tmpzoew07_t.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfzu6k_jr/tmpzoew07_t.template', '/tmp/tmpfzu6k_jr/tmpg1lfs2rz.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpfzu6k_jr/tmpg1lfs2rz.h 1291s # basename: tmpg1lfs2rz.h 1291s # enumeration-production 1291s # EnumName: GeglSamplerType 1291s # enum_name: gegl_sampler_type 1291s # ENUMNAME: GEGL_SAMPLER_TYPE 1291s # ENUMSHORT: SAMPLER_TYPE 1291s # ENUMPREFIX: GEGL 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-header 1291s # EnumName: GeglSamplerType 1291s # enum_name: gegl_sampler_type 1291s # ENUMNAME: GEGL_SAMPLER_TYPE 1291s # ENUMSHORT: SAMPLER_TYPE 1291s # ENUMPREFIX: GEGL 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-production 1291s # VALUENAME: GEGL_SAMPLER_NEAREST 1291s # valuenick: nearest 1291s # valuenum: 0 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-tail 1291s # EnumName: GeglSamplerType 1291s # enum_name: gegl_sampler_type 1291s # ENUMNAME: GEGL_SAMPLER_TYPE 1291s # ENUMSHORT: SAMPLER_TYPE 1291s # ENUMPREFIX: GEGL 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s ok 16 __main__.TestMkenums.test_non_utf8_encoding 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmpk8lv8zj_ 1291s # rspfile: False 1291s # /tmp/tmpk8lv8zj_/tmpgd_uqb2g.h: 1291s # /* Copyright © La Peña */ 1291s # typedef enum { 1291s # ENUM_VALUE 1291s # } SomeEnumIdentifier; 1291s # 1291s # /tmp/tmpk8lv8zj_/tmp07fxno5s.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpk8lv8zj_/tmp07fxno5s.template', '/tmp/tmpk8lv8zj_/tmpgd_uqb2g.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpk8lv8zj_/tmpgd_uqb2g.h 1291s # basename: tmpgd_uqb2g.h 1291s # enumeration-production 1291s # EnumName: SomeEnumIdentifier 1291s # enum_name: some_enum_identifier 1291s # ENUMNAME: SOME_ENUM_IDENTIFIER 1291s # ENUMSHORT: ENUM_IDENTIFIER 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-header 1291s # EnumName: SomeEnumIdentifier 1291s # enum_name: some_enum_identifier 1291s # ENUMNAME: SOME_ENUM_IDENTIFIER 1291s # ENUMSHORT: ENUM_IDENTIFIER 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-production 1291s # VALUENAME: ENUM_VALUE 1291s # valuenick: value 1291s # valuenum: 0 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-tail 1291s # EnumName: SomeEnumIdentifier 1291s # enum_name: some_enum_identifier 1291s # ENUMNAME: SOME_ENUM_IDENTIFIER 1291s # ENUMSHORT: ENUM_IDENTIFIER 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 1291s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 1291s ok 17 __main__.TestMkenums.test_reproducible 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmpgk5td19s 1291s # rspfile: False 1291s # /tmp/tmpgk5td19s/tmpddudjmet.template: template 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgk5td19s/tmpddudjmet.template', '/tmp/tmpgk5td19s/tmp9geivdv61.h', '/tmp/tmpgk5td19s/tmpd75vtgkt2.h'] 1291s # Return code: 0 1291s # Output: 1291s # /* 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. */ 1291s # 1291s # 1291s # /* Generated data ends here */ 1291s # Error: 1291s # 1291s # /tmp/tmpgk5td19s/tmpyvir9mgy.template: template 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgk5td19s/tmpyvir9mgy.template', '/tmp/tmpgk5td19s/tmpd75vtgkt2.h', '/tmp/tmpgk5td19s/tmp9geivdv61.h'] 1291s # Return code: 0 1291s # Output: 1291s # /* 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. */ 1291s # 1291s # 1291s # /* Generated data ends here */ 1291s # Error: 1291s ok 18 __main__.TestMkenums.test_since 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmp13g6rx9u 1291s # rspfile: False 1291s # /tmp/tmp13g6rx9u/tmpnz9_1hck.h: 1291s # typedef enum { /*< since=1.0 >*/ 1291s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1291s # } QmiWmsMessageProtocol; 1291s # 1291s # /tmp/tmp13g6rx9u/tmpv7dx_qyb.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp13g6rx9u/tmpv7dx_qyb.template', '/tmp/tmp13g6rx9u/tmpnz9_1hck.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmp13g6rx9u/tmpnz9_1hck.h 1291s # basename: tmpnz9_1hck.h 1291s # enumeration-production 1291s # EnumName: QmiWmsMessageProtocol 1291s # enum_name: qmi_wms_message_protocol 1291s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1291s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1291s # ENUMPREFIX: QMI 1291s # enumsince: 1.0 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-header 1291s # EnumName: QmiWmsMessageProtocol 1291s # enum_name: qmi_wms_message_protocol 1291s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1291s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1291s # ENUMPREFIX: QMI 1291s # enumsince: 1.0 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-production 1291s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1291s # valuenick: cdma 1291s # valuenum: 0 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-tail 1291s # EnumName: QmiWmsMessageProtocol 1291s # enum_name: qmi_wms_message_protocol 1291s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1291s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1291s # ENUMPREFIX: QMI 1291s # enumsince: 1.0 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s ok 19 __main__.TestMkenums.test_with_double_quotes 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmpv3fnau_i 1291s # rspfile: False 1291s # /tmp/tmpv3fnau_i/tmp2tb5hpch.h: 1291s # typedef enum { 1291s # FOO_VALUE /*< nick="eek, a comma" >*/ 1291s # } Foo; 1291s # 1291s # /tmp/tmpv3fnau_i/tmpzgs__f4j.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpv3fnau_i/tmpzgs__f4j.template', '/tmp/tmpv3fnau_i/tmp2tb5hpch.h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpv3fnau_i/tmp2tb5hpch.h 1291s # basename: tmp2tb5hpch.h 1291s # enumeration-production 1291s # EnumName: Foo 1291s # enum_name: foo_ 1291s # ENUMNAME: FOO_ 1291s # ENUMSHORT: 1291s # ENUMPREFIX: FOO 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-header 1291s # EnumName: Foo 1291s # enum_name: foo_ 1291s # ENUMNAME: FOO_ 1291s # ENUMSHORT: 1291s # ENUMPREFIX: FOO 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-production 1291s # VALUENAME: FOO_VALUE 1291s # valuenick: eek, a comma 1291s # valuenum: 0 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-tail 1291s # EnumName: Foo 1291s # enum_name: foo_ 1291s # ENUMNAME: FOO_ 1291s # ENUMSHORT: 1291s # ENUMPREFIX: FOO 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s ok 20 __main__.TestRspMkenums.test_available_in 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmpytqcthnu 1291s # rspfile: True 1291s # /tmp/tmpytqcthnu/tmpvugfwgv8.h: 1291s # typedef enum { 1291s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1291s # } GDBusServerFlags; 1291s # 1291s # /tmp/tmpytqcthnu/tmptlm74oxg.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Response file contains: --template /tmp/tmpytqcthnu/tmptlm74oxg.template /tmp/tmpytqcthnu/tmpvugfwgv8.h 1291s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpytqcthnu/tmpd2c4j4by'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpytqcthnu/tmpvugfwgv8.h 1291s # basename: tmpvugfwgv8.h 1291s # enumeration-production 1291s # EnumName: GDBusServerFlags 1291s # enum_name: g_dbus_server_flags 1291s # ENUMNAME: G_DBUS_SERVER_FLAGS 1291s # ENUMSHORT: DBUS_SERVER_FLAGS 1291s # ENUMPREFIX: G 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: GDBusServerFlags 1291s # enum_name: g_dbus_server_flags 1291s # ENUMNAME: G_DBUS_SERVER_FLAGS 1291s # ENUMSHORT: DBUS_SERVER_FLAGS 1291s # ENUMPREFIX: G 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1291s # valuenick: user 1291s # valuenum: 4 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: GDBusServerFlags 1291s # enum_name: g_dbus_server_flags 1291s # ENUMNAME: G_DBUS_SERVER_FLAGS 1291s # ENUMSHORT: DBUS_SERVER_FLAGS 1291s # ENUMPREFIX: G 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s ok 21 __main__.TestRspMkenums.test_comma_in_enum_value 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmp3ptksr2f 1291s # rspfile: True 1291s # /tmp/tmp3ptksr2f/tmpzeuu3i3a.h: 1291s # typedef enum { 1291s # ENUM_VALUE_WITH_COMMA = ',', 1291s # } TestCommaEnum; 1291s # 1291s # /tmp/tmp3ptksr2f/tmp69o3150x.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Response file contains: --template /tmp/tmp3ptksr2f/tmp69o3150x.template /tmp/tmp3ptksr2f/tmpzeuu3i3a.h 1291s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3ptksr2f/tmplrmu73cn'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmp3ptksr2f/tmpzeuu3i3a.h 1291s # basename: tmpzeuu3i3a.h 1291s # enumeration-production 1291s # EnumName: TestCommaEnum 1291s # enum_name: test_comma_enum 1291s # ENUMNAME: TEST_COMMA_ENUM 1291s # ENUMSHORT: COMMA_ENUM 1291s # ENUMPREFIX: TEST 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-header 1291s # EnumName: TestCommaEnum 1291s # enum_name: test_comma_enum 1291s # ENUMNAME: TEST_COMMA_ENUM 1291s # ENUMSHORT: COMMA_ENUM 1291s # ENUMPREFIX: TEST 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-production 1291s # VALUENAME: ENUM_VALUE_WITH_COMMA 1291s # valuenick: comma 1291s # valuenum: 44 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-tail 1291s # EnumName: TestCommaEnum 1291s # enum_name: test_comma_enum 1291s # ENUMNAME: TEST_COMMA_ENUM 1291s # ENUMSHORT: COMMA_ENUM 1291s # ENUMPREFIX: TEST 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s ok 22 __main__.TestRspMkenums.test_deprecated_in 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmp0lei4516 1291s # rspfile: True 1291s # /tmp/tmp0lei4516/tmpoeyrs0h7.h: 1291s # typedef enum { 1291s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1291s # } GDBusServerFlags; 1291s # 1291s # /tmp/tmp0lei4516/tmpn6ejqiop.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Response file contains: --template /tmp/tmp0lei4516/tmpn6ejqiop.template /tmp/tmp0lei4516/tmpoeyrs0h7.h 1291s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0lei4516/tmp4p3ycre4'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmp0lei4516/tmpoeyrs0h7.h 1291s # basename: tmpoeyrs0h7.h 1291s # enumeration-production 1291s # EnumName: GDBusServerFlags 1291s # enum_name: g_dbus_server_flags 1291s # ENUMNAME: G_DBUS_SERVER_FLAGS 1291s # ENUMSHORT: DBUS_SERVER_FLAGS 1291s # ENUMPREFIX: G 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: GDBusServerFlags 1291s # enum_name: g_dbus_server_flags 1291s # ENUMNAME: G_DBUS_SERVER_FLAGS 1291s # ENUMSHORT: DBUS_SERVER_FLAGS 1291s # ENUMPREFIX: G 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1291s # valuenick: user 1291s # valuenum: 4 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: GDBusServerFlags 1291s # enum_name: g_dbus_server_flags 1291s # ENUMNAME: G_DBUS_SERVER_FLAGS 1291s # ENUMSHORT: DBUS_SERVER_FLAGS 1291s # ENUMPREFIX: G 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s ok 23 __main__.TestRspMkenums.test_deprecated_in_for 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmpguja60ku 1291s # rspfile: True 1291s # /tmp/tmpguja60ku/tmpadmjbntj.h: 1291s # typedef enum { 1291s # 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) 1291s # } GDBusServerFlags; 1291s # 1291s # /tmp/tmpguja60ku/tmp5lelvrfw.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Response file contains: --template /tmp/tmpguja60ku/tmp5lelvrfw.template /tmp/tmpguja60ku/tmpadmjbntj.h 1291s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpguja60ku/tmplmyyhepc'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpguja60ku/tmpadmjbntj.h 1291s # basename: tmpadmjbntj.h 1291s # enumeration-production 1291s # EnumName: GDBusServerFlags 1291s # enum_name: g_dbus_server_flags 1291s # ENUMNAME: G_DBUS_SERVER_FLAGS 1291s # ENUMSHORT: DBUS_SERVER_FLAGS 1291s # ENUMPREFIX: G 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-header 1291s # EnumName: GDBusServerFlags 1291s # enum_name: g_dbus_server_flags 1291s # ENUMNAME: G_DBUS_SERVER_FLAGS 1291s # ENUMSHORT: DBUS_SERVER_FLAGS 1291s # ENUMPREFIX: G 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-production 1291s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1291s # valuenick: user 1291s # valuenum: 4 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # value-tail 1291s # EnumName: GDBusServerFlags 1291s # enum_name: g_dbus_server_flags 1291s # ENUMNAME: G_DBUS_SERVER_FLAGS 1291s # ENUMSHORT: DBUS_SERVER_FLAGS 1291s # ENUMPREFIX: G 1291s # enumsince: 1291s # type: flags 1291s # Type: Flags 1291s # TYPE: FLAGS 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s ok 24 __main__.TestRspMkenums.test_empty_header 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmpfrn781zc 1291s # rspfile: True 1291s # /tmp/tmpfrn781zc/tmptvwwxvhv.h: 1291s # /tmp/tmpfrn781zc/tmp_1thsgxa.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Response file contains: --template /tmp/tmpfrn781zc/tmp_1thsgxa.template /tmp/tmpfrn781zc/tmptvwwxvhv.h 1291s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfrn781zc/tmpoj4p0pld'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s ok 25 __main__.TestRspMkenums.test_empty_template 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmpeoi1cejv 1291s # rspfile: True 1291s # /tmp/tmpeoi1cejv/tmpg7m8pffo.template: 1291s # Response file contains: --template /tmp/tmpeoi1cejv/tmpg7m8pffo.template 1291s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpeoi1cejv/tmpxdlv3jmh'] 1291s # Return code: 0 1291s # Output: 1291s # /* 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. */ 1291s # 1291s # 1291s # /* Generated data ends here */ 1291s # Error: 1291s ok 26 __main__.TestRspMkenums.test_enum_name 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmp9rhrdt3b 1291s # rspfile: True 1291s # /tmp/tmp9rhrdt3b/tmpejh3facr.h: 1291s # typedef enum _SomeEnumIdentifier { 1291s # ENUM_VALUE 1291s # } SomeEnumIdentifier; 1291s # 1291s # /tmp/tmp9rhrdt3b/tmp0eadzrfc.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Response file contains: --template /tmp/tmp9rhrdt3b/tmp0eadzrfc.template /tmp/tmp9rhrdt3b/tmpejh3facr.h 1291s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9rhrdt3b/tmp5vmsblyf'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmp9rhrdt3b/tmpejh3facr.h 1291s # basename: tmpejh3facr.h 1291s # enumeration-production 1291s # EnumName: SomeEnumIdentifier 1291s # enum_name: some_enum_identifier 1291s # ENUMNAME: SOME_ENUM_IDENTIFIER 1291s # ENUMSHORT: ENUM_IDENTIFIER 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-header 1291s # EnumName: SomeEnumIdentifier 1291s # enum_name: some_enum_identifier 1291s # ENUMNAME: SOME_ENUM_IDENTIFIER 1291s # ENUMSHORT: ENUM_IDENTIFIER 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-production 1291s # VALUENAME: ENUM_VALUE 1291s # valuenick: value 1291s # valuenum: 0 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-tail 1291s # EnumName: SomeEnumIdentifier 1291s # enum_name: some_enum_identifier 1291s # ENUMNAME: SOME_ENUM_IDENTIFIER 1291s # ENUMSHORT: ENUM_IDENTIFIER 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s ok 27 __main__.TestRspMkenums.test_enum_private_public 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmpx9mv71lq 1291s # rspfile: True 1291s # /tmp/tmpx9mv71lq/tmptz78m_dw.h: 1291s # typedef enum { 1291s # ENUM_VALUE_PUBLIC1, 1291s # /*< private >*/ 1291s # ENUM_VALUE_PRIVATE, 1291s # } SomeEnumA 1291s # 1291s # /tmp/tmpx9mv71lq/tmpsbpx1mpz.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Response file contains: --template /tmp/tmpx9mv71lq/tmpsbpx1mpz.template /tmp/tmpx9mv71lq/tmptz78m_dw.h 1291s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpx9mv71lq/tmpl0gzad6h'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpx9mv71lq/tmptz78m_dw.h 1291s # basename: tmptz78m_dw.h 1291s # enumeration-production 1291s # EnumName: SomeEnumA 1291s # enum_name: some_enum_a 1291s # ENUMNAME: SOME_ENUM_A 1291s # ENUMSHORT: ENUM_A 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-header 1291s # EnumName: SomeEnumA 1291s # enum_name: some_enum_a 1291s # ENUMNAME: SOME_ENUM_A 1291s # ENUMSHORT: ENUM_A 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-production 1291s # VALUENAME: ENUM_VALUE_PUBLIC1 1291s # valuenick: public1 1291s # valuenum: 0 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-tail 1291s # EnumName: SomeEnumA 1291s # enum_name: some_enum_a 1291s # ENUMNAME: SOME_ENUM_A 1291s # ENUMSHORT: ENUM_A 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # 1291s # /tmp/tmpx9mv71lq/tmpffeh9jnt.h: 1291s # typedef enum { 1291s # /*< private >*/ 1291s # ENUM_VALUE_PRIVATE, 1291s # /*< public >*/ 1291s # ENUM_VALUE_PUBLIC2, 1291s # } SomeEnumB; 1291s # 1291s # /tmp/tmpx9mv71lq/tmpztjtfxys.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Response file contains: --template /tmp/tmpx9mv71lq/tmpztjtfxys.template /tmp/tmpx9mv71lq/tmpffeh9jnt.h 1291s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpx9mv71lq/tmp6n5dkjzv'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmpx9mv71lq/tmpffeh9jnt.h 1291s # basename: tmpffeh9jnt.h 1291s # enumeration-production 1291s # EnumName: SomeEnumB 1291s # enum_name: some_enum_b 1291s # ENUMNAME: SOME_ENUM_B 1291s # ENUMSHORT: ENUM_B 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-header 1291s # EnumName: SomeEnumB 1291s # enum_name: some_enum_b 1291s # ENUMNAME: SOME_ENUM_B 1291s # ENUMSHORT: ENUM_B 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-production 1291s # VALUENAME: ENUM_VALUE_PUBLIC2 1291s # valuenick: public2 1291s # valuenum: 1 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-tail 1291s # EnumName: SomeEnumB 1291s # enum_name: some_enum_b 1291s # ENUMNAME: SOME_ENUM_B 1291s # ENUMSHORT: ENUM_B 1291s # ENUMPREFIX: SOME 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s ok 28 __main__.TestRspMkenums.test_enum_symbolic_expression 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmp54l2oq5s 1291s # rspfile: True 1291s # /tmp/tmp54l2oq5s/tmpyrryd1d3.h: 1291s # typedef enum { 1291s # /*< private >*/ 1291s # ENUM_VALUE_PRIVATE = 5, 1291s # /*< public >*/ 1291s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1291s # } TestSymbolicEnum; 1291s # 1291s # /tmp/tmp54l2oq5s/tmppae5kc98.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN file-production ***/ 1291s # file-production 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-production ***/ 1291s # 1291s # /*** BEGIN enumeration-production ***/ 1291s # enumeration-production 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END enumeration-production ***/ 1291s # 1291s # /*** BEGIN value-header ***/ 1291s # value-header 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-header ***/ 1291s # 1291s # /*** BEGIN value-production ***/ 1291s # value-production 1291s # VALUENAME: @VALUENAME@ 1291s # valuenick: @valuenick@ 1291s # valuenum: @valuenum@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-production ***/ 1291s # 1291s # /*** BEGIN value-tail ***/ 1291s # value-tail 1291s # EnumName: @EnumName@ 1291s # enum_name: @enum_name@ 1291s # ENUMNAME: @ENUMNAME@ 1291s # ENUMSHORT: @ENUMSHORT@ 1291s # ENUMPREFIX: @ENUMPREFIX@ 1291s # enumsince: @enumsince@ 1291s # type: @type@ 1291s # Type: @Type@ 1291s # TYPE: @TYPE@ 1291s # /*** END value-tail ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # /*** END file-tail ***/ 1291s # 1291s # Response file contains: --template /tmp/tmp54l2oq5s/tmppae5kc98.template /tmp/tmp54l2oq5s/tmpyrryd1d3.h 1291s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp54l2oq5s/tmpoh96_f3n'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # file-production 1291s # filename: /tmp/tmp54l2oq5s/tmpyrryd1d3.h 1291s # basename: tmpyrryd1d3.h 1291s # enumeration-production 1291s # EnumName: TestSymbolicEnum 1291s # enum_name: test_symbolic_enum 1291s # ENUMNAME: TEST_SYMBOLIC_ENUM 1291s # ENUMSHORT: SYMBOLIC_ENUM 1291s # ENUMPREFIX: TEST 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-header 1291s # EnumName: TestSymbolicEnum 1291s # enum_name: test_symbolic_enum 1291s # ENUMNAME: TEST_SYMBOLIC_ENUM 1291s # ENUMSHORT: SYMBOLIC_ENUM 1291s # ENUMPREFIX: TEST 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-production 1291s # VALUENAME: ENUM_VALUE_PUBLIC 1291s # valuenick: public 1291s # valuenum: 7 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # value-tail 1291s # EnumName: TestSymbolicEnum 1291s # enum_name: test_symbolic_enum 1291s # ENUMNAME: TEST_SYMBOLIC_ENUM 1291s # ENUMSHORT: SYMBOLIC_ENUM 1291s # ENUMPREFIX: TEST 1291s # enumsince: 1291s # type: enum 1291s # Type: Enum 1291s # TYPE: ENUM 1291s # file-tail 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s ok 29 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1291s # glib-mkenums: /usr/bin/glib-mkenums 1291s # tmpdir: /tmp/tmp1rswrlpf 1291s # rspfile: True 1291s # /tmp/tmp1rswrlpf/tmpxls8ermq.template: 1291s # /*** BEGIN file-header ***/ 1291s # file-header 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-header ***/ 1291s # 1291s # /*** BEGIN comment ***/ 1291s # comment 1291s # comment: @comment@ 1291s # /*** END comment ***/ 1291s # 1291s # /*** BEGIN file-tail ***/ 1291s # file-tail 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # /*** END file-tail ***/ 1291s # Response file contains: --template /tmp/tmp1rswrlpf/tmpxls8ermq.template 1291s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1rswrlpf/tmp6epk_as4'] 1291s # Return code: 0 1291s # Output: 1291s # comment 1291s # 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. 1291s # 1291s # 1291s # file-header 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # file-tail 1291s # filename: @filename@ 1291s # basename: @basename@ 1291s # 1291s # comment 1291s # comment: Generated data ends here 1291s # Error: 1291s # WARNING: @filename@ used in file-header section. 1291s # WARNING: @basename@ used in file-header section. 1291s # WARNING: @filename@ used in file-tail section. 1291s # WARNING: @basename@ used in file-tail section. 1292s # Executing: glib/mkenums.py.test 1293s ok 30 __main__.TestRspMkenums.test_flag_enum_annotation 1293s # glib-mkenums: /usr/bin/glib-mkenums 1293s # tmpdir: /tmp/tmpsa2xlejq 1293s # rspfile: True 1293s # /tmp/tmpsa2xlejq/tmpqxm_yagd.h: 1293s # typedef enum { 1293s # SOME_FLAGS_ONE = (1 << 1), 1293s # } G_GNUC_FLAG_ENUM SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmpk6bnq_9y.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmpk6bnq_9y.template /tmp/tmpsa2xlejq/tmpqxm_yagd.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpc2wkw0ex'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmpqxm_yagd.h 1293s # basename: tmpqxm_yagd.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_ONE 1293s # valuenick: one 1293s # valuenum: 2 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmpe1my6g6l.h: 1293s # typedef enum G_GNUC_FLAG_ENUM { 1293s # SOME_FLAGS_TWO = (1 << 2), 1293s # } SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmph1minxft.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmph1minxft.template /tmp/tmpsa2xlejq/tmpe1my6g6l.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpw6zfhfm7'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmpe1my6g6l.h 1293s # basename: tmpe1my6g6l.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_TWO 1293s # valuenick: two 1293s # valuenum: 4 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmpz24s331q.h: 1293s # typedef enum G_GNUC_FLAG_ENUM _SomeFlags { 1293s # SOME_FLAGS_THREE = (1 << 3), 1293s # } SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmp3ujo_wqr.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmp3ujo_wqr.template /tmp/tmpsa2xlejq/tmpz24s331q.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpg_fdqtpe'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmpz24s331q.h 1293s # basename: tmpz24s331q.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_THREE 1293s # valuenick: three 1293s # valuenum: 8 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmpl282jopm.h: 1293s # typedef enum { 1293s # SOME_FLAGS_ONE = (1 << 1), 1293s # } __attribute__((flag_enum)) SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmpknvqmfmp.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmpknvqmfmp.template /tmp/tmpsa2xlejq/tmpl282jopm.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpf71r0udz'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmpl282jopm.h 1293s # basename: tmpl282jopm.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_ONE 1293s # valuenick: one 1293s # valuenum: 2 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmpeiqvdxcj.h: 1293s # typedef enum __attribute__((flag_enum)) { 1293s # SOME_FLAGS_TWO = (1 << 2), 1293s # } SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmpjayev1c9.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmpjayev1c9.template /tmp/tmpsa2xlejq/tmpeiqvdxcj.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpxdq1t7i5'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmpeiqvdxcj.h 1293s # basename: tmpeiqvdxcj.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_TWO 1293s # valuenick: two 1293s # valuenum: 4 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmp7jva5dri.h: 1293s # typedef enum __attribute__((flag_enum)) _SomeFlags { 1293s # SOME_FLAGS_THREE = (1 << 3), 1293s # } SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmpdv0_1460.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmpdv0_1460.template /tmp/tmpsa2xlejq/tmp7jva5dri.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpukavitvh'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmp7jva5dri.h 1293s # basename: tmp7jva5dri.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_THREE 1293s # valuenick: three 1293s # valuenum: 8 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmpm5xidmdv.h: 1293s # typedef enum { 1293s # SOME_FLAGS_ONE = (1 << 1), 1293s # } __attribute__((__flag_enum__)) SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmpxf7gyr6n.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmpxf7gyr6n.template /tmp/tmpsa2xlejq/tmpm5xidmdv.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmptz6unufo'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmpm5xidmdv.h 1293s # basename: tmpm5xidmdv.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_ONE 1293s # valuenick: one 1293s # valuenum: 2 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmp25ni7tsu.h: 1293s # typedef enum __attribute__((__flag_enum__)) { 1293s # SOME_FLAGS_TWO = (1 << 2), 1293s # } SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmp1et_y609.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmp1et_y609.template /tmp/tmpsa2xlejq/tmp25ni7tsu.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpzhfez7w_'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmp25ni7tsu.h 1293s # basename: tmp25ni7tsu.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_TWO 1293s # valuenick: two 1293s # valuenum: 4 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmp05i_4s7c.h: 1293s # typedef enum __attribute__((__flag_enum__)) _SomeFlags { 1293s # SOME_FLAGS_THREE = (1 << 3), 1293s # } SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmpf70yvl2v.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmpf70yvl2v.template /tmp/tmpsa2xlejq/tmp05i_4s7c.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpdvgf5upr'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmp05i_4s7c.h 1293s # basename: tmp05i_4s7c.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_THREE 1293s # valuenick: three 1293s # valuenum: 8 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmp7o0mcbnk.h: 1293s # typedef enum { 1293s # SOME_FLAGS_ONE = (1 << 1), 1293s # } __attribute__((flag_enum,deprecated)) SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmpbdhydqqs.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmpbdhydqqs.template /tmp/tmpsa2xlejq/tmp7o0mcbnk.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmp2fg01rg_'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmp7o0mcbnk.h 1293s # basename: tmp7o0mcbnk.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_ONE 1293s # valuenick: one 1293s # valuenum: 2 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmpj7uzeqcx.h: 1293s # typedef enum __attribute__((flag_enum,deprecated)) { 1293s # SOME_FLAGS_TWO = (1 << 2), 1293s # } SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmpqdvw420o.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmpqdvw420o.template /tmp/tmpsa2xlejq/tmpj7uzeqcx.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpco3ve496'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmpj7uzeqcx.h 1293s # basename: tmpj7uzeqcx.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_TWO 1293s # valuenick: two 1293s # valuenum: 4 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmp6fyx_2wo.h: 1293s # typedef enum __attribute__((flag_enum,deprecated)) _SomeFlags { 1293s # SOME_FLAGS_THREE = (1 << 3), 1293s # } SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmprggrptqo.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmprggrptqo.template /tmp/tmpsa2xlejq/tmp6fyx_2wo.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpegxziwh2'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmp6fyx_2wo.h 1293s # basename: tmp6fyx_2wo.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_THREE 1293s # valuenick: three 1293s # valuenum: 8 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmpt7_gb0k0.h: 1293s # typedef enum { 1293s # SOME_FLAGS_ONE = (1 << 1), 1293s # } __attribute__((deprecated,__flag_enum__)) SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmp2yplk_5a.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmp2yplk_5a.template /tmp/tmpsa2xlejq/tmpt7_gb0k0.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpalwo5wur'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmpt7_gb0k0.h 1293s # basename: tmpt7_gb0k0.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_ONE 1293s # valuenick: one 1293s # valuenum: 2 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmpk_gir2ht.h: 1293s # typedef enum __attribute__((deprecated,__flag_enum__)) { 1293s # SOME_FLAGS_TWO = (1 << 2), 1293s # } SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmpsrblxmvz.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmpsrblxmvz.template /tmp/tmpsa2xlejq/tmpk_gir2ht.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmp1yuw4geu'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmpk_gir2ht.h 1293s # basename: tmpk_gir2ht.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_TWO 1293s # valuenick: two 1293s # valuenum: 4 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmp8i4pnrue.h: 1293s # typedef enum __attribute__((deprecated,__flag_enum__)) _SomeFlags { 1293s # SOME_FLAGS_THREE = (1 << 3), 1293s # } SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmpldspctth.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmpldspctth.template /tmp/tmpsa2xlejq/tmp8i4pnrue.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpomrf9ybv'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmp8i4pnrue.h 1293s # basename: tmp8i4pnrue.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_THREE 1293s # valuenick: three 1293s # valuenum: 8 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmpdvkew0w6.h: 1293s # typedef enum { 1293s # SOME_FLAGS_ONE = (1 << 1), 1293s # } [[gnu::flag_enum]] SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmprgggzeha.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmprgggzeha.template /tmp/tmpsa2xlejq/tmpdvkew0w6.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpzmyi2ydy'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmpdvkew0w6.h 1293s # basename: tmpdvkew0w6.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_ONE 1293s # valuenick: one 1293s # valuenum: 2 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmpnc8qzwjk.h: 1293s # typedef enum [[gnu::flag_enum]] { 1293s # SOME_FLAGS_TWO = (1 << 2), 1293s # } SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmp4lv1i18d.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmp4lv1i18d.template /tmp/tmpsa2xlejq/tmpnc8qzwjk.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpdvajfm7o'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmpnc8qzwjk.h 1293s # basename: tmpnc8qzwjk.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_TWO 1293s # valuenick: two 1293s # valuenum: 4 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmpyvf1cfjp.h: 1293s # typedef enum [[gnu::flag_enum]] _SomeFlags { 1293s # SOME_FLAGS_THREE = (1 << 3), 1293s # } SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmpgd_sc2eb.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmpgd_sc2eb.template /tmp/tmpsa2xlejq/tmpyvf1cfjp.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmp3mcymy_q'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmpyvf1cfjp.h 1293s # basename: tmpyvf1cfjp.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_THREE 1293s # valuenick: three 1293s # valuenum: 8 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmphh_p7x7r.h: 1293s # typedef enum { 1293s # SOME_FLAGS_ONE = (1 << 1), 1293s # } [[clang::flag_enum]] SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmp9b8zxh4s.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmp9b8zxh4s.template /tmp/tmpsa2xlejq/tmphh_p7x7r.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpw7b49qee'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmphh_p7x7r.h 1293s # basename: tmphh_p7x7r.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_ONE 1293s # valuenick: one 1293s # valuenum: 2 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmpslfu5ars.h: 1293s # typedef enum [[clang::flag_enum]] { 1293s # SOME_FLAGS_TWO = (1 << 2), 1293s # } SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmp_xoytbh4.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmp_xoytbh4.template /tmp/tmpsa2xlejq/tmpslfu5ars.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpdtoam_8o'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmpslfu5ars.h 1293s # basename: tmpslfu5ars.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_TWO 1293s # valuenick: two 1293s # valuenum: 4 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmp8v0o9u4r.h: 1293s # typedef enum [[clang::flag_enum]] _SomeFlags { 1293s # SOME_FLAGS_THREE = (1 << 3), 1293s # } SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmp0xjt93nh.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmp0xjt93nh.template /tmp/tmpsa2xlejq/tmp8v0o9u4r.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpim0a0s4i'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmp8v0o9u4r.h 1293s # basename: tmp8v0o9u4r.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_THREE 1293s # valuenick: three 1293s # valuenum: 8 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmpbqc_li6v.h: 1293s # typedef enum { 1293s # SOME_FLAGS_ONE = (1 << 1), 1293s # } [[nodiscard,gnu::flag_enum]] SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmp3843_1fr.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmp3843_1fr.template /tmp/tmpsa2xlejq/tmpbqc_li6v.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmp6fivsajc'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmpbqc_li6v.h 1293s # basename: tmpbqc_li6v.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_ONE 1293s # valuenick: one 1293s # valuenum: 2 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmp9bef44nv.h: 1293s # typedef enum [[nodiscard,gnu::flag_enum]] { 1293s # SOME_FLAGS_TWO = (1 << 2), 1293s # } SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmpn002okdn.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmpn002okdn.template /tmp/tmpsa2xlejq/tmp9bef44nv.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpw2oqdzda'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmp9bef44nv.h 1293s # basename: tmp9bef44nv.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_TWO 1293s # valuenick: two 1293s # valuenum: 4 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmpdxfcyk4i.h: 1293s # typedef enum [[nodiscard,gnu::flag_enum]] _SomeFlags { 1293s # SOME_FLAGS_THREE = (1 << 3), 1293s # } SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmp0sy2s8t4.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmp0sy2s8t4.template /tmp/tmpsa2xlejq/tmpdxfcyk4i.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpb68kvom0'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmpdxfcyk4i.h 1293s # basename: tmpdxfcyk4i.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_THREE 1293s # valuenick: three 1293s # valuenum: 8 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmpl6x4bovm.h: 1293s # typedef enum { 1293s # SOME_FLAGS_ONE = (1 << 1), 1293s # } [[clang::flag_enum,nodiscard]] SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmpm5ztwhlv.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmpm5ztwhlv.template /tmp/tmpsa2xlejq/tmpl6x4bovm.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmp9sq24et3'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmpl6x4bovm.h 1293s # basename: tmpl6x4bovm.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_ONE 1293s # valuenick: one 1293s # valuenum: 2 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmp29r588xy.h: 1293s # typedef enum [[clang::flag_enum,nodiscard]] { 1293s # SOME_FLAGS_TWO = (1 << 2), 1293s # } SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmp_7bp9w2s.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmp_7bp9w2s.template /tmp/tmpsa2xlejq/tmp29r588xy.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpxoye89kh'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmp29r588xy.h 1293s # basename: tmp29r588xy.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_TWO 1293s # valuenick: two 1293s # valuenum: 4 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # 1293s # /tmp/tmpsa2xlejq/tmpgqpk0_88.h: 1293s # typedef enum [[clang::flag_enum,nodiscard]] _SomeFlags { 1293s # SOME_FLAGS_THREE = (1 << 3), 1293s # } SomeFlags; 1293s # 1293s # /tmp/tmpsa2xlejq/tmp5yyq359n.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpsa2xlejq/tmp5yyq359n.template /tmp/tmpsa2xlejq/tmpgqpk0_88.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsa2xlejq/tmpcbtdzwbt'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpsa2xlejq/tmpgqpk0_88.h 1293s # basename: tmpgqpk0_88.h 1293s # enumeration-production 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-header 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-production 1293s # VALUENAME: SOME_FLAGS_THREE 1293s # valuenick: three 1293s # valuenum: 8 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # value-tail 1293s # EnumName: SomeFlags 1293s # enum_name: some_flags 1293s # ENUMNAME: SOME_FLAGS 1293s # ENUMSHORT: FLAGS 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: flags 1293s # Type: Flags 1293s # TYPE: FLAGS 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s ok 31 __main__.TestRspMkenums.test_help 1293s # glib-mkenums: /usr/bin/glib-mkenums 1293s # tmpdir: /tmp/tmpft3_mbqm 1293s # rspfile: True 1293s # Response file contains: --help 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpft3_mbqm/tmprdkx4c6q'] 1293s # Return code: 0 1293s # Output: 1293s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1293s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1293s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1293s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1293s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1293s # [--output OUTPUT] [--version] 1293s # [args ...] 1293s # 1293s # positional arguments: 1293s # args One or more input files, or a single argument 1293s # @rspfile_path pointing to a file that contains the 1293s # actual arguments 1293s # 1293s # options: 1293s # -h, --help show this help message and exit 1293s # --identifier-prefix IDPREFIX 1293s # Identifier prefix 1293s # --symbol-prefix SYMPREFIX 1293s # Symbol prefix 1293s # --fhead FHEAD Output file header 1293s # --ftail FTAIL Output file footer 1293s # --fprod FPROD Put out TEXT every time a new input file is being 1293s # processed. 1293s # --eprod EPROD Per enum text, produced prior to value iterations 1293s # --vhead VHEAD Value header, produced before iterating over enum 1293s # values 1293s # --vprod VPROD Value text, produced for each enum value. 1293s # --vtail VTAIL Value tail, produced after iterating over enum values 1293s # --comments COMMENT_TMPL 1293s # Comment structure 1293s # --template TEMPLATE Template file 1293s # --output OUTPUT 1293s # --version, -v Print version information 1293s # 1293s # Production text substitutions: 1293s # @EnumName@ PrefixTheXEnum 1293s # @enum_name@ prefix_the_xenum 1293s # @ENUMNAME@ PREFIX_THE_XENUM 1293s # @ENUMSHORT@ THE_XENUM 1293s # @ENUMPREFIX@ PREFIX 1293s # @enumsince@ the user-provided since value given 1293s # @VALUENAME@ PREFIX_THE_XVALUE 1293s # @valuenick@ the-xvalue 1293s # @valuenum@ the integer value (limited support, Since: 2.26) 1293s # @type@ either enum or flags 1293s # @Type@ either Enum or Flags 1293s # @TYPE@ either ENUM or FLAGS 1293s # @filename@ name of current input file 1293s # @basename@ base name of the current input file (Since: 2.22) 1293s # Error: 1293s ok 32 __main__.TestRspMkenums.test_no_args 1293s # glib-mkenums: /usr/bin/glib-mkenums 1293s # tmpdir: /tmp/tmpgx3q28ud 1293s # rspfile: True 1293s # Response file contains: 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgx3q28ud/tmpuo2fd3r6'] 1293s # Return code: 0 1293s # Output: 1293s # /* 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. */ 1293s # 1293s # 1293s # /* Generated data ends here */ 1293s # Error: 1293s ok 33 __main__.TestRspMkenums.test_no_headers 1293s # glib-mkenums: /usr/bin/glib-mkenums 1293s # tmpdir: /tmp/tmp2ik02qca 1293s # rspfile: True 1293s # /tmp/tmp2ik02qca/tmpmcbmsenm.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmp2ik02qca/tmpmcbmsenm.template 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2ik02qca/tmpkpngxfz4'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s ok 34 __main__.TestRspMkenums.test_no_nick 1293s # glib-mkenums: /usr/bin/glib-mkenums 1293s # tmpdir: /tmp/tmpvt3kwyyp 1293s # rspfile: True 1293s # /tmp/tmpvt3kwyyp/tmpsx5f32gx.h: 1293s # typedef enum { 1293s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1293s # } GeglSamplerType; 1293s # 1293s # /tmp/tmpvt3kwyyp/tmpzws952em.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpvt3kwyyp/tmpzws952em.template /tmp/tmpvt3kwyyp/tmpsx5f32gx.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvt3kwyyp/tmpungy44p9'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpvt3kwyyp/tmpsx5f32gx.h 1293s # basename: tmpsx5f32gx.h 1293s # enumeration-production 1293s # EnumName: GeglSamplerType 1293s # enum_name: gegl_sampler_type 1293s # ENUMNAME: GEGL_SAMPLER_TYPE 1293s # ENUMSHORT: SAMPLER_TYPE 1293s # ENUMPREFIX: GEGL 1293s # enumsince: 1293s # type: enum 1293s # Type: Enum 1293s # TYPE: ENUM 1293s # value-header 1293s # EnumName: GeglSamplerType 1293s # enum_name: gegl_sampler_type 1293s # ENUMNAME: GEGL_SAMPLER_TYPE 1293s # ENUMSHORT: SAMPLER_TYPE 1293s # ENUMPREFIX: GEGL 1293s # enumsince: 1293s # type: enum 1293s # Type: Enum 1293s # TYPE: ENUM 1293s # value-production 1293s # VALUENAME: GEGL_SAMPLER_NEAREST 1293s # valuenick: nearest 1293s # valuenum: 0 1293s # type: enum 1293s # Type: Enum 1293s # TYPE: ENUM 1293s # value-tail 1293s # EnumName: GeglSamplerType 1293s # enum_name: gegl_sampler_type 1293s # ENUMNAME: GEGL_SAMPLER_TYPE 1293s # ENUMSHORT: SAMPLER_TYPE 1293s # ENUMPREFIX: GEGL 1293s # enumsince: 1293s # type: enum 1293s # Type: Enum 1293s # TYPE: ENUM 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s ok 35 __main__.TestRspMkenums.test_non_utf8_encoding 1293s # glib-mkenums: /usr/bin/glib-mkenums 1293s # tmpdir: /tmp/tmpkfcj1zhy 1293s # rspfile: True 1293s # /tmp/tmpkfcj1zhy/tmpv0e_moaw.h: 1293s # /* Copyright © La Peña */ 1293s # typedef enum { 1293s # ENUM_VALUE 1293s # } SomeEnumIdentifier; 1293s # 1293s # /tmp/tmpkfcj1zhy/tmpcgczked3.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpkfcj1zhy/tmpcgczked3.template /tmp/tmpkfcj1zhy/tmpv0e_moaw.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkfcj1zhy/tmpve2n0lw9'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpkfcj1zhy/tmpv0e_moaw.h 1293s # basename: tmpv0e_moaw.h 1293s # enumeration-production 1293s # EnumName: SomeEnumIdentifier 1293s # enum_name: some_enum_identifier 1293s # ENUMNAME: SOME_ENUM_IDENTIFIER 1293s # ENUMSHORT: ENUM_IDENTIFIER 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: enum 1293s # Type: Enum 1293s # TYPE: ENUM 1293s # value-header 1293s # EnumName: SomeEnumIdentifier 1293s # enum_name: some_enum_identifier 1293s # ENUMNAME: SOME_ENUM_IDENTIFIER 1293s # ENUMSHORT: ENUM_IDENTIFIER 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: enum 1293s # Type: Enum 1293s # TYPE: ENUM 1293s # value-production 1293s # VALUENAME: ENUM_VALUE 1293s # valuenick: value 1293s # valuenum: 0 1293s # type: enum 1293s # Type: Enum 1293s # TYPE: ENUM 1293s # value-tail 1293s # EnumName: SomeEnumIdentifier 1293s # enum_name: some_enum_identifier 1293s # ENUMNAME: SOME_ENUM_IDENTIFIER 1293s # ENUMSHORT: ENUM_IDENTIFIER 1293s # ENUMPREFIX: SOME 1293s # enumsince: 1293s # type: enum 1293s # Type: Enum 1293s # TYPE: ENUM 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 1293s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 1293s ok 36 __main__.TestRspMkenums.test_reproducible 1293s # glib-mkenums: /usr/bin/glib-mkenums 1293s # tmpdir: /tmp/tmpiv5jk57m 1293s # rspfile: True 1293s # /tmp/tmpiv5jk57m/tmpjebxsyts.template: template 1293s # Response file contains: --template /tmp/tmpiv5jk57m/tmpjebxsyts.template /tmp/tmpiv5jk57m/tmp9vdh8tgk1.h /tmp/tmpiv5jk57m/tmp2qf_5p6h2.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpiv5jk57m/tmp8pij6l6y'] 1293s # Return code: 0 1293s # Output: 1293s # /* 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. */ 1293s # 1293s # 1293s # /* Generated data ends here */ 1293s # Error: 1293s # 1293s # /tmp/tmpiv5jk57m/tmpuqlhmiqc.template: template 1293s # Response file contains: --template /tmp/tmpiv5jk57m/tmpuqlhmiqc.template /tmp/tmpiv5jk57m/tmp2qf_5p6h2.h /tmp/tmpiv5jk57m/tmp9vdh8tgk1.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpiv5jk57m/tmpi7i7n7nj'] 1293s # Return code: 0 1293s # Output: 1293s # /* 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. */ 1293s # 1293s # 1293s # /* Generated data ends here */ 1293s # Error: 1293s ok 37 __main__.TestRspMkenums.test_since 1293s # glib-mkenums: /usr/bin/glib-mkenums 1293s # tmpdir: /tmp/tmpih4_ewu4 1293s # rspfile: True 1293s # /tmp/tmpih4_ewu4/tmplj9ps77s.h: 1293s # typedef enum { /*< since=1.0 >*/ 1293s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1293s # } QmiWmsMessageProtocol; 1293s # 1293s # /tmp/tmpih4_ewu4/tmplvnd5jyz.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpih4_ewu4/tmplvnd5jyz.template /tmp/tmpih4_ewu4/tmplj9ps77s.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpih4_ewu4/tmpjn3jl94i'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpih4_ewu4/tmplj9ps77s.h 1293s # basename: tmplj9ps77s.h 1293s # enumeration-production 1293s # EnumName: QmiWmsMessageProtocol 1293s # enum_name: qmi_wms_message_protocol 1293s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1293s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1293s # ENUMPREFIX: QMI 1293s # enumsince: 1.0 1293s # type: enum 1293s # Type: Enum 1293s # TYPE: ENUM 1293s # value-header 1293s # EnumName: QmiWmsMessageProtocol 1293s # enum_name: qmi_wms_message_protocol 1293s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1293s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1293s # ENUMPREFIX: QMI 1293s # enumsince: 1.0 1293s # type: enum 1293s # Type: Enum 1293s # TYPE: ENUM 1293s # value-production 1293s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1293s # valuenick: cdma 1293s # valuenum: 0 1293s # type: enum 1293s # Type: Enum 1293s # TYPE: ENUM 1293s # value-tail 1293s # EnumName: QmiWmsMessageProtocol 1293s # enum_name: qmi_wms_message_protocol 1293s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1293s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1293s # ENUMPREFIX: QMI 1293s # enumsince: 1.0 1293s # type: enum 1293s # Type: Enum 1293s # TYPE: ENUM 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s ok 38 __main__.TestRspMkenums.test_with_double_quotes 1293s # glib-mkenums: /usr/bin/glib-mkenums 1293s # tmpdir: /tmp/tmpy7pk5lxi 1293s # rspfile: True 1293s # /tmp/tmpy7pk5lxi/tmpg4eagcxr.h: 1293s # typedef enum { 1293s # FOO_VALUE /*< nick="eek, a comma" >*/ 1293s # } Foo; 1293s # 1293s # /tmp/tmpy7pk5lxi/tmpo50pdm9q.template: 1293s # /*** BEGIN file-header ***/ 1293s # file-header 1293s # /*** END file-header ***/ 1293s # 1293s # /*** BEGIN file-production ***/ 1293s # file-production 1293s # filename: @filename@ 1293s # basename: @basename@ 1293s # /*** END file-production ***/ 1293s # 1293s # /*** BEGIN enumeration-production ***/ 1293s # enumeration-production 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END enumeration-production ***/ 1293s # 1293s # /*** BEGIN value-header ***/ 1293s # value-header 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-header ***/ 1293s # 1293s # /*** BEGIN value-production ***/ 1293s # value-production 1293s # VALUENAME: @VALUENAME@ 1293s # valuenick: @valuenick@ 1293s # valuenum: @valuenum@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-production ***/ 1293s # 1293s # /*** BEGIN value-tail ***/ 1293s # value-tail 1293s # EnumName: @EnumName@ 1293s # enum_name: @enum_name@ 1293s # ENUMNAME: @ENUMNAME@ 1293s # ENUMSHORT: @ENUMSHORT@ 1293s # ENUMPREFIX: @ENUMPREFIX@ 1293s # enumsince: @enumsince@ 1293s # type: @type@ 1293s # Type: @Type@ 1293s # TYPE: @TYPE@ 1293s # /*** END value-tail ***/ 1293s # 1293s # /*** BEGIN comment ***/ 1293s # comment 1293s # comment: @comment@ 1293s # /*** END comment ***/ 1293s # 1293s # /*** BEGIN file-tail ***/ 1293s # file-tail 1293s # /*** END file-tail ***/ 1293s # 1293s # Response file contains: --template /tmp/tmpy7pk5lxi/tmpo50pdm9q.template /tmp/tmpy7pk5lxi/tmpg4eagcxr.h 1293s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpy7pk5lxi/tmpi45jb348'] 1293s # Return code: 0 1293s # Output: 1293s # comment 1293s # 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. 1293s # 1293s # 1293s # file-header 1293s # file-production 1293s # filename: /tmp/tmpy7pk5lxi/tmpg4eagcxr.h 1293s # basename: tmpg4eagcxr.h 1293s # enumeration-production 1293s # EnumName: Foo 1293s # enum_name: foo_ 1293s # ENUMNAME: FOO_ 1293s # ENUMSHORT: 1293s # ENUMPREFIX: FOO 1293s # enumsince: 1293s # type: enum 1293s # Type: Enum 1293s # TYPE: ENUM 1293s # value-header 1293s # EnumName: Foo 1293s # enum_name: foo_ 1293s # ENUMNAME: FOO_ 1293s # ENUMSHORT: 1293s # ENUMPREFIX: FOO 1293s # enumsince: 1293s # type: enum 1293s # Type: Enum 1293s # TYPE: ENUM 1293s # value-production 1293s # VALUENAME: FOO_VALUE 1293s # valuenick: eek, a comma 1293s # valuenum: 0 1293s # type: enum 1293s # Type: Enum 1293s # TYPE: ENUM 1293s # value-tail 1293s # EnumName: Foo 1293s # enum_name: foo_ 1293s # ENUMNAME: FOO_ 1293s # ENUMSHORT: 1293s # ENUMPREFIX: FOO 1293s # enumsince: 1293s # type: enum 1293s # Type: Enum 1293s # TYPE: ENUM 1293s # file-tail 1293s # 1293s # comment 1293s # comment: Generated data ends here 1293s # Error: 1293s 1..38 1293s ok - glib/mkenums.py.test 1293s # Running test: glib/gvariant.test 1293s TAP version 14 1293s # random seed: R02S164c02540a4d46389b59817a138227fb 1293s 1..70 1293s # Start of gvariant tests 1293s ok 1 /gvariant/type 1293s ok 2 /gvariant/typeinfo 1293s ok 3 /gvariant/string 1293s ok 4 /gvariant/utf8 1293s ok 5 /gvariant/utf8-new-strings 1293s ok 6 /gvariant/containers 1293s ok 7 /gvariant/format-strings 1293s ok 8 /gvariant/invalid-varargs 1293s ok 9 /gvariant/varargs 1293s ok 10 /gvariant/valist 1293s ok 11 /gvariant/builder-memory 1293s ok 12 /gvariant/hashing 1293s ok 13 /gvariant/byteswap 1297s # Executing: glib/gvariant.test 1300s ok 14 /gvariant/parser 1300s # slow test /gvariant/parser executed in 6.52 secs 1300s ok 15 /gvariant/parse-failures 1300s ok 16 /gvariant/parse-positional 1300s ok 17 /gvariant/floating 1300s ok 18 /gvariant/bytestring 1300s ok 19 /gvariant/bytestring-iteration 1300s ok 20 /gvariant/lookup-value 1300s ok 21 /gvariant/lookup 1300s ok 22 /gvariant/compare 1300s ok 23 /gvariant/equal 1300s ok 24 /gvariant/fixed-array 1300s ok 25 /gvariant/check-format-string 1300s ok 26 /gvariant/checksum-basic 1300s ok 27 /gvariant/checksum-nested 1300s ok 28 /gvariant/gbytes 1300s ok 29 /gvariant/print-context 1300s ok 30 /gvariant/error-quark 1300s ok 31 /gvariant/stack-builder-init 1300s ok 32 /gvariant/stack-builder-init-static 1300s ok 33 /gvariant/stack-builder-init-unset 1300s ok 34 /gvariant/stack-dict-init 1300s ok 35 /gvariant/unaligned-construction 1300s # Start of type tests 1300s # Start of string-scan tests 1300s # Start of recursion tests 1300s ok 36 /gvariant/type/string-scan/recursion/tuple 1300s ok 37 /gvariant/type/string-scan/recursion/array 1300s # End of recursion tests 1300s # End of string-scan tests 1300s # End of type tests 1300s # Start of serialiser tests 1300s ok 38 /gvariant/serialiser/maybe 1300s ok 39 /gvariant/serialiser/array 1300s ok 40 /gvariant/serialiser/tuple 1300s ok 41 /gvariant/serialiser/variant 1300s ok 42 /gvariant/serialiser/strings 1300s ok 43 /gvariant/serialiser/byteswap 1300s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1300s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1300s ok 44 /gvariant/serialiser/children 1300s # Start of byteswap tests 1300s ok 45 /gvariant/serialiser/byteswap/zero-sized 1300s # End of byteswap tests 1300s # Start of fuzz tests 1301s ok 46 /gvariant/serialiser/fuzz/1% 1301s ok 47 /gvariant/serialiser/fuzz/5% 1301s ok 48 /gvariant/serialiser/fuzz/9% 1301s ok 49 /gvariant/serialiser/fuzz/13% 1302s ok 50 /gvariant/serialiser/fuzz/17% 1302s # End of fuzz tests 1302s # End of serialiser tests 1302s # Start of utf8 tests 1302s # Start of subprocess tests 1302s # End of subprocess tests 1302s # End of utf8 tests 1302s # Start of varargs tests 1302s # Start of subprocess tests 1302s # End of subprocess tests 1302s # End of varargs tests 1302s # Start of byteswap tests 1302s # /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. 1302s ok 51 /gvariant/byteswap/non-normal-non-aligned 1302s # End of byteswap tests 1302s # Start of parser tests 1302s ok 52 /gvariant/parser/integer-bounds 1302s ok 53 /gvariant/parser/recursion 1302s # Start of recursion tests 1302s ok 54 /gvariant/parser/recursion/typedecls 1302s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1302s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1302s # Text form 0: @mmmu 5 1302s # Text form 1: @mmmas ['hello'] 1302s # Text form 2: @mmmu just just nothing 1302s # Text form 3: @mmmas just just nothing 1302s # Text form 4: @mmmu just nothing 1302s # Text form 5: @mmmas just nothing 1302s # Text form 6: @mmmu nothing 1302s # Text form 7: @mmmas nothing 1302s ok 55 /gvariant/parser/recursion/maybes 1302s # End of recursion tests 1302s # End of parser tests 1302s # Start of parse tests 1302s # Start of subprocess tests 1302s # End of subprocess tests 1302s # End of parse tests 1302s # Start of normal-checking tests 1302s ok 56 /gvariant/normal-checking/tuples 1302s ok 57 /gvariant/normal-checking/array-offsets 1302s ok 58 /gvariant/normal-checking/array-offsets2 1302s ok 59 /gvariant/normal-checking/tuple-offsets 1302s ok 60 /gvariant/normal-checking/tuple-offsets2 1302s ok 61 /gvariant/normal-checking/tuple-offsets3 1302s ok 62 /gvariant/normal-checking/tuple-offsets4 1302s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1302s ok 63 /gvariant/normal-checking/tuple-offsets5 1302s ok 64 /gvariant/normal-checking/empty-object-path 1302s # Start of array-offsets tests 1302s ok 65 /gvariant/normal-checking/array-offsets/overlapped 1302s ok 66 /gvariant/normal-checking/array-offsets/minimal-sized 1302s # End of array-offsets tests 1302s # Start of tuple-offsets tests 1302s ok 67 /gvariant/normal-checking/tuple-offsets/minimal-sized 1302s # End of tuple-offsets tests 1302s # End of normal-checking tests 1302s # Start of recursion-limits tests 1302s ok 68 /gvariant/recursion-limits/variant-in-variant 1302s ok 69 /gvariant/recursion-limits/array-in-variant 1302s # End of recursion-limits tests 1302s # End of gvariant tests 1302s # Start of gvarianttype tests 1302s ok 70 /gvarianttype/hash 1302s # End of gvarianttype tests 1302s ok - glib/gvariant.test 1302s # Running test: glib/signal-handler.test 1302s TAP version 14 1302s # random seed: R02S17c38753f55bae3eea91117f2e05de71 1302s 1..7 1302s # Start of signal tests 1302s # Start of handler tests 1302s ok - glib/signal-handler.test 1302s # Running test: glib/trash.test 1302s ok - glib/trash.test 1302s # Running test: glib/gthash.test 1302s ok - glib/gthash.test 1302s # Running test: glib/defaultiface.test 1302s ok - glib/defaultiface.test 1302s # Running test: glib/pollable.test 1302s # min perf: connected 1 handlers in 0.000 seconds 1302s ok 1 /signal/handler/connect-many 1302s # min perf: disconnected 1 handlers in 0.000 seconds 1302s ok 2 /signal/handler/disconnect-many-ordered 1302s # min perf: disconnected 1 handlers in 0.000 seconds 1302s ok 3 /signal/handler/disconnect-many-inverse 1302s # min perf: disconnected 1 handlers in 0.000 seconds 1302s ok 4 /signal/handler/disconnect-many-random 1302s # min perf: disconnected 1 handlers in 0.000 seconds 1302s ok 5 /signal/handler/disconnect-2-signals 1302s # min perf: disconnected 1 handlers in 0.000 seconds 1302s ok 6 /signal/handler/disconnect-2-objects 1302s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1302s ok 7 /signal/handler/block-many 1302s # End of handler tests 1302s # End of signal tests 1302s TAP version 14 1302s # random seed: R02S0af8cb4d604649b5b48a29e8d5a0042e 1302s 1..3 1302s # Start of trash tests 1302s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1302s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1302s # File: /tmp/test-trash7K0OK3 (parent st_dev: 64769) 1302s # Home: /home/ubuntu (st_dev: 64769) 1302s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1302s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1302s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1302s ok 3 /trash/long-filename 1302s # End of trash tests 1302s TAP version 14 1302s # random seed: R02Se817db4be2cffb89f1160a9ac341b0d5 1302s 1..1 1302s # Start of gthash tests 1302s ok 1 /gthash/build-retrieve 1302s # End of gthash tests 1302s TAP version 14 1302s # random seed: R02Sfc39f8fb17a4ae90ad0f781df9912f0e 1302s 1..2 1302s # Start of gobject tests 1302s ok 1 /gobject/static-iface 1302s ok 2 /gobject/dynamic-iface 1302s # End of gobject tests 1302s TAP version 14 1302s # random seed: R02Sd65ae763585b3b44decb0ed417a1e3e4 1302s 1..6 1302s # Start of pollable tests 1302s ok 1 /pollable/converter 1302s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1302s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc40d61313910 and GSocketClientAsyncConnectData 0xc40d613157b0 1302s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1302s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1302s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc40d6130be30 for GSocketClientAsyncConnectData 0xc40d613157b0 1302s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1302s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1302s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1302s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1302s ok 2 /pollable/socket 1302s # Start of unix tests 1302s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1302s ok 3 /pollable/unix/pipe 1302s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1302s ok 4 /pollable/unix/pty 1302s # /pollable/unix/file summary: Test that regular files are not considered pollable 1302s ok 5 /pollable/unix/file 1302s # /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 1302s ok 6 /pollable/unix/nulldev 1302s # End of unix tests 1302s # End of pollable tests 1302s ok - glib/pollable.test 1302s # Running test: glib/onceinit.test 1302s TAP version 14 1302s # random seed: R02S17b3b76a97091722db37ed058f8f4988 1302s 1..1 1302s # Start of thread tests 1302s ok 1 /thread/onceinit 1302s # End of thread tests 1302s ok - glib/onceinit.test 1302s # Running test: glib/timeout.test 1302s TAP version 14 1302s # random seed: R02Se3ee7d90916de5f0aede930fdf222f9f 1302s 1..5 1302s # Start of timeout tests 1302s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1302s # Executing: glib/timeout.test 1304s ok 1 /timeout/seconds 1304s # slow test /timeout/seconds executed in 2.10 secs 1306s ok 2 /timeout/seconds-once 1306s # slow test /timeout/seconds-once executed in 2.10 secs 1306s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1307s # Executing: glib/timeout.test 1308s ok 3 /timeout/weeks-overflow 1308s # slow test /timeout/weeks-overflow executed in 2.10 secs 1308s ok 4 /timeout/far-future-ready-time 1312s # Executing: glib/timeout.test 1317s # Executing: glib/timeout.test 1318s ok - glib/timeout.test 1318s ok 5 /timeout/rounding 1318s # slow test /timeout/rounding executed in 9.88 secs 1318s # End of timeout tests 1318s # Running test: glib/tls-database.test 1318s ok - glib/tls-database.test 1318s # Running test: glib/macros-c-99.test 1318s ok - glib/macros-c-99.test 1318s # Running test: glib/unicode-encoding.test 1318s TAP version 14 1318s # random seed: R02Sfdb78cd49dffe906bf62c97c47b72e04 1318s 1..1 1318s # Start of tls-backend tests 1318s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1318s ok 1 /tls-backend/set-default-database 1318s # End of tls-backend tests 1318s TAP version 14 1318s # random seed: R02S70e93d9c012f8963de07b4ebec70981e 1318s 1..4 1318s # Start of C tests 1318s # G_C_STD_VERSION is 199901 1318s ok 1 /C/standard-99 1318s # End of C tests 1318s # Start of alignof tests 1318s ok 2 /alignof/fallback 1318s # End of alignof tests 1318s # Start of assert tests 1318s ok 3 /assert/static 1318s # End of assert tests 1318s # Start of struct tests 1318s ok 4 /struct/sizeof_member 1318s # End of struct tests 1318s TAP version 14 1318s # random seed: R02Sa06bbecb9785f3279ca1b6686a479fd2 1318s 1..1 1318s # Start of unicode tests 1318s ok 1 /unicode/encoding 1318s # End of unicode tests 1318s ok - glib/unicode-encoding.test 1318s # Running test: glib/cxx-20.test 1318s ok - glib/cxx-20.test 1318s # Running test: glib/cond.test 1318s TAP version 14 1318s # random seed: R02S95cf6046f1a2126d2a6a6619a0863285 1318s 1..2 1318s # Start of gtask tests 1318s # 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. 1318s ok 1 /gtask/name 1318s # Start of name tests 1318s # 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. 1318s ok 2 /gtask/name/macro-wrapper 1318s # End of name tests 1318s # End of gtask tests 1318s TAP version 14 1318s # random seed: R02Scd1b0bfcc13b368fd2baa463774542e9 1318s 1..4 1318s # Start of thread tests 1318s ok 1 /thread/cond1 1318s ok 2 /thread/cond2 1318s # Start of cond tests 1319s ok 3 /thread/cond/wait-until 1319s # slow test /thread/cond/wait-until executed in 1.02 secs 1319s # Start of wait-until tests 1319s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1319s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1320s ok 4 /thread/cond/wait-until/contended-and-interrupted 1320s ok - glib/cond.test 1320s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1320s # End of wait-until tests 1320s # End of cond tests 1320s # End of thread tests 1320s # Running test: glib/gi-inspect-typelib.py.test 1320s TAP version 13 1320s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 1320s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1320s # tmpdir: /tmp/tmpj6q9g_x0 1320s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 1320s # Return code: 0 1320s # Output: 1320s # Usage: 1320s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 1320s # 1320s # Help Options: 1320s # -h, --help Show help options 1320s # 1320s # Application Options: 1320s # --typelib-version=VERSION Typelib version to inspect 1320s # --print-shlibs List the shared libraries the typelib requires 1320s # --print-typelibs List other typelibs the inspected typelib requires 1320s # Error: 1320s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 1320s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1320s # tmpdir: /tmp/tmpr68eao1o 1320s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 1320s # Return code: 1 1320s # Output: 1320s # 1320s # Error: 1320s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 1320s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 1320s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1320s # tmpdir: /tmp/tmpa9e4z_vf 1320s # Running: ['/usr/bin/gi-inspect-typelib'] 1320s # Return code: 1 1320s # Output: 1320s # 1320s # Error: 1320s # Please specify exactly one namespace 1320s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 1320s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1320s # tmpdir: /tmp/tmpfurrsk4o 1320s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 1320s # Return code: 0 1320s # Output: 1320s # shlib: libgobject-2.0.so.0 1320s # shlib: libglib-2.0.so.0 1320s # Error: 1320s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 1320s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1320s # tmpdir: /tmp/tmphgvlbgyf 1320s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 1320s # Return code: 0 1320s # Output: 1320s # 1320s # Error: 1320s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 1320s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1320s # tmpdir: /tmp/tmpk4ikga3v 1320s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 1320s # Return code: 0 1320s # Output: 1320s # shlib: libgobject-2.0.so.0 1320s # shlib: libglib-2.0.so.0 1320s # Error: 1320s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 1320s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1320s # tmpdir: /tmp/tmp3yeaejdl 1320s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 1320s # Return code: 0 1320s # Output: 1320s # shlib: libgobject-2.0.so.0 1320s # Error: 1320s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 1320s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1320s # tmpdir: /tmp/tmpijp1vr58 1320s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 1320s # Return code: 0 1320s # Output: 1320s # typelib: GLib-2.0 1320s # Error: 1320s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 1320s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1320s # tmpdir: /tmp/tmpb13sdzb1 1320s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 1320s # Return code: 0 1320s # Output: 1320s # shlib: libgobject-2.0.so.0 1320s # typelib: GLib-2.0 1320s # Error: 1320s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 1320s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1320s # tmpdir: /tmp/tmpk6itgdpg 1320s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 1320s # Return code: 0 1320s # Output: 1320s # shlib: libgio-2.0.so.0 1320s # Error: 1320s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 1320s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1320s # tmpdir: /tmp/tmpw9va5bau 1320s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 1320s # Return code: 0 1320s # Output: 1320s # typelib: GObject-2.0 1320s # typelib: GLib-2.0 1320s # typelib: GModule-2.0 1320s # Error: 1320s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 1320s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1320s # tmpdir: /tmp/tmpskenbeib 1320s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 1320s # Return code: 0 1320s # Output: 1320s # shlib: libgio-2.0.so.0 1320s # typelib: GObject-2.0 1320s # typelib: GLib-2.0 1320s # typelib: GModule-2.0 1320s # Error: 1320s 1..12 1320s ok - glib/gi-inspect-typelib.py.test 1320s # Running test: glib/init.test 1320s TAP version 14 1320s # random seed: R02Se7fe02b853e4de9f4c9c4bdb604216e1 1320s 1..2 1320s # Start of thread tests 1320s # Start of deprecated tests 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_FDQGK3/thread/deprecated/init/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_FDQGK3/thread/deprecated/init/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_FDQGK3/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_FDQGK3/thread/deprecated/init/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_FDQGK3/thread/deprecated/init/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_FDQGK3/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_FDQGK3/thread/deprecated/init/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_FDQGK3/thread/deprecated/init/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_FDQGK3/thread/deprecated/init/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_FDQGK3/thread/deprecated/init/.dirs/runtime 1320s ok 1 /thread/deprecated/init 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_FDQGK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_FDQGK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_FDQGK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_FDQGK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_FDQGK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_FDQGK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_FDQGK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_FDQGK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_FDQGK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_FDQGK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1320s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1320s # End of deprecated tests 1320s # End of thread tests 1320s ok - glib/init.test 1320s # Running test: glib/memory-settings-backend.test 1320s TAP version 14 1320s # random seed: R02S862aa058f120c5427307e1e9f2dfdb09 1320s 1..1 1320s # Start of memory-settings-backend tests 1320s ok 1 /memory-settings-backend/extension-point-registered 1320s # End of memory-settings-backend tests 1320s ok - glib/memory-settings-backend.test 1320s # Running test: glib/autoptr-girepository.test 1320s TAP version 14 1320s # random seed: R02S9f1fe5870d30fbd87a7e71dd2e35c61b 1320s 1..24 1320s # Start of autoptr tests 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/repository/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/repository/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/repository/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/repository/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/repository/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/repository/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/repository/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/repository/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 1 /autoptr/repository 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/typelib/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/typelib/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/typelib/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/typelib/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/typelib/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/typelib/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/typelib/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/typelib/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 2 /autoptr/typelib 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/base-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/base-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/base-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/base-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/base-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/base-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/base-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/base-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 3 /autoptr/base-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/arg-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/arg-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/arg-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/arg-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/arg-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/arg-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/arg-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/arg-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 4 /autoptr/arg-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/callable-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/callable-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/callable-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/callable-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/callable-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/callable-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/callable-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/callable-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 5 /autoptr/callable-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/callback-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/callback-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/callback-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/callback-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/callback-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/callback-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/callback-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/callback-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 6 /autoptr/callback-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/constant-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/constant-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/constant-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/constant-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/constant-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/constant-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/constant-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/constant-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 7 /autoptr/constant-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/enum-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/enum-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/enum-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/enum-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/enum-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/enum-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/enum-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/enum-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 8 /autoptr/enum-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/field-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/field-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/field-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/field-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/field-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/field-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/field-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/field-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 9 /autoptr/field-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/flags-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/flags-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/flags-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/flags-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/flags-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/flags-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/flags-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/flags-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 10 /autoptr/flags-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/function-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/function-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/function-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/function-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/function-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/function-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/function-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/function-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 11 /autoptr/function-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/interface-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/interface-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/interface-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/interface-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/interface-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/interface-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/interface-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/interface-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 12 /autoptr/interface-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/object-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/object-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/object-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/object-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/object-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/object-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/object-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/object-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 13 /autoptr/object-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/property-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/property-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/property-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/property-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/property-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/property-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/property-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/property-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 14 /autoptr/property-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/registered-type-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/registered-type-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/registered-type-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/registered-type-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/registered-type-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/registered-type-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/registered-type-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/registered-type-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 15 /autoptr/registered-type-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/signal-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/signal-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/signal-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/signal-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/signal-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/signal-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/signal-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/signal-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 16 /autoptr/signal-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/struct-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/struct-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/struct-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/struct-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/struct-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/struct-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/struct-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/struct-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 17 /autoptr/struct-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/type-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/type-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/type-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/type-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/type-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/type-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/type-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/type-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 18 /autoptr/type-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/union-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/union-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/union-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/union-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/union-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/union-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/union-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/union-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 19 /autoptr/union-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/value-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/value-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/value-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/value-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/value-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/value-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/value-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/value-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 20 /autoptr/value-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/vfunc-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/vfunc-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/vfunc-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/vfunc-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/autoptr/vfunc-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/vfunc-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/autoptr/vfunc-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/autoptr/vfunc-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 21 /autoptr/vfunc-info 1320s # End of autoptr tests 1320s # Start of auto tests 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/auto/arg-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/auto/arg-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/auto/arg-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/auto/arg-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/auto/arg-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/auto/arg-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/auto/arg-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/auto/arg-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 22 /auto/arg-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/auto/type-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/auto/type-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/auto/type-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/auto/type-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/auto/type-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/auto/type-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/auto/type-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/auto/type-info/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 23 /auto/type-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YTGGK3/auto/function-invoker/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YTGGK3/auto/function-invoker/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YTGGK3/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_YTGGK3/auto/function-invoker/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YTGGK3/auto/function-invoker/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YTGGK3/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_YTGGK3/auto/function-invoker/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YTGGK3/auto/function-invoker/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YTGGK3/auto/function-invoker/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YTGGK3/auto/function-invoker/.dirs/runtime 1320s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1320s ok 24 /auto/function-invoker 1320s # End of auto tests 1320s ok - glib/autoptr-girepository.test 1320s # Running test: glib/gdbus-non-socket.test 1320s TAP version 14 1320s # random seed: R02S6fdc9c1aa30e31d3afd1d2a78f38e17a 1320s 1..1 1320s # Start of gdbus tests 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_YU7HK3/gdbus/non-socket/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_YU7HK3/gdbus/non-socket/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_YU7HK3/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_YU7HK3/gdbus/non-socket/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_YU7HK3/gdbus/non-socket/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_YU7HK3/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_YU7HK3/gdbus/non-socket/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_YU7HK3/gdbus/non-socket/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_YU7HK3/gdbus/non-socket/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_YU7HK3/gdbus/non-socket/.dirs/runtime 1320s ok 1 /gdbus/non-socket 1320s # End of gdbus tests 1320s ok - glib/gdbus-non-socket.test 1320s # Running test: glib/utils.test 1320s TAP version 14 1320s # random seed: R02S6b30d7dd30291ec181243578911be917 1320s 1..41 1320s # Start of utils tests 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/language-names/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/language-names/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/language-names/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/language-names/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/language-names/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/language-names/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/language-names/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/language-names/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/language-names/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/language-names/.dirs/runtime 1320s ok 1 /utils/language-names 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/locale-variants/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/locale-variants/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/locale-variants/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/locale-variants/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/locale-variants/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/locale-variants/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/locale-variants/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/locale-variants/.dirs/runtime 1320s # Testing locale ‘en’ 1320s # Testing locale ‘sr@latin’ 1320s # Testing locale ‘fr_BE’ 1320s # Testing locale ‘sr_SR@latin’ 1320s # Testing locale ‘sr_SR@latin.UTF-8’ 1320s # Testing locale ‘sr@latin_invalid’ 1320s # Testing locale ‘sr.UTF-8@latin’ 1320s # Testing locale ‘sr.UTF-8_latin’ 1320s # Testing locale ‘sr.UTF-8@latin_invalid’ 1320s ok 2 /utils/locale-variants 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/version/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/version/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/version/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/version/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/version/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/version/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/version/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/version/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/version/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/version/.dirs/runtime 1320s ok 3 /utils/version 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/appname/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/appname/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/appname/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/appname/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/appname/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/appname/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/appname/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/appname/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/appname/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/appname/.dirs/runtime 1320s ok 4 /utils/appname 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/prgname-thread-safety/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/prgname-thread-safety/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/prgname-thread-safety/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/prgname-thread-safety/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/prgname-thread-safety/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/prgname-thread-safety/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/prgname-thread-safety/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/prgname-thread-safety/.dirs/runtime 1320s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1320s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1320s ok 5 /utils/prgname-thread-safety 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/tmpdir/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/tmpdir/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/tmpdir/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/tmpdir/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/tmpdir/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/tmpdir/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/tmpdir/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/tmpdir/.dirs/runtime 1320s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1320s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1320s Unable to clean up temporary directory /tmp/test_utils_QCOIK3/utils/tmpdir: No such file or directory 1320s ok 6 /utils/tmpdir 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/basic_bits/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/basic_bits/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/basic_bits/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/basic_bits/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/basic_bits/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/basic_bits/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/basic_bits/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/basic_bits/.dirs/runtime 1320s ok 7 /utils/basic_bits 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/bits/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/bits/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/bits/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/bits/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/bits/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/bits/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/bits/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/bits/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/bits/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/bits/.dirs/runtime 1320s ok 8 /utils/bits 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/swap/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/swap/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/swap/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/swap/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/swap/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/swap/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/swap/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/swap/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/swap/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/swap/.dirs/runtime 1320s ok 9 /utils/swap 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/find-program/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/find-program/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/find-program/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/find-program/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/find-program/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/find-program/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/find-program/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/find-program/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/find-program/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/find-program/.dirs/runtime 1320s ok 10 /utils/find-program 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/find-program-for-path/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/find-program-for-path/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/find-program-for-path/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/find-program-for-path/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/find-program-for-path/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/find-program-for-path/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/find-program-for-path/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/find-program-for-path/.dirs/runtime 1320s ok 11 /utils/find-program-for-path 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/debug/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/debug/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/debug/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/debug/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/debug/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/debug/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/debug/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/debug/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/debug/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/debug/.dirs/runtime 1320s Unable to clean up temporary directory /tmp/test_utils_QCOIK3/utils/debug: No such file or directory 1320s ok 12 /utils/debug 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/codeset/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/codeset/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/codeset/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/codeset/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/codeset/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/codeset/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/codeset/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/codeset/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/codeset/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/codeset/.dirs/runtime 1320s ok 13 /utils/codeset 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/codeset2/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/codeset2/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/codeset2/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/codeset2/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/codeset2/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/codeset2/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/codeset2/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/codeset2/.dirs/runtime 1320s Unable to clean up temporary directory /tmp/test_utils_QCOIK3/utils/codeset2: No such file or directory 1320s ok 14 /utils/codeset2 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/console-charset/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/console-charset/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/console-charset/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/console-charset/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/console-charset/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/console-charset/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/console-charset/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/console-charset/.dirs/runtime 1320s ok 15 /utils/console-charset 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/gettext/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/gettext/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/gettext/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/gettext/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/gettext/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/gettext/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/gettext/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/gettext/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/gettext/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/gettext/.dirs/runtime 1320s ok 16 /utils/gettext 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/username/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/username/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/username/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/username/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/username/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/username/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/username/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/username/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/username/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/username/.dirs/runtime 1320s ok 17 /utils/username 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/realname/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/realname/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/realname/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/realname/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/realname/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/realname/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/realname/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/realname/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/realname/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/realname/.dirs/runtime 1320s ok 18 /utils/realname 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/hostname/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/hostname/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/hostname/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/hostname/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/hostname/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/hostname/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/hostname/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/hostname/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/hostname/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/hostname/.dirs/runtime 1320s ok 19 /utils/hostname 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/os-info/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/os-info/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/os-info/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/os-info/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/os-info/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/os-info/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/os-info/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/os-info/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/os-info/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/os-info/.dirs/runtime 1320s # NAME: Ubuntu 1320s ok 20 /utils/os-info 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/clear-pointer/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/clear-pointer/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/clear-pointer/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/clear-pointer/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/clear-pointer/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/clear-pointer/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/clear-pointer/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/clear-pointer/.dirs/runtime 1320s ok 21 /utils/clear-pointer 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/clear-pointer-cast/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/clear-pointer-cast/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/clear-pointer-cast/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/clear-pointer-cast/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/clear-pointer-cast/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/clear-pointer-cast/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/clear-pointer-cast/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/clear-pointer-cast/.dirs/runtime 1320s ok 22 /utils/clear-pointer-cast 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/take-pointer/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/take-pointer/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/take-pointer/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/take-pointer/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/take-pointer/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/take-pointer/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/take-pointer/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/take-pointer/.dirs/runtime 1320s ok 23 /utils/take-pointer 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/clear-source/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/clear-source/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/clear-source/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/clear-source/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/clear-source/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/clear-source/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/clear-source/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/clear-source/.dirs/runtime 1320s ok 24 /utils/clear-source 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/misc-mem/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/misc-mem/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/misc-mem/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/misc-mem/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/misc-mem/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/misc-mem/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/misc-mem/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/misc-mem/.dirs/runtime 1320s ok 25 /utils/misc-mem 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/aligned-mem/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/aligned-mem/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/aligned-mem/.dirs/runtime 1320s # /utils/aligned-mem summary: Aligned memory allocator 1320s # Alignment must not be zero 1320s # Alignment must be a power of two 1320s # Alignment must be a multiple of sizeof(void*) 1320s ok 26 /utils/aligned-mem 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/free-sized/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/free-sized/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/free-sized/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/free-sized/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/free-sized/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/free-sized/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/free-sized/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/free-sized/.dirs/runtime 1320s # /utils/free-sized summary: Check that g_free_sized() works 1320s ok 27 /utils/free-sized 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/nullify/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/nullify/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/nullify/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/nullify/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/nullify/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/nullify/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/nullify/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/nullify/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/nullify/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/nullify/.dirs/runtime 1320s ok 28 /utils/nullify 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/atexit/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/atexit/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/atexit/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/atexit/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/atexit/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/atexit/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/atexit/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/atexit/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/atexit/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/atexit/.dirs/runtime 1320s Unable to clean up temporary directory /tmp/test_utils_QCOIK3/utils/atexit: No such file or directory 1320s ok 29 /utils/atexit 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/check-setuid/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/check-setuid/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/check-setuid/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/check-setuid/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/check-setuid/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/check-setuid/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/check-setuid/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/check-setuid/.dirs/runtime 1320s ok 30 /utils/check-setuid 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/int-limits/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/int-limits/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/int-limits/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/int-limits/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/int-limits/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/int-limits/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/int-limits/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/int-limits/.dirs/runtime 1320s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1320s ok 31 /utils/int-limits 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/clear-list/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/clear-list/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/clear-list/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/clear-list/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/clear-list/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/clear-list/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/clear-list/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/clear-list/.dirs/runtime 1320s ok 32 /utils/clear-list 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/clear-slist/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/clear-slist/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/clear-slist/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/clear-slist/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/clear-slist/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/clear-slist/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/clear-slist/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/clear-slist/.dirs/runtime 1320s ok 33 /utils/clear-slist 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/steal-handle-id/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/steal-handle-id/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/steal-handle-id/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/steal-handle-id/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/steal-handle-id/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/steal-handle-id/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/steal-handle-id/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/steal-handle-id/.dirs/runtime 1320s ok 34 /utils/steal-handle-id 1320s # Start of user-special-dirs tests 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/user-special-dirs/desktop/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/user-special-dirs/desktop/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/user-special-dirs/desktop/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/user-special-dirs/desktop/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/user-special-dirs/desktop/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/user-special-dirs/desktop/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/user-special-dirs/desktop/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/user-special-dirs/desktop/.dirs/runtime 1320s ok 35 /utils/user-special-dirs/desktop 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/user-special-dirs/load-unlocked/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/user-special-dirs/load-unlocked/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/user-special-dirs/load-unlocked/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/user-special-dirs/load-unlocked/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1320s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1320s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1320s Unable to clean up temporary directory /tmp/test_utils_QCOIK3/utils/user-special-dirs/load-unlocked: No such file or directory 1320s ok 36 /utils/user-special-dirs/load-unlocked 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/user-special-dirs/reload-leaks/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/user-special-dirs/reload-leaks/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/user-special-dirs/reload-leaks/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/user-special-dirs/reload-leaks/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1320s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1320s Unable to clean up temporary directory /tmp/test_utils_QCOIK3/utils/user-special-dirs/reload-leaks: No such file or directory 1320s ok 37 /utils/user-special-dirs/reload-leaks 1320s # End of user-special-dirs tests 1320s # Start of clear-pointer tests 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/clear-pointer/side-effects/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/clear-pointer/side-effects/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/clear-pointer/side-effects/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/clear-pointer/side-effects/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/clear-pointer/side-effects/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/clear-pointer/side-effects/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/clear-pointer/side-effects/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/clear-pointer/side-effects/.dirs/runtime 1320s ok 38 /utils/clear-pointer/side-effects 1320s # End of clear-pointer tests 1320s # Start of aligned-mem tests 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/alignment/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/alignment/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/aligned-mem/alignment/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/alignment/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/aligned-mem/alignment/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/alignment/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/alignment/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/aligned-mem/alignment/.dirs/runtime 1320s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1320s ok 39 /utils/aligned-mem/alignment 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/zeroed/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/zeroed/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/aligned-mem/zeroed/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/zeroed/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/aligned-mem/zeroed/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/zeroed/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/zeroed/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/aligned-mem/zeroed/.dirs/runtime 1320s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1320s ok 40 /utils/aligned-mem/zeroed 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/free-sized/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/free-sized/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QCOIK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils_QCOIK3/utils/aligned-mem/free-sized/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/free-sized/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QCOIK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils_QCOIK3/utils/aligned-mem/free-sized/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/free-sized/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QCOIK3/utils/aligned-mem/free-sized/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QCOIK3/utils/aligned-mem/free-sized/.dirs/runtime 1320s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1320s ok 41 /utils/aligned-mem/free-sized 1320s # Start of subprocess tests 1320s # End of subprocess tests 1320s # End of aligned-mem tests 1320s # End of utils tests 1320s ok - glib/utils.test 1320s # Running test: glib/file.test 1320s TAP version 14 1320s # random seed: R02S0228dae4b9e3416b24e64af3e5811328 1320s 1..55 1320s # Start of file tests 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/basic/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/basic/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/basic/.dirs/system-config1:/tmp/test_file_IIQJK3/file/basic/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/basic/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/basic/.dirs/system-data1:/tmp/test_file_IIQJK3/file/basic/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/basic/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/basic/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/basic/.dirs/runtime 1320s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1320s ok 1 /file/basic 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/build-filename/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/build-filename/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/build-filename/.dirs/system-config1:/tmp/test_file_IIQJK3/file/build-filename/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/build-filename/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/build-filename/.dirs/system-data1:/tmp/test_file_IIQJK3/file/build-filename/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/build-filename/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/build-filename/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/build-filename/.dirs/runtime 1320s ok 2 /file/build-filename 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/build-filenamev/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/build-filenamev/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/build-filenamev/.dirs/system-config1:/tmp/test_file_IIQJK3/file/build-filenamev/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/build-filenamev/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/build-filenamev/.dirs/system-data1:/tmp/test_file_IIQJK3/file/build-filenamev/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/build-filenamev/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/build-filenamev/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/build-filenamev/.dirs/runtime 1320s ok 3 /file/build-filenamev 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/parent/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/parent/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/parent/.dirs/system-config1:/tmp/test_file_IIQJK3/file/parent/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/parent/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/parent/.dirs/system-data1:/tmp/test_file_IIQJK3/file/parent/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/parent/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/parent/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/parent/.dirs/runtime 1320s ok 4 /file/parent 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/child/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/child/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/child/.dirs/system-config1:/tmp/test_file_IIQJK3/file/child/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/child/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/child/.dirs/system-data1:/tmp/test_file_IIQJK3/file/child/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/child/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/child/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/child/.dirs/runtime 1320s ok 5 /file/child 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/empty-path/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/empty-path/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/empty-path/.dirs/system-config1:/tmp/test_file_IIQJK3/file/empty-path/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/empty-path/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/empty-path/.dirs/system-data1:/tmp/test_file_IIQJK3/file/empty-path/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/empty-path/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/empty-path/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/empty-path/.dirs/runtime 1320s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1320s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1320s ok 6 /file/empty-path 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/type/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/type/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/type/.dirs/system-config1:/tmp/test_file_IIQJK3/file/type/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/type/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/type/.dirs/system-data1:/tmp/test_file_IIQJK3/file/type/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/type/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/type/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/type/.dirs/runtime 1320s ok 7 /file/type 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/parse-name/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/parse-name/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/parse-name/.dirs/system-config1:/tmp/test_file_IIQJK3/file/parse-name/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/parse-name/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/parse-name/.dirs/system-data1:/tmp/test_file_IIQJK3/file/parse-name/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/parse-name/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/parse-name/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/parse-name/.dirs/runtime 1320s ok 8 /file/parse-name 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/replace-load/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/replace-load/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/replace-load/.dirs/system-config1:/tmp/test_file_IIQJK3/file/replace-load/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/replace-load/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/replace-load/.dirs/system-data1:/tmp/test_file_IIQJK3/file/replace-load/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/replace-load/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/replace-load/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/replace-load/.dirs/runtime 1320s ok 9 /file/replace-load 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/replace-cancel/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/replace-cancel/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/replace-cancel/.dirs/system-config1:/tmp/test_file_IIQJK3/file/replace-cancel/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/replace-cancel/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/replace-cancel/.dirs/system-data1:/tmp/test_file_IIQJK3/file/replace-cancel/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/replace-cancel/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/replace-cancel/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/replace-cancel/.dirs/runtime 1320s # Bug Reference: https://bugzilla.gnome.org/629301 1320s ok 10 /file/replace-cancel 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/replace-symlink/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/replace-symlink/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/replace-symlink/.dirs/system-config1:/tmp/test_file_IIQJK3/file/replace-symlink/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/replace-symlink/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/replace-symlink/.dirs/system-data1:/tmp/test_file_IIQJK3/file/replace-symlink/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/replace-symlink/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/replace-symlink/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/replace-symlink/.dirs/runtime 1320s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1320s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1320s # Using temporary directory /tmp/test_file_IIQJK3/g_file_replace_symlink_IS5JK3 1320s ok 11 /file/replace-symlink 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/async-new-tmp/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/async-new-tmp/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_IIQJK3/file/async-new-tmp/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/async-new-tmp/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_IIQJK3/file/async-new-tmp/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/async-new-tmp/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/async-new-tmp/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/async-new-tmp/.dirs/runtime 1320s ok 12 /file/async-new-tmp 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/async-new-tmp-dir/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/async-new-tmp-dir/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_IIQJK3/file/async-new-tmp-dir/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/async-new-tmp-dir/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_IIQJK3/file/async-new-tmp-dir/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/async-new-tmp-dir/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/async-new-tmp-dir/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/async-new-tmp-dir/.dirs/runtime 1320s ok 13 /file/async-new-tmp-dir 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/async-delete/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/async-delete/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/async-delete/.dirs/system-config1:/tmp/test_file_IIQJK3/file/async-delete/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/async-delete/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/async-delete/.dirs/system-data1:/tmp/test_file_IIQJK3/file/async-delete/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/async-delete/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/async-delete/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/async-delete/.dirs/runtime 1320s ok 14 /file/async-delete 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/async-make-symlink/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/async-make-symlink/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_IIQJK3/file/async-make-symlink/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/async-make-symlink/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_IIQJK3/file/async-make-symlink/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/async-make-symlink/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/async-make-symlink/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/async-make-symlink/.dirs/runtime 1320s ok 15 /file/async-make-symlink 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/copy-preserve-mode/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/copy-preserve-mode/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_IIQJK3/file/copy-preserve-mode/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/copy-preserve-mode/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_IIQJK3/file/copy-preserve-mode/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/copy-preserve-mode/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/copy-preserve-mode/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/copy-preserve-mode/.dirs/runtime 1320s # Current umask: 2 1320s # Vector 0 1320s # Vector 1 1320s # Vector 2 1320s # Vector 3 1320s # Vector 4 1320s # Vector 5 1320s # Vector 6 1320s # Vector 7 1320s # Vector 8 1320s # Vector 9 1320s # Vector 10 1320s ok 16 /file/copy-preserve-mode 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/copy-async-with-closures/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/copy-async-with-closures/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_IIQJK3/file/copy-async-with-closures/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/copy-async-with-closures/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_IIQJK3/file/copy-async-with-closures/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/copy-async-with-closures/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/copy-async-with-closures/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/copy-async-with-closures/.dirs/runtime 1320s ok 17 /file/copy-async-with-closures 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/measure/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/measure/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/measure/.dirs/system-config1:/tmp/test_file_IIQJK3/file/measure/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/measure/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/measure/.dirs/system-data1:/tmp/test_file_IIQJK3/file/measure/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/measure/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/measure/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/measure/.dirs/runtime 1320s ok 18 /file/measure 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/measure-async/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/measure-async/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/measure-async/.dirs/system-config1:/tmp/test_file_IIQJK3/file/measure-async/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/measure-async/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/measure-async/.dirs/system-data1:/tmp/test_file_IIQJK3/file/measure-async/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/measure-async/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/measure-async/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/measure-async/.dirs/runtime 1320s ok 19 /file/measure-async 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/load-bytes/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/load-bytes/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/load-bytes/.dirs/system-config1:/tmp/test_file_IIQJK3/file/load-bytes/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/load-bytes/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/load-bytes/.dirs/system-data1:/tmp/test_file_IIQJK3/file/load-bytes/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/load-bytes/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/load-bytes/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/load-bytes/.dirs/runtime 1320s ok 20 /file/load-bytes 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/load-bytes-async/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/load-bytes-async/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_IIQJK3/file/load-bytes-async/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/load-bytes-async/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_IIQJK3/file/load-bytes-async/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/load-bytes-async/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/load-bytes-async/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/load-bytes-async/.dirs/runtime 1320s ok 21 /file/load-bytes-async 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/load-bytes-4gb/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/load-bytes-4gb/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_IIQJK3/file/load-bytes-4gb/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/load-bytes-4gb/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_IIQJK3/file/load-bytes-4gb/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/load-bytes-4gb/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/load-bytes-4gb/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/load-bytes-4gb/.dirs/runtime 1320s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/load-contents-4gb/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/load-contents-4gb/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_IIQJK3/file/load-contents-4gb/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/load-contents-4gb/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_IIQJK3/file/load-contents-4gb/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/load-contents-4gb/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/load-contents-4gb/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/load-contents-4gb/.dirs/runtime 1320s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/load-contents-4gb-async/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/load-contents-4gb-async/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_IIQJK3/file/load-contents-4gb-async/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/load-contents-4gb-async/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_IIQJK3/file/load-contents-4gb-async/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/load-contents-4gb-async/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/load-contents-4gb-async/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/load-contents-4gb-async/.dirs/runtime 1320s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/writev/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/writev/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/writev/.dirs/system-config1:/tmp/test_file_IIQJK3/file/writev/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/writev/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/writev/.dirs/system-data1:/tmp/test_file_IIQJK3/file/writev/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/writev/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/writev/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/writev/.dirs/runtime 1320s ok 25 /file/writev 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/build-attribute-list-for-copy/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/build-attribute-list-for-copy/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_IIQJK3/file/build-attribute-list-for-copy/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/build-attribute-list-for-copy/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_IIQJK3/file/build-attribute-list-for-copy/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/build-attribute-list-for-copy/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/build-attribute-list-for-copy/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/build-attribute-list-for-copy/.dirs/runtime 1320s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1320s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1320s # 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::* 1320s # 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::* 1320s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1320s # Attributes for copy: standard::size,xattr::* 1320s # Attributes for copy: standard::size,unix::mode,xattr::* 1320s ok 26 /file/build-attribute-list-for-copy 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/move_async/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/move_async/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/move_async/.dirs/system-config1:/tmp/test_file_IIQJK3/file/move_async/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/move_async/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/move_async/.dirs/system-data1:/tmp/test_file_IIQJK3/file/move_async/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/move_async/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/move_async/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/move_async/.dirs/runtime 1320s ok 27 /file/move_async 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/move-async-with-closures/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/move-async-with-closures/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_IIQJK3/file/move-async-with-closures/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/move-async-with-closures/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_IIQJK3/file/move-async-with-closures/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/move-async-with-closures/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/move-async-with-closures/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/move-async-with-closures/.dirs/runtime 1320s ok 28 /file/move-async-with-closures 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/query-zero-length-content-type/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/query-zero-length-content-type/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_IIQJK3/file/query-zero-length-content-type/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/query-zero-length-content-type/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_IIQJK3/file/query-zero-length-content-type/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/query-zero-length-content-type/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/query-zero-length-content-type/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/query-zero-length-content-type/.dirs/runtime 1320s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1320s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1320s ok 29 /file/query-zero-length-content-type 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/query-default-handler-file/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/query-default-handler-file/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_IIQJK3/file/query-default-handler-file/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/query-default-handler-file/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_IIQJK3/file/query-default-handler-file/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/query-default-handler-file/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/query-default-handler-file/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/query-default-handler-file/.dirs/runtime 1320s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_IIQJK3/file/query-default-handler-file/.dirs/data/applications 1320s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_IIQJK3/file/query-default-handler-file/.dirs/config 1320s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_IIQJK3/file/query-default-handler-file/.dirs/config 1320s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_IIQJK3/file/query-default-handler-file/.dirs/config 1320s ok 30 /file/query-default-handler-file 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/query-default-handler-file-async/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/query-default-handler-file-async/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_IIQJK3/file/query-default-handler-file-async/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/query-default-handler-file-async/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_IIQJK3/file/query-default-handler-file-async/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/query-default-handler-file-async/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/query-default-handler-file-async/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/query-default-handler-file-async/.dirs/runtime 1320s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_IIQJK3/file/query-default-handler-file-async/.dirs/data/applications 1320s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_IIQJK3/file/query-default-handler-file-async/.dirs/config 1320s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_IIQJK3/file/query-default-handler-file/.dirs/config to /tmp/test_file_IIQJK3/file/query-default-handler-file-async/.dirs/config 1320s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_IIQJK3/file/query-default-handler-file-async/.dirs/config 1320s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_IIQJK3/file/query-default-handler-file-async/.dirs/config 1320s ok 31 /file/query-default-handler-file-async 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/query-default-handler-uri/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/query-default-handler-uri/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_IIQJK3/file/query-default-handler-uri/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/query-default-handler-uri/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_IIQJK3/file/query-default-handler-uri/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/query-default-handler-uri/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/query-default-handler-uri/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/query-default-handler-uri/.dirs/runtime 1320s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_IIQJK3/file/query-default-handler-uri/.dirs/data/applications 1320s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_IIQJK3/file/query-default-handler-uri/.dirs/config 1320s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_IIQJK3/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_IIQJK3/file/query-default-handler-uri/.dirs/config 1320s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_IIQJK3/file/query-default-handler-uri/.dirs/config 1320s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_IIQJK3/file/query-default-handler-uri/.dirs/config 1320s ok 32 /file/query-default-handler-uri 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/query-default-handler-uri-async/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/query-default-handler-uri-async/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_IIQJK3/file/query-default-handler-uri-async/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/query-default-handler-uri-async/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_IIQJK3/file/query-default-handler-uri-async/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/query-default-handler-uri-async/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/query-default-handler-uri-async/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/query-default-handler-uri-async/.dirs/runtime 1320s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_IIQJK3/file/query-default-handler-uri-async/.dirs/data/applications 1320s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_IIQJK3/file/query-default-handler-uri-async/.dirs/config 1320s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_IIQJK3/file/query-default-handler-uri/.dirs/config to /tmp/test_file_IIQJK3/file/query-default-handler-uri-async/.dirs/config 1320s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_IIQJK3/file/query-default-handler-uri-async/.dirs/config 1320s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_IIQJK3/file/query-default-handler-uri-async/.dirs/config 1320s ok 33 /file/query-default-handler-uri-async 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/enumerator-cancellation/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/enumerator-cancellation/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_IIQJK3/file/enumerator-cancellation/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/enumerator-cancellation/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_IIQJK3/file/enumerator-cancellation/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/enumerator-cancellation/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/enumerator-cancellation/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/enumerator-cancellation/.dirs/runtime 1320s ok 34 /file/enumerator-cancellation 1320s # Start of async-create-delete tests 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/async-create-delete/0/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/0/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_IIQJK3/file/async-create-delete/0/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/0/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_IIQJK3/file/async-create-delete/0/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/0/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/0/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/async-create-delete/0/.dirs/runtime 1320s ok 35 /file/async-create-delete/0 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/async-create-delete/1/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/1/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_IIQJK3/file/async-create-delete/1/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/1/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_IIQJK3/file/async-create-delete/1/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/1/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/1/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/async-create-delete/1/.dirs/runtime 1320s ok 36 /file/async-create-delete/1 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/async-create-delete/10/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/10/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_IIQJK3/file/async-create-delete/10/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/10/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_IIQJK3/file/async-create-delete/10/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/10/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/10/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/async-create-delete/10/.dirs/runtime 1321s ok 37 /file/async-create-delete/10 1321s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/async-create-delete/25/.dirs/home 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/25/.dirs/cache 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_IIQJK3/file/async-create-delete/25/.dirs/system-config2 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/25/.dirs/config 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_IIQJK3/file/async-create-delete/25/.dirs/system-data2 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/25/.dirs/data 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/25/.dirs/state 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/async-create-delete/25/.dirs/runtime 1321s ok 38 /file/async-create-delete/25 1321s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/async-create-delete/4096/.dirs/home 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/4096/.dirs/cache 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_IIQJK3/file/async-create-delete/4096/.dirs/system-config2 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/4096/.dirs/config 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_IIQJK3/file/async-create-delete/4096/.dirs/system-data2 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/4096/.dirs/data 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/async-create-delete/4096/.dirs/state 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/async-create-delete/4096/.dirs/runtime 1321s ok 39 /file/async-create-delete/4096 1321s # End of async-create-delete tests 1321s # Start of replace-symlink tests 1321s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/replace-symlink/using-etag/.dirs/home 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/replace-symlink/using-etag/.dirs/cache 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_IIQJK3/file/replace-symlink/using-etag/.dirs/system-config2 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/replace-symlink/using-etag/.dirs/config 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_IIQJK3/file/replace-symlink/using-etag/.dirs/system-data2 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/replace-symlink/using-etag/.dirs/data 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/replace-symlink/using-etag/.dirs/state 1321s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/replace-symlink/using-etag/.dirs/runtime 1321s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1321s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1321s # Using temporary directory /tmp/test_file_IIQJK3/g_file_replace_symlink_using_etag_UHG3J3 1322s # Executing: glib/file.test 1323s ok 40 /file/replace-symlink/using-etag 1323s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1323s # End of replace-symlink tests 1323s # Start of replace tests 1323s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/replace/write-only/.dirs/home 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/replace/write-only/.dirs/cache 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/replace/write-only/.dirs/system-config1:/tmp/test_file_IIQJK3/file/replace/write-only/.dirs/system-config2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/replace/write-only/.dirs/config 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/replace/write-only/.dirs/system-data1:/tmp/test_file_IIQJK3/file/replace/write-only/.dirs/system-data2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/replace/write-only/.dirs/data 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/replace/write-only/.dirs/state 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/replace/write-only/.dirs/runtime 1323s # /file/replace/write-only summary: Test various situations for g_file_replace() 1323s # Current umask: 2 1323s # Test 0, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_3523J3 1323s # Test 1, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_2123J3 1323s # Test 2, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_5J43J3 1323s # Test 3, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_W9Z3J3 1323s # Test 4, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_T0Z3J3 1323s # Test 5, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_QTZ3J3 1323s # Test 6, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_B213J3 1323s # Test 7, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_28V3J3 1323s # Test 8, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_C8V3J3 1323s # Test 9, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_50Y3J3 1323s # Test 10, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_TQX3J3 1323s # Test 11, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_E4S3J3 1323s # Test 12, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_21S3J3 1323s # Test 13, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_G0V3J3 1323s # Test 14, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_CMU3J3 1323s # Test 15, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_15T5J3 1323s # Test 16, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_EFR5J3 1323s # Test 17, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_8JT5J3 1323s # Test 18, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_7CS5J3 1323s # Test 19, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_92N5J3 1323s # Test 20, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_C9P5J3 1323s # Test 21, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_S4O5J3 1323s # Test 22, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_B3K5J3 1323s # Test 23, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_YVK5J3 1323s # Test 24, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_DWL5J3 1323s # Test 25, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_IN65J3 1323s # Test 26, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_0G65J3 1323s # Test 27, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_IC65J3 1323s # Test 28, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_8W75J3 1323s # Test 29, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_NS35J3 1323s # Test 30, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_GM35J3 1323s # Test 31, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_7G35J3 1323s # Test 32, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_KE55J3 1323s # Test 33, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_NB05J3 1323s # Test 34, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_3Y25J3 1323s # Test 35, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_U125J3 1323s # Test 36, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_JQ15J3 1323s # Test 37, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_YPX5J3 1323s # Test 38, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_RQZ5J3 1323s # Test 39, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_SFY5J3 1323s # Test 40, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_B644J3 1323s # Test 41, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_HW64J3 1323s # Test 42, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_KH24J3 1323s # Test 43, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_SK14J3 1323s # Test 44, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_5624J3 1323s # Test 45, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_VZ24J3 1323s # Test 46, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_JUY4J3 1323s # Test 47, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_9PY4J3 1323s # Test 48, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_2404J3 1323s # We do not have CAP_DAC_OVERRIDE or equivalent 1323s # Test 49, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_F004J3 1323s # We do not have CAP_DAC_OVERRIDE or equivalent 1323s # Test 50, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_QR04J3 1323s # We do not have CAP_DAC_OVERRIDE or equivalent 1323s # Test 51, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_SA04J3 1323s # We do not have CAP_DAC_OVERRIDE or equivalent 1323s ok 41 /file/replace/write-only 1323s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/replace/read-write/.dirs/home 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/replace/read-write/.dirs/cache 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/replace/read-write/.dirs/system-config1:/tmp/test_file_IIQJK3/file/replace/read-write/.dirs/system-config2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/replace/read-write/.dirs/config 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/replace/read-write/.dirs/system-data1:/tmp/test_file_IIQJK3/file/replace/read-write/.dirs/system-data2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/replace/read-write/.dirs/data 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/replace/read-write/.dirs/state 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/replace/read-write/.dirs/runtime 1323s # /file/replace/read-write summary: Test various situations for g_file_replace() 1323s # Current umask: 2 1323s # Test 0, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_48U4J3 1323s # Test 1, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_PXU4J3 1323s # Test 2, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_F9W4J3 1323s # Test 3, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_ZEI5J3 1323s # Test 4, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_16H5J3 1323s # Test 5, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_XUH5J3 1323s # Test 6, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_94J5J3 1323s # Test 7, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_LWI5J3 1323s # Test 8, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_ZPI5J3 1323s # Test 9, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_KQI5J3 1323s # Test 10, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_IZG5J3 1323s # Test 11, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_ZYF5J3 1323s # Test 12, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_NUF5J3 1323s # Test 13, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_MIF5J3 1323s # Test 14, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_4CB5J3 1323s # Test 15, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_VHD5J3 1323s # Test 16, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_JIC5J3 1323s # Test 17, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_SC84J3 1323s # Test 18, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_1D94J3 1323s # Test 19, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_S786J3 1323s # Test 20, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_44A7J3 1323s # Test 21, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_UV96J3 1323s # Test 22, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_1056J3 1323s # Test 23, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_JV56J3 1323s # Test 24, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_TW76J3 1323s # Test 25, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_S966J3 1323s # Test 26, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_5X66J3 1323s # Test 27, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_HR66J3 1323s # Test 28, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_9246J3 1323s # Test 29, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_GR36J3 1323s # Test 30, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_QP36J3 1323s # Test 31, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_WA06J3 1323s # Test 32, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_UCZ6J3 1323s # Test 33, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_DJ16J3 1323s # Test 34, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_8B16J3 1323s # Test 35, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_0606J3 1323s # Test 36, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_1QN7J3 1323s # Test 37, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_ODJ7J3 1323s # Test 38, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_Y6H7J3 1323s # Test 39, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_CAK7J3 1323s # Test 40, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_0YF7J3 1323s # Test 41, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_EGH7J3 1323s # Test 42, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_T1C7J3 1323s # Test 43, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_VPD7J3 1323s # Test 44, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_4ZJ6J3 1323s # Test 45, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_COJ6J3 1323s # Test 46, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_RQL6J3 1323s # Test 47, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_4KL6J3 1323s # Test 48, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_Q3G6J3 1323s # We do not have CAP_DAC_OVERRIDE or equivalent 1323s # Test 49, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_KWG6J3 1323s # We do not have CAP_DAC_OVERRIDE or equivalent 1323s # Test 50, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_EQG6J3 1323s # We do not have CAP_DAC_OVERRIDE or equivalent 1323s # Test 51, using temporary directory /tmp/test_file_IIQJK3/g_file_replace_XOG6J3 1323s # We do not have CAP_DAC_OVERRIDE or equivalent 1323s ok 42 /file/replace/read-write 1323s # End of replace tests 1323s # Start of copy tests 1323s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/copy/progress/.dirs/home 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/copy/progress/.dirs/cache 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/copy/progress/.dirs/system-config1:/tmp/test_file_IIQJK3/file/copy/progress/.dirs/system-config2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/copy/progress/.dirs/config 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/copy/progress/.dirs/system-data1:/tmp/test_file_IIQJK3/file/copy/progress/.dirs/system-data2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/copy/progress/.dirs/data 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/copy/progress/.dirs/state 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/copy/progress/.dirs/runtime 1323s ok 43 /file/copy/progress 1323s # End of copy tests 1323s # Start of writev tests 1323s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/writev/no-bytes-written/.dirs/home 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/writev/no-bytes-written/.dirs/cache 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_IIQJK3/file/writev/no-bytes-written/.dirs/system-config2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/writev/no-bytes-written/.dirs/config 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_IIQJK3/file/writev/no-bytes-written/.dirs/system-data2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/writev/no-bytes-written/.dirs/data 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/writev/no-bytes-written/.dirs/state 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/writev/no-bytes-written/.dirs/runtime 1323s ok 44 /file/writev/no-bytes-written 1323s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/writev/no-vectors/.dirs/home 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/writev/no-vectors/.dirs/cache 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_IIQJK3/file/writev/no-vectors/.dirs/system-config2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/writev/no-vectors/.dirs/config 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_IIQJK3/file/writev/no-vectors/.dirs/system-data2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/writev/no-vectors/.dirs/data 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/writev/no-vectors/.dirs/state 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/writev/no-vectors/.dirs/runtime 1323s ok 45 /file/writev/no-vectors 1323s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/writev/empty-vectors/.dirs/home 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/writev/empty-vectors/.dirs/cache 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_IIQJK3/file/writev/empty-vectors/.dirs/system-config2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/writev/empty-vectors/.dirs/config 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_IIQJK3/file/writev/empty-vectors/.dirs/system-data2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/writev/empty-vectors/.dirs/data 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/writev/empty-vectors/.dirs/state 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/writev/empty-vectors/.dirs/runtime 1323s ok 46 /file/writev/empty-vectors 1323s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/writev/too-big-vectors/.dirs/home 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/writev/too-big-vectors/.dirs/cache 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_IIQJK3/file/writev/too-big-vectors/.dirs/system-config2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/writev/too-big-vectors/.dirs/config 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_IIQJK3/file/writev/too-big-vectors/.dirs/system-data2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/writev/too-big-vectors/.dirs/data 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/writev/too-big-vectors/.dirs/state 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/writev/too-big-vectors/.dirs/runtime 1323s ok 47 /file/writev/too-big-vectors 1323s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/writev/async/.dirs/home 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/writev/async/.dirs/cache 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/writev/async/.dirs/system-config1:/tmp/test_file_IIQJK3/file/writev/async/.dirs/system-config2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/writev/async/.dirs/config 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/writev/async/.dirs/system-data1:/tmp/test_file_IIQJK3/file/writev/async/.dirs/system-data2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/writev/async/.dirs/data 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/writev/async/.dirs/state 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/writev/async/.dirs/runtime 1323s ok 48 /file/writev/async 1323s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/writev/async_all/.dirs/home 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/writev/async_all/.dirs/cache 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/writev/async_all/.dirs/system-config1:/tmp/test_file_IIQJK3/file/writev/async_all/.dirs/system-config2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/writev/async_all/.dirs/config 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/writev/async_all/.dirs/system-data1:/tmp/test_file_IIQJK3/file/writev/async_all/.dirs/system-data2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/writev/async_all/.dirs/data 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/writev/async_all/.dirs/state 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/writev/async_all/.dirs/runtime 1323s ok 49 /file/writev/async_all 1323s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/writev/async_all-empty-vectors/.dirs/home 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/writev/async_all-empty-vectors/.dirs/cache 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_IIQJK3/file/writev/async_all-empty-vectors/.dirs/system-config2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/writev/async_all-empty-vectors/.dirs/config 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_IIQJK3/file/writev/async_all-empty-vectors/.dirs/system-data2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/writev/async_all-empty-vectors/.dirs/data 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/writev/async_all-empty-vectors/.dirs/state 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/writev/async_all-empty-vectors/.dirs/runtime 1323s ok 50 /file/writev/async_all-empty-vectors 1323s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/writev/async_all-no-vectors/.dirs/home 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/writev/async_all-no-vectors/.dirs/cache 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_IIQJK3/file/writev/async_all-no-vectors/.dirs/system-config2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/writev/async_all-no-vectors/.dirs/config 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_IIQJK3/file/writev/async_all-no-vectors/.dirs/system-data2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/writev/async_all-no-vectors/.dirs/data 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/writev/async_all-no-vectors/.dirs/state 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/writev/async_all-no-vectors/.dirs/runtime 1323s ok 51 /file/writev/async_all-no-vectors 1323s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/writev/async_all-to-big-vectors/.dirs/home 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/writev/async_all-to-big-vectors/.dirs/cache 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_IIQJK3/file/writev/async_all-to-big-vectors/.dirs/system-config2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/writev/async_all-to-big-vectors/.dirs/config 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_IIQJK3/file/writev/async_all-to-big-vectors/.dirs/system-data2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/writev/async_all-to-big-vectors/.dirs/data 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/writev/async_all-to-big-vectors/.dirs/state 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/writev/async_all-to-big-vectors/.dirs/runtime 1323s ok 52 /file/writev/async_all-to-big-vectors 1323s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/writev/async_all-cancellation/.dirs/home 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/writev/async_all-cancellation/.dirs/cache 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_IIQJK3/file/writev/async_all-cancellation/.dirs/system-config2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/writev/async_all-cancellation/.dirs/config 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_IIQJK3/file/writev/async_all-cancellation/.dirs/system-data2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/writev/async_all-cancellation/.dirs/data 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/writev/async_all-cancellation/.dirs/state 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/writev/async_all-cancellation/.dirs/runtime 1323s ok 53 /file/writev/async_all-cancellation 1323s # End of writev tests 1323s # Start of from-uri tests 1323s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/from-uri/ignores-query-string/.dirs/home 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/from-uri/ignores-query-string/.dirs/cache 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_IIQJK3/file/from-uri/ignores-query-string/.dirs/system-config2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/from-uri/ignores-query-string/.dirs/config 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_IIQJK3/file/from-uri/ignores-query-string/.dirs/system-data2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/from-uri/ignores-query-string/.dirs/data 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/from-uri/ignores-query-string/.dirs/state 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/from-uri/ignores-query-string/.dirs/runtime 1323s ok 54 /file/from-uri/ignores-query-string 1323s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_IIQJK3/file/from-uri/ignores-fragment/.dirs/home 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_IIQJK3/file/from-uri/ignores-fragment/.dirs/cache 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_IIQJK3/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_IIQJK3/file/from-uri/ignores-fragment/.dirs/system-config2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_IIQJK3/file/from-uri/ignores-fragment/.dirs/config 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_IIQJK3/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_IIQJK3/file/from-uri/ignores-fragment/.dirs/system-data2 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_IIQJK3/file/from-uri/ignores-fragment/.dirs/data 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_IIQJK3/file/from-uri/ignores-fragment/.dirs/state 1323s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_IIQJK3/file/from-uri/ignores-fragment/.dirs/runtime 1323s ok 55 /file/from-uri/ignores-fragment 1323s # End of from-uri tests 1323s # End of file tests 1323s TAP version 14 1323s # random seed: R02Se43a3c503221e1cbe84d26c084503ec5 1323s 1..2 1323s # Start of gtask tests 1323s # 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. 1323s ok 1 /gtask/name 1323s # Start of name tests 1323s # 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. 1323s ok 2 /gtask/name/macro-wrapper 1323s # End of name tests 1323s # End of gtask tests 1323s TAP version 14 1323s # random seed: R02Sb731683522a7f36a7c58646e1202a1fd 1323s 1..7 1323s # Start of threadpool tests 1323s ok 1 /threadpool/functions 1323s ok - glib/file.test 1323s # Running test: glib/cxx-2c.test 1323s ok - glib/cxx-2c.test 1323s # Running test: glib/thread-pool-slow.test 1323s ok 2 /threadpool/stop-unused 1323s # slow test /threadpool/stop-unused executed in 0.51 secs 1323s ok 3 /threadpool/pools 1323s # [unsorted] ===> pushed new thread with id:3, number of threads:1, unprocessed:1 1323s # [unsorted] ===> pushed new thread with id:29, number of threads:2, unprocessed:1 1323s # [unsorted] ===> pushed new thread with id:43, number of threads:3, unprocessed:1 1323s # [unsorted] ===> pushed new thread with id:56, number of threads:4, unprocessed:1 1323s # [unsorted] ===> pushed new thread with id:51, number of threads:5, unprocessed:2 1323s # [unsorted] ===> pushed new thread with id:94, number of threads:6, unprocessed:1 1323s # [unsorted] ===> pushed new thread with id:17, number of threads:7, unprocessed:1 1323s # [unsorted] ===> pushed new thread with id:77, number of threads:8, unprocessed:1 1323s # [unsorted] ===> pushed new thread with id:92, number of threads:9, unprocessed:1 1323s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:2 1323s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:3 1323s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:4 1323s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:5 1323s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:6 1323s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:7 1323s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:8 1323s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:9 1323s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:10 1323s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:11 1323s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:12 1323s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:13 1323s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:14 1323s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:15 1323s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:16 1323s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:17 1323s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:18 1323s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:19 1323s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:20 1323s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:21 1323s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:21 1323s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:22 1323s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:23 1323s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:23 1323s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:24 1323s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:25 1323s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:26 1323s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:27 1323s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:28 1323s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:29 1323s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:30 1323s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:31 1323s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:32 1323s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:33 1323s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:34 1323s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:35 1323s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:36 1323s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:37 1323s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:38 1323s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:39 1323s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:40 1323s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:41 1323s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:42 1323s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:43 1323s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:44 1323s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:45 1323s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:46 1323s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:47 1323s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:48 1323s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:49 1323s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:50 1323s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:51 1323s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:52 1323s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:53 1323s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:54 1323s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:55 1323s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:56 1323s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:57 1323s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:58 1323s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:59 1323s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:60 1323s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:61 1323s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:62 1323s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:63 1323s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:64 1323s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:65 1323s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:66 1323s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:67 1323s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:68 1323s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:69 1323s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:70 1323s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:71 1323s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:72 1323s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:73 1323s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:74 1323s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:75 1323s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:76 1323s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:77 1323s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:78 1323s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:79 1323s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:80 1323s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:81 1323s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:82 1323s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:83 1323s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:84 1323s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:85 1323s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:86 1323s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:87 1323s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:88 1323s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:89 1323s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:90 1323s ok 4 /threadpool/no-sort 1323s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:1 1323s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:2 1323s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:3 1323s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:4 1323s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:5 1323s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:6 1323s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:7 1323s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:8 1323s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:9 1323s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:10 1323s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:11 1323s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:12 1323s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:13 1323s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:14 1323s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:15 1323s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:16 1323s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:17 1323s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:18 1323s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:19 1323s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:20 1323s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:21 1323s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:22 1323s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:23 1323s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:24 1323s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:25 1323s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:26 1323s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:27 1323s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:28 1323s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:29 1323s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:30 1323s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:31 1323s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:32 1323s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:33 1323s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:34 1323s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:35 1323s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:36 1323s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:37 1323s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:38 1323s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:39 1323s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:40 1323s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:41 1323s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:42 1323s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:43 1323s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:44 1323s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:45 1323s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:46 1323s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:47 1323s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:48 1323s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:49 1323s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:50 1323s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:51 1323s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:52 1323s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:53 1323s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:54 1323s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:55 1323s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:56 1323s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:57 1323s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:58 1323s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:59 1323s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:60 1323s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:61 1323s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:62 1323s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:63 1323s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:64 1323s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:65 1323s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:66 1323s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:67 1323s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:68 1323s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:69 1323s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:70 1323s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:71 1323s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:72 1323s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:73 1323s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:74 1323s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:75 1323s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:76 1323s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:77 1323s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:78 1323s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:79 1323s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:80 1323s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:81 1323s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:82 1323s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:83 1323s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:84 1323s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:85 1323s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:86 1323s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:87 1323s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:88 1323s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:89 1323s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:90 1323s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:91 1323s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:92 1323s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:93 1323s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:94 1323s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:95 1323s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:96 1323s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:97 1323s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:98 1323s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:99 1323s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:100 1323s # Starting thread pool processing 1323s ok 5 /threadpool/sort 1324s ok 6 /threadpool/stop-unused-multiple 1324s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1324s # Pool idle thread count: 0, unprocessed jobs: 41 1324s # Pool idle thread count: 0, unprocessed jobs: 0 1324s # Pool idle thread count: 0, unprocessed jobs: 0 1325s # Pool idle thread count: 10, unprocessed jobs: 0 1325s # Pool idle thread count: 10, unprocessed jobs: 0 1325s # Pool idle thread count: 10, unprocessed jobs: 0 1325s # Pool idle thread count: 10, unprocessed jobs: 0 1326s # Pool idle thread count: 10, unprocessed jobs: 0 1326s # Pool idle thread count: 10, unprocessed jobs: 0 1326s # Pool idle thread count: 10, unprocessed jobs: 0 1326s # Pool idle thread count: 10, unprocessed jobs: 0 1327s # Executing: glib/thread-pool-slow.test 1327s # Pool idle thread count: 10, unprocessed jobs: 0 1327s # Pool idle thread count: 10, unprocessed jobs: 0 1327s # Pool idle thread count: 10, unprocessed jobs: 0 1327s # Pool idle thread count: 10, unprocessed jobs: 0 1328s # Pool idle thread count: 10, unprocessed jobs: 0 1329s # Pool idle thread count: 10, unprocessed jobs: 0 1329s # Pool idle thread count: 10, unprocessed jobs: 0 1329s # Pool idle thread count: 10, unprocessed jobs: 0 1329s # Pool idle thread count: 10, unprocessed jobs: 0 1329s # Pool idle thread count: 10, unprocessed jobs: 0 1329s # Pool idle thread count: 10, unprocessed jobs: 0 1329s # Pool idle thread count: 10, unprocessed jobs: 0 1330s # Pool idle thread count: 10, unprocessed jobs: 0 1330s # Pool idle thread count: 10, unprocessed jobs: 0 1330s # Pool idle thread count: 10, unprocessed jobs: 0 1330s # Pool idle thread count: 10, unprocessed jobs: 0 1331s # Pool idle thread count: 10, unprocessed jobs: 0 1331s # Pool idle thread count: 10, unprocessed jobs: 0 1331s # Pool idle thread count: 10, unprocessed jobs: 0 1331s # Pool idle thread count: 10, unprocessed jobs: 0 1332s # Executing: glib/thread-pool-slow.test 1332s # Pool idle thread count: 10, unprocessed jobs: 0 1332s # Pool idle thread count: 10, unprocessed jobs: 0 1332s # Pool idle thread count: 10, unprocessed jobs: 0 1332s # Pool idle thread count: 10, unprocessed jobs: 0 1333s # Pool idle thread count: 9, unprocessed jobs: 2 1333s # Pool idle thread count: 8, unprocessed jobs: 0 1333s # Pool idle thread count: 8, unprocessed jobs: 0 1333s # Pool idle thread count: 8, unprocessed jobs: 0 1333s # Pool idle thread count: 10, unprocessed jobs: 0 1333s # Pool idle thread count: 10, unprocessed jobs: 0 1334s # Pool idle thread count: 10, unprocessed jobs: 0 1334s # Pool idle thread count: 10, unprocessed jobs: 0 1334s # Pool idle thread count: 10, unprocessed jobs: 0 1334s # Pool idle thread count: 10, unprocessed jobs: 0 1335s # Pool idle thread count: 2, unprocessed jobs: 0 1335s # Pool idle thread count: 2, unprocessed jobs: 0 1336s # Pool idle thread count: 2, unprocessed jobs: 0 1336s # Pool idle thread count: 2, unprocessed jobs: 0 1336s # Pool idle thread count: 2, unprocessed jobs: 0 1336s # Pool idle thread count: 2, unprocessed jobs: 0 1336s # Pool idle thread count: 2, unprocessed jobs: 0 1336s # Pool idle thread count: 2, unprocessed jobs: 0 1337s # Executing: glib/thread-pool-slow.test 1337s # Pool idle thread count: 2, unprocessed jobs: 0 1337s # Pool idle thread count: 2, unprocessed jobs: 0 1337s # Pool idle thread count: 2, unprocessed jobs: 0 1337s # Pool idle thread count: 2, unprocessed jobs: 0 1338s # Pool idle thread count: 2, unprocessed jobs: 0 1338s # Pool idle thread count: 2, unprocessed jobs: 0 1338s # Pool idle thread count: 2, unprocessed jobs: 0 1338s # Pool idle thread count: 2, unprocessed jobs: 0 1339s # Pool idle thread count: 2, unprocessed jobs: 0 1339s # Pool idle thread count: 2, unprocessed jobs: 0 1339s # Pool idle thread count: 2, unprocessed jobs: 0 1339s # Pool idle thread count: 2, unprocessed jobs: 0 1340s # Pool idle thread count: 2, unprocessed jobs: 0 1340s # Pool idle thread count: 2, unprocessed jobs: 0 1340s # Pool idle thread count: 2, unprocessed jobs: 0 1340s # Pool idle thread count: 2, unprocessed jobs: 0 1341s # Pool idle thread count: 2, unprocessed jobs: 0 1341s # Pool idle thread count: 2, unprocessed jobs: 0 1342s # Pool idle thread count: 2, unprocessed jobs: 0 1342s # Pool idle thread count: 2, unprocessed jobs: 0 1342s # Executing: glib/thread-pool-slow.test 1342s # Pool idle thread count: 2, unprocessed jobs: 0 1342s # Pool idle thread count: 2, unprocessed jobs: 0 1342s # Pool idle thread count: 2, unprocessed jobs: 0 1342s # Pool idle thread count: 2, unprocessed jobs: 0 1343s # Pool idle thread count: 2, unprocessed jobs: 0 1343s # Pool idle thread count: 2, unprocessed jobs: 0 1343s ok 7 /threadpool/idle-time 1343s # slow test /threadpool/idle-time executed in 19.52 secs 1343s # End of threadpool tests 1343s ok - glib/thread-pool-slow.test 1343s # Running test: glib/gdbus-names.test 1343s TAP version 14 1343s # random seed: R02S0e1feac74487fa86af16eac0c7d3a79b 1343s 1..10 1343s # Start of gdbus tests 1343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B52LK3/gdbus/validate-names/.dirs/home 1343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/validate-names/.dirs/cache 1343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_B52LK3/gdbus/validate-names/.dirs/system-config2 1343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/validate-names/.dirs/config 1343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_B52LK3/gdbus/validate-names/.dirs/system-data2 1343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/validate-names/.dirs/data 1343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/validate-names/.dirs/state 1343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B52LK3/gdbus/validate-names/.dirs/runtime 1343s ok 1 /gdbus/validate-names 1343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-own-name/.dirs/home 1343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-own-name/.dirs/cache 1343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_B52LK3/gdbus/bus-own-name/.dirs/system-config2 1343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-own-name/.dirs/config 1343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_B52LK3/gdbus/bus-own-name/.dirs/system-data2 1343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-own-name/.dirs/data 1343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-own-name/.dirs/state 1343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B52LK3/gdbus/bus-own-name/.dirs/runtime 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s ok 2 /gdbus/bus-own-name 1344s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name/.dirs/home 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name/.dirs/cache 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name/.dirs/system-config2 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name/.dirs/config 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name/.dirs/system-data2 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name/.dirs/data 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name/.dirs/state 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name/.dirs/runtime 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s ok 3 /gdbus/bus-watch-name 1344s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start/.dirs/home 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start/.dirs/cache 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start/.dirs/config 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start/.dirs/data 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start/.dirs/state 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start/.dirs/runtime 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s ok 4 /gdbus/bus-watch-name-auto-start 1344s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1344s dbus-daemon[33582]: [session uid=1000 pid=33582 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=33573 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1344s # Acquired a message bus connection 1344s dbus-daemon[33582]: [session uid=1000 pid=33582 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 1344s # Acquired the name org.gtk.GDBus.FakeService 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1344s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures/.dirs/home 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures/.dirs/cache 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures/.dirs/system-config2 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures/.dirs/config 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures/.dirs/system-data2 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures/.dirs/data 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures/.dirs/state 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures/.dirs/runtime 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s ok 6 /gdbus/bus-watch-name-closures 1344s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s ok 7 /gdbus/bus-watch-name-closures-auto-start 1344s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-different-context/.dirs/home 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-different-context/.dirs/cache 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-different-context/.dirs/system-config2 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-different-context/.dirs/config 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-different-context/.dirs/system-data2 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-different-context/.dirs/data 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-different-context/.dirs/state 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B52LK3/gdbus/bus-watch-different-context/.dirs/runtime 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s ok 8 /gdbus/bus-watch-different-context 1344s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-unwatch-early/.dirs/home 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-unwatch-early/.dirs/cache 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_B52LK3/gdbus/bus-unwatch-early/.dirs/system-config2 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-unwatch-early/.dirs/config 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_B52LK3/gdbus/bus-unwatch-early/.dirs/system-data2 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-unwatch-early/.dirs/data 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/bus-unwatch-early/.dirs/state 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B52LK3/gdbus/bus-unwatch-early/.dirs/runtime 1344s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s ok 9 /gdbus/bus-unwatch-early 1344s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B52LK3/gdbus/escape-object-path/.dirs/home 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/escape-object-path/.dirs/cache 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_B52LK3/gdbus/escape-object-path/.dirs/system-config2 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/escape-object-path/.dirs/config 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B52LK3/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_B52LK3/gdbus/escape-object-path/.dirs/system-data2 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/escape-object-path/.dirs/data 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B52LK3/gdbus/escape-object-path/.dirs/state 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B52LK3/gdbus/escape-object-path/.dirs/runtime 1344s ok 10 /gdbus/escape-object-path 1344s # End of gdbus tests 1344s TAP version 14 1344s # random seed: R02S5642794317972f8447306e1cd3d24c73 1344s 1..1 1344s # Start of gobject tests 1344s # Start of refcount tests 1344s # init 0xbb494ae072d0 1344s # 1344s # init 0xbb494adff580 1344s # 1344s ok - glib/gdbus-names.test 1344s # Running test: glib/signals-refcount3.test 1347s # Executing: glib/signals-refcount3.test 1349s ok - glib/signals-refcount3.test 1349s # Running test: glib/filenamecompleter.test 1349s # dispose 0xbb494ae072d0! 1349s # 1349s # dispose 0xbb494adff580! 1349s # 1349s ok 1 /gobject/refcount/signals 1349s # slow test /gobject/refcount/signals executed in 5.00 secs 1349s # End of refcount tests 1349s # End of gobject tests 1349s TAP version 14 1349s # random seed: R02S03f2e9c898e3a925be5473f23807a729 1349s 1..1 1349s # Start of filenamecompleter tests 1349s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_filenamecompleter_PJFPK3/filenamecompleter/basic/.dirs/home 1349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_filenamecompleter_PJFPK3/filenamecompleter/basic/.dirs/cache 1349s ok - glib/filenamecompleter.test 1349s # Running test: glib/hmac.test 1349s ok - glib/hmac.test 1349s # Running test: glib/threadtests.test 1349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_filenamecompleter_PJFPK3/filenamecompleter/basic/.dirs/system-config1:/tmp/test_filenamecompleter_PJFPK3/filenamecompleter/basic/.dirs/system-config2 1349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_filenamecompleter_PJFPK3/filenamecompleter/basic/.dirs/config 1349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_filenamecompleter_PJFPK3/filenamecompleter/basic/.dirs/system-data1:/tmp/test_filenamecompleter_PJFPK3/filenamecompleter/basic/.dirs/system-data2 1349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_filenamecompleter_PJFPK3/filenamecompleter/basic/.dirs/data 1349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_filenamecompleter_PJFPK3/filenamecompleter/basic/.dirs/state 1349s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_filenamecompleter_PJFPK3/filenamecompleter/basic/.dirs/runtime 1349s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1349s ok 1 /filenamecompleter/basic 1349s # End of filenamecompleter tests 1349s TAP version 14 1349s # random seed: R02S1752e9e5dacfb989936e075d7822776b 1349s 1..37 1349s # Start of hmac tests 1349s ok 1 /hmac/sha1-1 1349s ok 2 /hmac/sha1-2 1349s ok 3 /hmac/sha1-3 1349s ok 4 /hmac/sha1-4 1349s ok 5 /hmac/sha1-5 1349s ok 6 /hmac/sha1-6 1349s ok 7 /hmac/sha1-7 1349s ok 8 /hmac/sha256-1 1349s ok 9 /hmac/sha256-2 1349s ok 10 /hmac/sha256-3 1349s ok 11 /hmac/sha256-4 1349s ok 12 /hmac/sha256-5 1349s ok 13 /hmac/sha256-6 1349s ok 14 /hmac/sha384-1 1349s ok 15 /hmac/sha384-2 1349s ok 16 /hmac/sha384-3 1349s ok 17 /hmac/sha384-4 1349s ok 18 /hmac/sha384-5 1349s ok 19 /hmac/sha384-6 1349s ok 20 /hmac/sha512-1 1349s ok 21 /hmac/sha512-2 1349s ok 22 /hmac/sha512-3 1349s ok 23 /hmac/sha512-4 1349s ok 24 /hmac/sha512-5 1349s ok 25 /hmac/sha512-6 1349s ok 26 /hmac/md5-1 1349s ok 27 /hmac/md5-2 1349s ok 28 /hmac/md5-3 1349s ok 29 /hmac/md5-4 1349s ok 30 /hmac/md5-5 1349s ok 31 /hmac/md5-6 1349s ok 32 /hmac/md5-7 1349s ok 33 /hmac/ref-unref 1349s ok 34 /hmac/copy 1349s ok 35 /hmac/for-data 1349s ok 36 /hmac/for-string 1349s ok 37 /hmac/for-bytes 1349s # End of hmac tests 1349s TAP version 14 1349s # random seed: R02Saac19e14cc3457ecb07c92c6edbff635 1349s 1..5 1349s # Start of GObject tests 1349s ok 1 /GObject/threaded-object-init 1349s ok 2 /GObject/threaded-weak-ref 1349s # slow test /GObject/threaded-weak-ref executed in 0.66 secs 1349s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1349s # /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 1349s ok 3 /GObject/threaded-toggle-notify 1349s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1349s # Start of threaded-weak-ref tests 1349s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1349s # /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. 1349s ok 5 /GObject/threaded-weak-ref/on-finalization 1349s # End of threaded-weak-ref tests 1349s # End of GObject tests 1349s TAP version 14 1349s # random seed: R02S27a24f73335fa23d86ceaa5579ec29bd 1349s 1..1 1349s # Start of png-thumbs tests 1349s ok - glib/threadtests.test 1349s # Running test: glib/thumbnail-verification.test 1349s ok - glib/thumbnail-verification.test 1349s # Running test: glib/1bit-mutex.test 1349s ok 1 /png-thumbs/validity 1349s # End of png-thumbs tests 1349s TAP version 14 1349s # random seed: R02S52b52b9a71bb1ea2ff72c902e498e82e 1349s 1..2 1349s # Start of glib tests 1349s # Start of 1bit-mutex tests 1352s # Executing: glib/1bit-mutex.test 1353s ok 1 /glib/1bit-mutex/int 1353s # slow test /glib/1bit-mutex/int executed in 3.38 secs 1356s ok 2 /glib/1bit-mutex/pointer 1356s # slow test /glib/1bit-mutex/pointer executed in 3.40 secs 1356s # End of 1bit-mutex tests 1356s # End of glib tests 1356s ok - glib/1bit-mutex.test 1356s # Running test: glib/collate.test 1356s TAP version 14 1356s ok - glib/collate.test 1356s # Running test: glib/asyncqueue.test 1356s # random seed: R02S505c7c45593c5b9be51a9449b4f3c2fe 1356s 1..9 1356s # Start of unicode tests 1356s # Start of collate tests 1356s ok 1 /unicode/collate/0 1356s ok 2 /unicode/collate/1 1356s ok 3 /unicode/collate/2 1356s # End of collate tests 1356s # Start of collate-key tests 1356s ok 4 /unicode/collate-key/0 1356s ok 5 /unicode/collate-key/1 1356s ok 6 /unicode/collate-key/2 1356s # End of collate-key tests 1356s # Start of collate-filename tests 1356s ok 7 /unicode/collate-filename/0 1356s ok 8 /unicode/collate-filename/1 1356s ok 9 /unicode/collate-filename/2 1356s # End of collate-filename tests 1356s # End of unicode tests 1356s TAP version 14 1356s # random seed: R02Sef9476ef9e92fa45ab4484a691735385 1356s 1..7 1356s # Start of asyncqueue tests 1356s ok 1 /asyncqueue/basics 1356s ok 2 /asyncqueue/sort 1356s ok 3 /asyncqueue/destroy 1356s ok 4 /asyncqueue/threads 1357s ok 5 /asyncqueue/timed 1357s ok 6 /asyncqueue/remove 1357s ok 7 /asyncqueue/push_front 1357s # End of asyncqueue tests 1357s ok - glib/asyncqueue.test 1357s # Running test: glib/gdbus-bz627724.test 1357s TAP version 14 1357s # random seed: R02S66d4406b4a4c20747f4dcf4ce20887b3 1357s 1..1 1357s # Start of gdbus tests 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_9A0OK3/gdbus/bz627724/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_9A0OK3/gdbus/bz627724/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_9A0OK3/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_9A0OK3/gdbus/bz627724/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_9A0OK3/gdbus/bz627724/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_9A0OK3/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_9A0OK3/gdbus/bz627724/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_9A0OK3/gdbus/bz627724/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_9A0OK3/gdbus/bz627724/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_9A0OK3/gdbus/bz627724/.dirs/runtime 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s ok 1 /gdbus/bz627724 1357s # End of gdbus tests 1357s ok - glib/gdbus-bz627724.test 1357s # Running test: glib/bitlock.test 1357s ok - glib/bitlock.test 1357s # Running test: glib/markup-subparser.test 1357s ok - glib/markup-subparser.test 1357s # Running test: glib/thread-pool.test 1357s TAP version 14 1357s # random seed: R02S5c55fa6962c474c5b4cb6e6ff89cf848 1357s 1..2 1357s # Start of bitlock tests 1357s # Start of performance tests 1357s # max perf: iterations per second 1357s ok 1 /bitlock/performance/uncontended 1357s ok 2 /bitlock/performance/parallel 1357s # End of performance tests 1357s # End of bitlock tests 1357s TAP version 14 1357s # random seed: R02Sf6bd8605dea112f54101b18f4d820498 1357s 1..14 1357s # Start of glib tests 1357s # Start of markup tests 1357s # Start of subparser tests 1357s # Start of success tests 1357s ok 1 /glib/markup/subparser/success/0 1357s ok 2 /glib/markup/subparser/success/1 1357s ok 3 /glib/markup/subparser/success/2 1357s ok 4 /glib/markup/subparser/success/3 1357s ok 5 /glib/markup/subparser/success/4 1357s ok 6 /glib/markup/subparser/success/5 1357s ok 7 /glib/markup/subparser/success/6 1357s # End of success tests 1357s # Start of failure tests 1357s ok 8 /glib/markup/subparser/failure/0 1357s ok 9 /glib/markup/subparser/failure/1 1357s ok 10 /glib/markup/subparser/failure/2 1357s ok 11 /glib/markup/subparser/failure/3 1357s ok 12 /glib/markup/subparser/failure/4 1357s ok 13 /glib/markup/subparser/failure/5 1357s ok 14 /glib/markup/subparser/failure/6 1357s # End of failure tests 1357s # End of subparser tests 1357s # End of markup tests 1357s # End of glib tests 1357s TAP version 14 1357s # random seed: R02S2bd9d6f32e715a56e2ae5ad958d9d2e4 1357s 1..6 1357s # Start of thread_pool tests 1357s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3712 1357s ok 1 /thread_pool/pool_fail 1357s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1357s ok 2 /thread_pool/shared 1357s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1357s ok 3 /thread_pool/exclusive 1357s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1357s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1357s ok 4 /thread_pool/create_shared_after_exclusive 1357s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1357s ok 5 /thread_pool/create_full 1357s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1357s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1357s ok 6 /thread_pool/create_exclusive_after_shared 1357s # End of thread_pool tests 1357s ok - glib/thread-pool.test 1357s # Running test: glib/gdbus-connection-loss.test 1357s TAP version 14 1357s # random seed: R02Sbb3ce6a89620d2a055c1a410099d976d 1357s 1..1 1357s # Start of gdbus tests 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_K8H4J3/gdbus/connection-loss/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_K8H4J3/gdbus/connection-loss/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_K8H4J3/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_K8H4J3/gdbus/connection-loss/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_K8H4J3/gdbus/connection-loss/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_K8H4J3/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_K8H4J3/gdbus/connection-loss/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_K8H4J3/gdbus/connection-loss/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_K8H4J3/gdbus/connection-loss/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_K8H4J3/gdbus/connection-loss/.dirs/runtime 1357s ok - glib/gdbus-connection-loss.test 1357s ok 1 /gdbus/connection-loss 1357s # End of gdbus tests 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # Running test: glib/refcount-macro.test 1357s ok - glib/refcount-macro.test 1357s # Running test: glib/null-settings-backend.test 1357s TAP version 14 1357s # random seed: R02S67c4b6a7d9df449cdf1e6aebcc420572 1357s 1..4 1357s # Start of refcount tests 1357s ok 1 /refcount/grefcount 1357s ok 2 /refcount/gatomicrefcount 1357s # Start of grefcount tests 1357s ok 3 /refcount/grefcount/saturation 1357s # End of grefcount tests 1357s # Start of gatomicrefcount tests 1357s ok 4 /refcount/gatomicrefcount/saturation 1357s # End of gatomicrefcount tests 1357s # End of refcount tests 1357s ok - glib/null-settings-backend.test 1357s # Running test: glib/socket-address.test 1357s TAP version 14 1357s # random seed: R02S4d50849ea28a95142b63587bc7ff8919 1357s 1..1 1357s # Start of null-settings-backend tests 1357s ok 1 /null-settings-backend/extension-point-registered 1357s # End of null-settings-backend tests 1357s TAP version 14 1357s # random seed: R02S9e6f96100ed04620c39d6994b13b5ed3 1357s 1..2 1357s # Start of socket tests 1357s # Start of address tests 1357s # Start of unix tests 1357s ok 1 /socket/address/unix/construct 1357s ok 2 /socket/address/unix/to-string 1357s # End of unix tests 1357s # End of address tests 1357s # End of socket tests 1357s ok - glib/socket-address.test 1357s # Running test: glib/contenttype.test 1357s TAP version 14 1357s # random seed: R02S10aba8418420fc74445cd839f776b848 1357s 1..14 1357s # Start of contenttype tests 1357s ok 1 /contenttype/guess 1357s ok 2 /contenttype/guess_svg_from_data 1357s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 1357s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1357s ok 5 /contenttype/unknown 1357s ok 6 /contenttype/subtype 1357s ok 7 /contenttype/list 1357s ok 8 /contenttype/executable 1357s ok 9 /contenttype/description 1357s ok 10 /contenttype/icon 1357s ok 11 /contenttype/symbolic-icon 1357s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1357s ok 12 /contenttype/tree 1357s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1357s ok 13 /contenttype/tree_invalid_encoding 1357s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1357s ok 14 /contenttype/test_type_is_a_special_case 1357s # End of contenttype tests 1357s ok - glib/contenttype.test 1357s # Running test: glib/utils-c-23.test 1357s # Executing: glib/utils-c-23.test 1357s TAP version 14 1357s # random seed: R02Sf12402fe618a46140d921c1ebd3724a8 1357s 1..41 1357s # Start of utils tests 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/language-names/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/language-names/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/language-names/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/language-names/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/language-names/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/language-names/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/language-names/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/language-names/.dirs/runtime 1357s ok 1 /utils/language-names 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/locale-variants/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/locale-variants/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/locale-variants/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/locale-variants/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/locale-variants/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/locale-variants/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/locale-variants/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/locale-variants/.dirs/runtime 1357s # Testing locale ‘en’ 1357s # Testing locale ‘sr@latin’ 1357s # Testing locale ‘fr_BE’ 1357s # Testing locale ‘sr_SR@latin’ 1357s # Testing locale ‘sr_SR@latin.UTF-8’ 1357s # Testing locale ‘sr@latin_invalid’ 1357s # Testing locale ‘sr.UTF-8@latin’ 1357s # Testing locale ‘sr.UTF-8_latin’ 1357s # Testing locale ‘sr.UTF-8@latin_invalid’ 1357s ok 2 /utils/locale-variants 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/version/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/version/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/version/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/version/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/version/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/version/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/version/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/version/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/version/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/version/.dirs/runtime 1357s ok 3 /utils/version 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/appname/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/appname/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/appname/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/appname/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/appname/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/appname/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/appname/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/appname/.dirs/runtime 1357s ok 4 /utils/appname 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/prgname-thread-safety/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/prgname-thread-safety/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/prgname-thread-safety/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/prgname-thread-safety/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/prgname-thread-safety/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/prgname-thread-safety/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/prgname-thread-safety/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/prgname-thread-safety/.dirs/runtime 1357s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1357s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1357s ok 5 /utils/prgname-thread-safety 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/tmpdir/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/tmpdir/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/tmpdir/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/tmpdir/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/tmpdir/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/tmpdir/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/tmpdir/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/tmpdir/.dirs/runtime 1357s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1357s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1357s Unable to clean up temporary directory /tmp/test_utils-c-23_29A6J3/utils/tmpdir: No such file or directory 1357s ok 6 /utils/tmpdir 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/basic_bits/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/basic_bits/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/basic_bits/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/basic_bits/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/basic_bits/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/basic_bits/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/basic_bits/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/basic_bits/.dirs/runtime 1357s ok 7 /utils/basic_bits 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/bits/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/bits/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/bits/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/bits/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/bits/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/bits/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/bits/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/bits/.dirs/runtime 1357s ok 8 /utils/bits 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/swap/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/swap/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/swap/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/swap/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/swap/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/swap/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/swap/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/swap/.dirs/runtime 1357s ok 9 /utils/swap 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/find-program/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/find-program/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/find-program/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/find-program/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/find-program/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/find-program/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/find-program/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/find-program/.dirs/runtime 1357s ok 10 /utils/find-program 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/find-program-for-path/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/find-program-for-path/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/find-program-for-path/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/find-program-for-path/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/find-program-for-path/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/find-program-for-path/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/find-program-for-path/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/find-program-for-path/.dirs/runtime 1357s ok 11 /utils/find-program-for-path 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/debug/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/debug/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/debug/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/debug/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/debug/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/debug/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/debug/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/debug/.dirs/runtime 1357s Unable to clean up temporary directory /tmp/test_utils-c-23_29A6J3/utils/debug: No such file or directory 1357s ok 12 /utils/debug 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/codeset/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/codeset/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/codeset/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/codeset/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/codeset/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/codeset/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/codeset/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/codeset/.dirs/runtime 1357s ok 13 /utils/codeset 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/codeset2/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/codeset2/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/codeset2/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/codeset2/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/codeset2/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/codeset2/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/codeset2/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/codeset2/.dirs/runtime 1357s Unable to clean up temporary directory /tmp/test_utils-c-23_29A6J3/utils/codeset2: No such file or directory 1357s ok 14 /utils/codeset2 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/console-charset/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/console-charset/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/console-charset/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/console-charset/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/console-charset/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/console-charset/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/console-charset/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/console-charset/.dirs/runtime 1357s ok 15 /utils/console-charset 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/gettext/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/gettext/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/gettext/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/gettext/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/gettext/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/gettext/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/gettext/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/gettext/.dirs/runtime 1357s ok 16 /utils/gettext 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/username/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/username/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/username/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/username/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/username/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/username/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/username/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/username/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/username/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/username/.dirs/runtime 1357s ok 17 /utils/username 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/realname/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/realname/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/realname/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/realname/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/realname/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/realname/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/realname/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/realname/.dirs/runtime 1357s ok 18 /utils/realname 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/hostname/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/hostname/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/hostname/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/hostname/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/hostname/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/hostname/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/hostname/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/hostname/.dirs/runtime 1357s ok 19 /utils/hostname 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/os-info/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/os-info/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/os-info/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/os-info/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/os-info/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/os-info/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/os-info/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/os-info/.dirs/runtime 1357s # NAME: Ubuntu 1357s ok 20 /utils/os-info 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/clear-pointer/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/clear-pointer/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer/.dirs/runtime 1357s ok 21 /utils/clear-pointer 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer-cast/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer-cast/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/clear-pointer-cast/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer-cast/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/clear-pointer-cast/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer-cast/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer-cast/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer-cast/.dirs/runtime 1357s ok 22 /utils/clear-pointer-cast 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/take-pointer/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/take-pointer/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/take-pointer/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/take-pointer/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/take-pointer/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/take-pointer/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/take-pointer/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/take-pointer/.dirs/runtime 1357s ok 23 /utils/take-pointer 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-source/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-source/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/clear-source/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-source/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/clear-source/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-source/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-source/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/clear-source/.dirs/runtime 1357s ok 24 /utils/clear-source 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/misc-mem/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/misc-mem/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/misc-mem/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/misc-mem/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/misc-mem/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/misc-mem/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/misc-mem/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/misc-mem/.dirs/runtime 1357s ok 25 /utils/misc-mem 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/aligned-mem/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/aligned-mem/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/.dirs/runtime 1357s # /utils/aligned-mem summary: Aligned memory allocator 1357s # Alignment must not be zero 1357s # Alignment must be a power of two 1357s # Alignment must be a multiple of sizeof(void*) 1357s ok 26 /utils/aligned-mem 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/free-sized/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/free-sized/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/free-sized/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/free-sized/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/free-sized/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/free-sized/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/free-sized/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/free-sized/.dirs/runtime 1357s # /utils/free-sized summary: Check that g_free_sized() works 1357s ok 27 /utils/free-sized 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/nullify/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/nullify/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/nullify/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/nullify/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/nullify/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/nullify/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/nullify/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/nullify/.dirs/runtime 1357s ok 28 /utils/nullify 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/atexit/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/atexit/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/atexit/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/atexit/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/atexit/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/atexit/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/atexit/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/atexit/.dirs/runtime 1357s Unable to clean up temporary directory /tmp/test_utils-c-23_29A6J3/utils/atexit: No such file or directory 1357s ok 29 /utils/atexit 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/check-setuid/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/check-setuid/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/check-setuid/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/check-setuid/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/check-setuid/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/check-setuid/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/check-setuid/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/check-setuid/.dirs/runtime 1357s ok 30 /utils/check-setuid 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/int-limits/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/int-limits/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/int-limits/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/int-limits/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/int-limits/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/int-limits/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/int-limits/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/int-limits/.dirs/runtime 1357s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1357s ok 31 /utils/int-limits 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-list/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-list/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/clear-list/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-list/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/clear-list/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-list/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-list/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/clear-list/.dirs/runtime 1357s ok 32 /utils/clear-list 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-slist/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-slist/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/clear-slist/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-slist/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/clear-slist/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-slist/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-slist/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/clear-slist/.dirs/runtime 1357s ok 33 /utils/clear-slist 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/steal-handle-id/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/steal-handle-id/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/steal-handle-id/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/steal-handle-id/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/steal-handle-id/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/steal-handle-id/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/steal-handle-id/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/steal-handle-id/.dirs/runtime 1357s ok 34 /utils/steal-handle-id 1357s # Start of user-special-dirs tests 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/desktop/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/desktop/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/desktop/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/desktop/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/desktop/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/desktop/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/desktop/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/desktop/.dirs/runtime 1357s ok 35 /utils/user-special-dirs/desktop 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/load-unlocked/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/load-unlocked/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/load-unlocked/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/load-unlocked/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/load-unlocked/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1357s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1357s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1357s Unable to clean up temporary directory /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/load-unlocked: No such file or directory 1357s ok 36 /utils/user-special-dirs/load-unlocked 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/reload-leaks/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/reload-leaks/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/reload-leaks/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/reload-leaks/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/reload-leaks/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1357s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1357s Unable to clean up temporary directory /tmp/test_utils-c-23_29A6J3/utils/user-special-dirs/reload-leaks: No such file or directory 1357s ok 37 /utils/user-special-dirs/reload-leaks 1357s # End of user-special-dirs tests 1357s # Start of clear-pointer tests 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer/side-effects/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer/side-effects/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/clear-pointer/side-effects/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer/side-effects/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/clear-pointer/side-effects/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer/side-effects/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer/side-effects/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/clear-pointer/side-effects/.dirs/runtime 1357s ok 38 /utils/clear-pointer/side-effects 1357s # End of clear-pointer tests 1357s # Start of aligned-mem tests 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/alignment/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/alignment/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/aligned-mem/alignment/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/alignment/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/aligned-mem/alignment/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/alignment/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/alignment/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/alignment/.dirs/runtime 1357s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1357s ok 39 /utils/aligned-mem/alignment 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/zeroed/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/zeroed/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/aligned-mem/zeroed/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/zeroed/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/aligned-mem/zeroed/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/zeroed/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/zeroed/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/zeroed/.dirs/runtime 1357s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1357s ok 40 /utils/aligned-mem/zeroed 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/free-sized/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/free-sized/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-23_29A6J3/utils/aligned-mem/free-sized/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/free-sized/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-23_29A6J3/utils/aligned-mem/free-sized/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/free-sized/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/free-sized/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_29A6J3/utils/aligned-mem/free-sized/.dirs/runtime 1357s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1357s ok 41 /utils/aligned-mem/free-sized 1357s # Start of subprocess tests 1357s # End of subprocess tests 1357s # End of aligned-mem tests 1357s # End of utils tests 1357s ok - glib/utils-c-23.test 1357s # Running test: glib/gdbus-proxy.test 1357s TAP version 14 1357s # random seed: R02S8f792fffc32b649c79dec590223cdca3 1357s 1..5 1357s # Start of gdbus tests 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/.dirs/runtime 1359s ok 1 /gdbus/proxy 1359s # slow test /gdbus/proxy executed in 1.72 secs 1359s # Start of proxy tests 1359s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-properties/.dirs/home 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-properties/.dirs/cache 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-properties/.dirs/system-config2 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-properties/.dirs/config 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-properties/.dirs/system-data2 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-properties/.dirs/data 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-properties/.dirs/state 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-properties/.dirs/runtime 1359s ok 2 /gdbus/proxy/no-properties 1359s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/wellknown-noauto/.dirs/home 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/wellknown-noauto/.dirs/cache 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/wellknown-noauto/.dirs/config 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/wellknown-noauto/.dirs/data 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/wellknown-noauto/.dirs/state 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/wellknown-noauto/.dirs/runtime 1359s ok 3 /gdbus/proxy/wellknown-noauto 1359s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/async/.dirs/home 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/async/.dirs/cache 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/async/.dirs/system-config2 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/async/.dirs/config 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/async/.dirs/system-data2 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/async/.dirs/data 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/async/.dirs/state 1359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/async/.dirs/runtime 1360s ok 4 /gdbus/proxy/async 1360s # slow test /gdbus/proxy/async executed in 1.72 secs 1360s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-match-rule/.dirs/home 1360s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-match-rule/.dirs/cache 1360s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-match-rule/.dirs/system-config2 1360s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-match-rule/.dirs/config 1360s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-match-rule/.dirs/system-data2 1360s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-match-rule/.dirs/data 1360s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-match-rule/.dirs/state 1360s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_SOR8J3/gdbus/proxy/no-match-rule/.dirs/runtime 1360s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1360s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1362s # Executing: glib/gdbus-proxy.test 1362s ok - glib/gdbus-proxy.test 1362s # Running test: glib/thread.test 1362s ok 5 /gdbus/proxy/no-match-rule 1362s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 1362s # End of proxy tests 1362s # End of gdbus tests 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s TAP version 14 1362s # random seed: R02Sb7aabc3951171a5a7bc18b5022846a94 1362s 1..7 1362s # Start of thread tests 1362s ok 1 /thread/thread1 1362s ok 2 /thread/thread2 1362s ok 3 /thread/thread3 1362s ok 4 /thread/thread4 1362s ok - glib/thread.test 1362s # Running test: glib/data-output-stream.test 1362s ok - glib/data-output-stream.test 1362s # Running test: glib/unicode-normalize.test 1362s ok 5 /thread/thread5 1362s ok 6 /thread/thread6 1362s ok 7 /thread/thread7 1362s # End of thread tests 1362s TAP version 14 1362s # random seed: R02S5ec97aaede7e0dab58a92c0cb92768b4 1362s 1..7 1362s # Start of data-output-stream tests 1362s ok 1 /data-output-stream/basic 1362s ok 2 /data-output-stream/write-lines-LF 1362s ok 3 /data-output-stream/write-lines-CR 1362s ok 4 /data-output-stream/write-lines-CR-LF 1362s ok 5 /data-output-stream/write-int 1362s ok 6 /data-output-stream/seek 1362s ok 7 /data-output-stream/truncate 1362s # End of data-output-stream tests 1362s TAP version 14 1362s # random seed: R02S422e7957f82638ec5e194677916547b4 1362s 1..3 1362s # Start of unicode tests 1362s # Processing Part0 # Specific cases 1362s # Processing Part1 # Character by character test 1362s # Processing Part2 # Canonical Order Test 1362s # Processing Part3 # PRI #29 Test 1362s # Processing Part4 # Canonical closures (excluding Hangul) 1362s # Processing Part5 # Chained primary composites 1362s ok 1 /unicode/normalize 1362s # Invalid UTF-8 vector 0 1362s # Invalid UTF-8 vector 1 1362s # Invalid UTF-8 vector 2 1362s # Invalid UTF-8 vector 3 1362s # Invalid UTF-8 vector 4 1362s # Invalid UTF-8 vector 5 1362s # Invalid UTF-8 vector 6 1362s # Invalid UTF-8 vector 7 1362s # Invalid UTF-8 vector 8 1362s # Invalid UTF-8 vector 9 1362s # Invalid UTF-8 vector 10 1362s # Invalid UTF-8 vector 11 1362s # Invalid UTF-8 vector 12 1362s ok 2 /unicode/normalize-invalid 1362s # Start of normalize tests 1362s ok 3 /unicode/normalize/bad-length 1362s # End of normalize tests 1362s # End of unicode tests 1362s ok - glib/unicode-normalize.test 1362s # Running test: glib/utf8-misc.test 1362s TAP version 14 1362s # random seed: R02S939358943128940052e570bcbea2c6b8 1362s 1..7 1362s # Start of utf8 tests 1362s ok 1 /utf8/strlen 1362s ok 2 /utf8/strncpy 1362s ok 3 /utf8/strrchr 1362s ok 4 /utf8/reverse 1362s ok 5 /utf8/substring 1362s ok 6 /utf8/make-valid 1362s ok 7 /utf8/truncate-middle 1362s ok - glib/utf8-misc.test 1362s # Running test: glib/network-address.test 1362s # End of utf8 tests 1362s TAP version 14 1362s # random seed: R02S0b6d5b39ea8afd4ccb0445314cc72281 1362s 1..72 1362s # Start of network-address tests 1362s ok 1 /network-address/basic 1362s ok 2 /network-address/scope-id 1362s ok 3 /network-address/uri-scope-id 1362s ok 4 /network-address/to-string 1362s # Start of parse-host tests 1362s ok 5 /network-address/parse-host/0 1362s ok 6 /network-address/parse-host/1 1362s ok 7 /network-address/parse-host/2 1362s ok 8 /network-address/parse-host/3 1362s ok 9 /network-address/parse-host/4 1362s ok 10 /network-address/parse-host/5 1362s ok 11 /network-address/parse-host/6 1362s ok 12 /network-address/parse-host/7 1362s ok 13 /network-address/parse-host/8 1362s ok 14 /network-address/parse-host/9 1362s ok 15 /network-address/parse-host/10 1362s ok 16 /network-address/parse-host/11 1362s ok 17 /network-address/parse-host/12 1362s ok 18 /network-address/parse-host/13 1362s # End of parse-host tests 1362s # Start of parse-uri tests 1362s ok 19 /network-address/parse-uri/0 1362s ok 20 /network-address/parse-uri/1 1362s ok 21 /network-address/parse-uri/2 1362s ok 22 /network-address/parse-uri/3 1362s ok 23 /network-address/parse-uri/4 1362s ok 24 /network-address/parse-uri/5 1362s ok 25 /network-address/parse-uri/6 1362s ok 26 /network-address/parse-uri/7 1362s ok 27 /network-address/parse-uri/8 1362s ok 28 /network-address/parse-uri/9 1362s # End of parse-uri tests 1362s # Start of resolve-address tests 1362s # Input: 192.168.1.2 1362s ok 29 /network-address/resolve-address/0 1362s # Input: fe80::42 1362s ok 30 /network-address/resolve-address/1 1362s # Input: 192.168.1.2:80 1362s ok 31 /network-address/resolve-address/2 1362s # Input: [fe80::42] 1362s ok 32 /network-address/resolve-address/3 1362s # Input: [fe80::42]:80 1362s ok 33 /network-address/resolve-address/4 1362s # Input: 192.168.258 1362s ok 34 /network-address/resolve-address/5 1362s # Input: 192.11010306 1362s ok 35 /network-address/resolve-address/6 1362s # Input: 3232235778 1362s ok 36 /network-address/resolve-address/7 1362s # Input: 0300.0250.0001.0001 1362s ok 37 /network-address/resolve-address/8 1362s # Input: 0xC0.0xA8.0x01.0x02 1362s ok 38 /network-address/resolve-address/9 1362s # Input: 0xc0.0xa8.0x01.0x02 1362s ok 39 /network-address/resolve-address/10 1362s # Input: 0xc0a80102 1362s ok 40 /network-address/resolve-address/11 1362s # End of resolve-address tests 1362s # Start of loopback tests 1362s ok 41 /network-address/loopback/basic 1362s ok 42 /network-address/loopback/sync 1362s ok 43 /network-address/loopback/async 1362s # End of loopback tests 1362s # Start of localhost tests 1362s ok 44 /network-address/localhost/async 1362s ok 45 /network-address/localhost/sync 1362s # End of localhost tests 1362s # Start of happy-eyeballs tests 1362s ok 46 /network-address/happy-eyeballs/basic 1363s ok 47 /network-address/happy-eyeballs/parallel 1363s ok 48 /network-address/happy-eyeballs/slow-ipv4 1363s ok 49 /network-address/happy-eyeballs/slow-ipv6 1363s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1363s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1363s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1364s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1364s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1364s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1364s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1364s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1364s # /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. 1364s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1364s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1364s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1364s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1364s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1364s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1364s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1364s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1364s ok 57 /network-address/happy-eyeballs/both-error 1364s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1364s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1364s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1364s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1364s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1364s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1364s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1364s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1364s # End of happy-eyeballs tests 1364s # End of network-address tests 1364s # Start of gresolver tests 1364s # Start of resolve-address tests 1364s # Input: 192.168.1.2 1364s ok 61 /gresolver/resolve-address/0 1364s # Input: fe80::42 1364s ok 62 /gresolver/resolve-address/1 1364s # Input: 192.168.1.2:80 1364s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 192.168.1.2:80 1364s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1364s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1364s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 1364s # Error: Error resolving “192.168.1.2:80”: Name or service not known 1364s ok 63 /gresolver/resolve-address/2 1364s # Input: [fe80::42] 1364s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42] 1364s # Error: Error resolving “[fe80::42]”: Name or service not known 1364s ok 64 /gresolver/resolve-address/3 1364s # Input: [fe80::42]:80 1364s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]:80 1364s # Error: Error resolving “[fe80::42]:80”: Name or service not known 1364s ok 65 /gresolver/resolve-address/4 1364s # Input: 192.168.258 1364s # Error: Error resolving “192.168.258”: Name or service not known 1364s ok 66 /gresolver/resolve-address/5 1364s # Input: 192.11010306 1364s # Error: Error resolving “192.11010306”: Name or service not known 1364s ok 67 /gresolver/resolve-address/6 1364s # Input: 3232235778 1364s # Error: Error resolving “3232235778”: Name or service not known 1364s ok 68 /gresolver/resolve-address/7 1364s # Input: 0300.0250.0001.0001 1364s # Error: Error resolving “0300.0250.0001.0001”: Name or service not known 1364s ok 69 /gresolver/resolve-address/8 1364s # Input: 0xC0.0xA8.0x01.0x02 1364s # Error: Error resolving “0xC0.0xA8.0x01.0x02”: Name or service not known 1364s ok 70 /gresolver/resolve-address/9 1364s # Input: 0xc0.0xa8.0x01.0x02 1364s # Error: Error resolving “0xc0.0xa8.0x01.0x02”: Name or service not known 1364s ok 71 /gresolver/resolve-address/10 1364s # Input: 0xc0a80102 1364s # Error: Error resolving “0xc0a80102”: Name or service not known 1364s ok 72 /gresolver/resolve-address/11 1364s # End of resolve-address tests 1364s # End of gresolver tests 1364s ok - glib/network-address.test 1364s # Running test: glib/array-test.test 1364s TAP version 14 1364s # random seed: R02S2efcb652ab3442ec859ee48b5cdc6118 1364s 1..120 1364s # Start of array tests 1364s ok 1 /array/ref-count 1364s ok 2 /array/steal 1364s ok 3 /array/clear-func 1364s ok 4 /array/binary-search 1364s ok 5 /array/overflow-append-vals 1364s ok 6 /array/overflow-set-size 1364s # Start of new tests 1364s ok 7 /array/new/zero-terminated 1364s ok 8 /array/new/take 1364s ok 9 /array/new/take-zero-terminated 1364s # Start of take tests 1364s ok 10 /array/new/take/empty 1364s ok 11 /array/new/take/overflow 1364s ok 12 /array/new/take/zero-size 1364s # End of take tests 1364s # Start of take-zero-terminated tests 1364s ok 13 /array/new/take-zero-terminated/zero-size 1364s ok 14 /array/new/take-zero-terminated/null 1364s # End of take-zero-terminated tests 1364s # End of new tests 1364s # Start of copy tests 1364s # /array/copy/sized summary: Test that copying a newly-allocated sized array works. 1364s ok 15 /array/copy/sized 1364s ok 16 /array/copy/zero-terminated 1364s ok 17 /array/copy/non-zero-terminated-no-clear 1364s ok 18 /array/copy/non-zero-terminated-clear 1364s ok 19 /array/copy/zero-terminated-no-clear 1364s ok 20 /array/copy/zero-terminated-clear 1364s # End of copy tests 1364s # Start of remove-range tests 1364s ok 21 /array/remove-range/zero-terminated-null 1364s ok 22 /array/remove-range/non-zero-terminated-no-clear 1364s ok 23 /array/remove-range/non-zero-terminated-clear 1364s ok 24 /array/remove-range/zero-terminated-no-clear 1364s ok 25 /array/remove-range/zero-terminated-clear 1364s # End of remove-range tests 1364s # Start of set-size tests 1364s ok 26 /array/set-size/zero-terminated-null 1364s ok 27 /array/set-size/non-zero-terminated-no-clear 1364s ok 28 /array/set-size/non-zero-terminated-clear 1364s ok 29 /array/set-size/zero-terminated-no-clear 1364s ok 30 /array/set-size/zero-terminated-clear 1364s # Start of sized tests 1364s ok 31 /array/set-size/sized/non-zero-terminated-no-clear 1364s ok 32 /array/set-size/sized/non-zero-terminated-clear 1364s ok 33 /array/set-size/sized/zero-terminated-no-clear 1364s ok 34 /array/set-size/sized/zero-terminated-clear 1364s # End of sized tests 1364s # End of set-size tests 1364s # Start of append-val tests 1364s ok 35 /array/append-val/non-zero-terminated-no-clear 1364s ok 36 /array/append-val/non-zero-terminated-clear 1364s ok 37 /array/append-val/zero-terminated-no-clear 1364s ok 38 /array/append-val/zero-terminated-clear 1364s # End of append-val tests 1364s # Start of prepend-val tests 1364s ok 39 /array/prepend-val/non-zero-terminated-no-clear 1364s ok 40 /array/prepend-val/non-zero-terminated-clear 1364s ok 41 /array/prepend-val/zero-terminated-no-clear 1364s ok 42 /array/prepend-val/zero-terminated-clear 1364s # End of prepend-val tests 1364s # Start of prepend-vals tests 1364s ok 43 /array/prepend-vals/non-zero-terminated-no-clear 1364s ok 44 /array/prepend-vals/non-zero-terminated-clear 1364s ok 45 /array/prepend-vals/zero-terminated-no-clear 1364s ok 46 /array/prepend-vals/zero-terminated-clear 1364s # End of prepend-vals tests 1364s # Start of insert-vals tests 1364s ok 47 /array/insert-vals/non-zero-terminated-no-clear 1364s ok 48 /array/insert-vals/non-zero-terminated-clear 1364s ok 49 /array/insert-vals/zero-terminated-no-clear 1364s ok 50 /array/insert-vals/zero-terminated-clear 1364s # End of insert-vals tests 1364s # Start of remove-index tests 1364s ok 51 /array/remove-index/non-zero-terminated-no-clear 1364s ok 52 /array/remove-index/non-zero-terminated-clear 1364s ok 53 /array/remove-index/zero-terminated-no-clear 1364s ok 54 /array/remove-index/zero-terminated-clear 1364s # End of remove-index tests 1364s # Start of remove-index-fast tests 1364s ok 55 /array/remove-index-fast/non-zero-terminated-no-clear 1364s ok 56 /array/remove-index-fast/non-zero-terminated-clear 1364s ok 57 /array/remove-index-fast/zero-terminated-no-clear 1364s ok 58 /array/remove-index-fast/zero-terminated-clear 1364s # End of remove-index-fast tests 1364s # Start of sort tests 1364s ok 59 /array/sort/non-zero-terminated-no-clear 1364s ok 60 /array/sort/non-zero-terminated-clear 1364s ok 61 /array/sort/zero-terminated-no-clear 1364s ok 62 /array/sort/zero-terminated-clear 1364s # End of sort tests 1364s # Start of sort-with-data tests 1364s ok 63 /array/sort-with-data/non-zero-terminated-no-clear 1364s ok 64 /array/sort-with-data/non-zero-terminated-clear 1364s ok 65 /array/sort-with-data/zero-terminated-no-clear 1364s ok 66 /array/sort-with-data/zero-terminated-clear 1364s # End of sort-with-data tests 1364s # End of array tests 1364s # Start of pointerarray tests 1364s ok 67 /pointerarray/add 1364s ok 68 /pointerarray/insert 1364s ok 69 /pointerarray/new-take 1364s ok 70 /pointerarray/new-take-null-terminated 1364s ok 71 /pointerarray/new-from-array 1364s ok 72 /pointerarray/new-from-null-terminated-array 1364s ok 73 /pointerarray/free-func 1364s ok 74 /pointerarray/array_extend_and_steal 1364s ok 75 /pointerarray/sort 1364s ok 76 /pointerarray/sort-with-data 1364s ok 77 /pointerarray/sort-values 1364s ok 78 /pointerarray/sort-values-with-data 1364s ok 79 /pointerarray/remove-range 1364s ok 80 /pointerarray/steal 1364s # Start of free tests 1364s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1364s ok 81 /pointerarray/free/null-terminated 1364s # End of free tests 1364s # Start of new-take tests 1364s ok 82 /pointerarray/new-take/empty 1364s ok 83 /pointerarray/new-take/overflow 1364s ok 84 /pointerarray/new-take/with-free-func 1364s # End of new-take tests 1364s # Start of new-take-null-terminated tests 1364s ok 85 /pointerarray/new-take-null-terminated/empty 1364s ok 86 /pointerarray/new-take-null-terminated/with-free-func 1364s ok 87 /pointerarray/new-take-null-terminated/from-gstrv 1364s # End of new-take-null-terminated tests 1364s # Start of new-from-array tests 1364s ok 88 /pointerarray/new-from-array/empty 1364s ok 89 /pointerarray/new-from-array/overflow 1364s ok 90 /pointerarray/new-from-array/with-copy-and-free-func 1364s # End of new-from-array tests 1364s # Start of new-from-null-terminated-array tests 1364s ok 91 /pointerarray/new-from-null-terminated-array/empty 1364s ok 92 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1364s ok 93 /pointerarray/new-from-null-terminated-array/from-gstrv 1364s # End of new-from-null-terminated-array tests 1364s # Start of ref-count tests 1364s ok 94 /pointerarray/ref-count/not-null-terminated 1364s ok 95 /pointerarray/ref-count/null-terminated 1364s # End of ref-count tests 1364s # Start of array_copy tests 1364s # /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 1364s ok 96 /pointerarray/array_copy/not-null-terminated 1364s # /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 1364s ok 97 /pointerarray/array_copy/null-terminated 1364s # End of array_copy tests 1364s # Start of array_extend tests 1364s ok 98 /pointerarray/array_extend/not-null-terminated 1364s ok 99 /pointerarray/array_extend/null-terminated 1364s # End of array_extend tests 1364s ok - glib/array-test.test 1364s # Running test: glib/overflow.test 1364s ok - glib/overflow.test 1364s # Running test: glib/rand.test 1364s # Start of sort tests 1364s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1364s ok 100 /pointerarray/sort/example 1364s # End of sort tests 1364s # Start of sort-with-data tests 1364s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1364s ok 101 /pointerarray/sort-with-data/example 1364s # End of sort-with-data tests 1364s # Start of sort-values tests 1364s ok 102 /pointerarray/sort-values/example 1364s # End of sort-values tests 1364s # Start of sort-values-with-data tests 1364s ok 103 /pointerarray/sort-values-with-data/example 1364s # End of sort-values-with-data tests 1364s # Start of find tests 1364s ok 104 /pointerarray/find/empty 1364s ok 105 /pointerarray/find/non-empty 1364s # End of find tests 1364s # Start of steal_index tests 1364s ok 106 /pointerarray/steal_index/not-null-terminated 1364s ok 107 /pointerarray/steal_index/null-terminated 1364s # End of steal_index tests 1364s # End of pointerarray tests 1364s # Start of bytearray tests 1364s ok 108 /bytearray/steal 1364s ok 109 /bytearray/append 1364s ok 110 /bytearray/prepend 1364s ok 111 /bytearray/remove 1364s ok 112 /bytearray/remove-fast 1364s ok 113 /bytearray/remove-range 1364s ok 114 /bytearray/ref-count 1364s ok 115 /bytearray/set-size 1364s ok 116 /bytearray/sort 1364s ok 117 /bytearray/sort-with-data 1364s ok 118 /bytearray/new-take 1364s ok 119 /bytearray/new-take-overflow 1364s ok 120 /bytearray/free-to-bytes 1364s # End of bytearray tests 1364s TAP version 14 1364s # random seed: R02S2f041355da274e8acd283d69e96f3ab2 1364s 1..6 1364s # Start of glib tests 1364s # Start of checked-math tests 1364s ok 1 /glib/checked-math/guint-add 1364s ok 2 /glib/checked-math/guint-mul 1364s ok 3 /glib/checked-math/guint64-add 1364s ok 4 /glib/checked-math/guint64-mul 1364s ok 5 /glib/checked-math/gsize-add 1364s ok 6 /glib/checked-math/gsize-mul 1364s # End of checked-math tests 1364s # End of glib tests 1364s TAP version 14 1364s # random seed: R02Sfde2bbeafbb96599d4af8f8b458fab14 1364s 1..2 1364s # Start of rand tests 1364s ok - glib/rand.test 1364s ok 1 /rand/test-rand 1364s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1364s ok 2 /rand/double-range 1364s # End of rand tests 1364s # Running test: glib/properties-introspection.test 1364s ok - glib/properties-introspection.test 1364s # Running test: glib/value.test 1364s TAP version 14 1364s # random seed: R02Sb412df14a0a59d0b6d02f27a4e6edcf7 1364s 1..2 1364s # Start of properties tests 1364s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1364s ok 1 /properties/introspection 1364s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1364s ok 2 /properties/collision 1364s # End of properties tests 1364s TAP version 14 1364s # random seed: R02Sdaea10bc0b6a77b72771f96bcb9c6787 1364s 1..9 1364s # Start of value tests 1364s ok 1 /value/basic 1364s ok 2 /value/collection 1364s ok 3 /value/copying 1364s ok 4 /value/enum-transformation 1364s ok 5 /value/gtype 1364s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1364s ok 6 /value/string 1364s # Next: GObject object in GValue of GObject to GValue of GObject 1364s # Next: GObject object in GValue of GObject to GValue of TestInterface 1364s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1364s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1364s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1364s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1364s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1364s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1364s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1364s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1364s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1364s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1364s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1364s ok - glib/value.test 1364s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1364s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1364s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1364s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1364s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1364s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1364s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1364s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1364s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1364s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1364s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1364s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1364s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1364s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1364s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1364s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1364s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1364s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1364s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1364s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1364s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1364s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1364s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1364s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1364s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1364s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1364s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1364s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1364s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1364s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1364s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1364s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1364s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1364s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1364s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1364s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1364s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1364s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1364s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1364s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1364s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1364s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1364s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1364s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1364s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1364s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1364s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1364s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1364s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1364s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1364s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1364s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1364s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1364s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1364s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1364s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1364s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1364s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1364s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1364s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1364s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1364s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1364s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1364s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1364s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1364s ok 7 /value/transform-object 1364s # Start of array tests 1364s ok 8 /value/array/basic 1364s ok 9 /value/array/sort-with-data 1364s # End of array tests 1364s # End of value tests 1364s # Running test: glib/resolver-parsing.test 1364s TAP version 14 1364s # random seed: R02S0b4eb437d9ae76e6d269fd2945555e80 1364s 1..21 1364s # Start of gresolver tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/invalid-header/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/invalid-header/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/invalid-header/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/invalid-header/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/invalid-header/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/invalid-header/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/invalid-header/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/invalid-header/.dirs/runtime 1364s ok 1 /gresolver/invalid-header 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/record-ownership/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/record-ownership/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/record-ownership/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/record-ownership/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/record-ownership/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/record-ownership/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/record-ownership/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/record-ownership/.dirs/runtime 1364s ok 2 /gresolver/record-ownership 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/unknown-record-type/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/unknown-record-type/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/unknown-record-type/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/unknown-record-type/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/unknown-record-type/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/unknown-record-type/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/unknown-record-type/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/unknown-record-type/.dirs/runtime 1364s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1364s ok 3 /gresolver/unknown-record-type 1364s # Start of mx tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/valid/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/valid/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/valid/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/valid/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/valid/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/valid/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/valid/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/valid/.dirs/runtime 1364s ok 4 /gresolver/mx/valid 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/.dirs/runtime 1364s ok 5 /gresolver/mx/invalid 1364s # Start of invalid tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short/.dirs/runtime 1364s ok 6 /gresolver/mx/invalid/too-short 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short2/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short2/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short2/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short2/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short2/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short2/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short2/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/mx/invalid/too-short2/.dirs/runtime 1364s ok 7 /gresolver/mx/invalid/too-short2 1364s # End of invalid tests 1364s # End of mx tests 1364s # Start of ns tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/valid/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/valid/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/valid/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/valid/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/valid/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/valid/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/valid/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/valid/.dirs/runtime 1364s ok 8 /gresolver/ns/valid 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/invalid/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/invalid/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/invalid/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/invalid/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/invalid/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/invalid/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/invalid/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/ns/invalid/.dirs/runtime 1364s ok 9 /gresolver/ns/invalid 1364s # End of ns tests 1364s # Start of soa tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/valid/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/valid/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/valid/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/valid/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/valid/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/valid/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/valid/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/valid/.dirs/runtime 1364s ok 10 /gresolver/soa/valid 1364s # Start of invalid tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/mname/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/mname/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/mname/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/mname/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/mname/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/mname/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/mname/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/mname/.dirs/runtime 1364s ok 11 /gresolver/soa/invalid/mname 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/rname/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/rname/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/rname/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/rname/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/rname/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/rname/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/rname/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/rname/.dirs/runtime 1364s ok 12 /gresolver/soa/invalid/rname 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/too-short/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/too-short/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/too-short/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/too-short/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/too-short/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/too-short/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/too-short/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/soa/invalid/too-short/.dirs/runtime 1364s ok 13 /gresolver/soa/invalid/too-short 1364s # End of invalid tests 1364s # End of soa tests 1364s # Start of srv tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/valid/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/valid/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/valid/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/valid/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/valid/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/valid/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/valid/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/valid/.dirs/runtime 1364s ok 14 /gresolver/srv/valid 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/.dirs/runtime 1364s ok 15 /gresolver/srv/invalid 1364s # Start of invalid tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short/.dirs/runtime 1364s ok 16 /gresolver/srv/invalid/too-short 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short2/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short2/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short2/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short2/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short2/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short2/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short2/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/srv/invalid/too-short2/.dirs/runtime 1364s ok 17 /gresolver/srv/invalid/too-short2 1364s # End of invalid tests 1364s # End of srv tests 1364s # Start of txt tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/.dirs/runtime 1364s ok 18 /gresolver/txt/valid 1364s # Start of valid tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/multiple-strings/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/multiple-strings/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/multiple-strings/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/multiple-strings/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/multiple-strings/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/valid/multiple-strings/.dirs/runtime 1364s ok 19 /gresolver/txt/valid/multiple-strings 1364s # End of valid tests 1364s # Start of invalid tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/empty/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/empty/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/empty/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/empty/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/empty/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/empty/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/empty/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/empty/.dirs/runtime 1364s ok 20 /gresolver/txt/invalid/empty 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/overflow/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/overflow/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/overflow/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/overflow/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/overflow/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/overflow/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/overflow/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_IEQ7J3/gresolver/txt/invalid/overflow/.dirs/runtime 1364s ok 21 /gresolver/txt/invalid/overflow 1364s # End of invalid tests 1364s # End of txt tests 1364s # End of gresolver tests 1364s TAP version 14 1364s # random seed: R02S551b8b6fae1a52f13892a5b1d0202694 1364s ok - glib/resolver-parsing.test 1364s # Running test: glib/param.test 1364s 1..32 1364s # Start of param tests 1364s ok 1 /param/value 1364s ok 2 /param/strings 1364s ok 3 /param/qdata 1364s ok 4 /param/validate 1364s ok 5 /param/convert 1364s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1364s ok 7 /param/default 1364s ok 8 /param/is-valid-name 1364s # Start of invalid-name tests 1364s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1364s ok 9 /param/invalid-name/colon 1364s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1364s ok 10 /param/invalid-name/first-char 1364s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1364s ok 11 /param/invalid-name/empty 1364s # End of invalid-name tests 1364s # Start of implement tests 1364s # Start of subprocess tests 1364s # End of subprocess tests 1364s # End of implement tests 1364s # End of param tests 1364s # Start of value tests 1364s ok 12 /value/transform 1364s # End of value tests 1364s # Start of paramspec tests 1364s ok 13 /paramspec/char 1364s ok 14 /paramspec/uchar 1364s ok 15 /paramspec/int 1364s ok 16 /paramspec/uint 1364s ok 17 /paramspec/long 1364s ok 18 /paramspec/ulong 1364s ok 19 /paramspec/int64 1364s ok 20 /paramspec/uint64 1364s ok 21 /paramspec/float 1364s ok 22 /paramspec/double 1364s ok 23 /paramspec/unichar 1364s ok 24 /paramspec/param 1364s ok 25 /paramspec/null-param 1364s ok 26 /paramspec/string 1364s ok 27 /paramspec/override 1364s ok 28 /paramspec/gtype 1364s ok 29 /paramspec/variant 1364s ok 30 /paramspec/custom 1364s ok 31 /paramspec/pool 1364s # Start of variant tests 1364s ok 32 /paramspec/variant/cmp 1364s # End of variant tests 1364s # End of paramspec tests 1364s ok - glib/param.test 1364s # Running test: glib/type-flags.test 1364s TAP version 14 1364s # random seed: R02S664152b8066d1080eec45b7969acdcb3 1364s 1..4 1364s # Start of type tests 1364s # Start of flags tests 1364s ok 1 /type/flags/interface 1364s ok 2 /type/flags/final 1364s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1364s ok 3 /type/flags/deprecated 1364s # Start of final tests 1364s ok 4 /type/flags/final/instance-check 1364s # End of final tests 1364s # End of flags tests 1364s # End of type tests 1364s ok - glib/type-flags.test 1364s # Running test: glib/test-printf.test 1364s TAP version 14 1364s # random seed: R02Sefc203f822f34f947bf58bdd068943bb 1364s 1..24 1364s # Start of snprintf tests 1364s ok 1 /snprintf/retval-and-trunc 1364s ok 2 /snprintf/%d 1364s ok 3 /snprintf/%d-invalid 1364s ok 4 /snprintf/%o 1364s ok 5 /snprintf/%u 1364s ok 6 /snprintf/%x 1364s ok 7 /snprintf/%X 1364s ok 8 /snprintf/%f 1364s ok 9 /snprintf/%e 1364s ok 10 /snprintf/%c 1364s ok 11 /snprintf/%s 1364s ok 12 /snprintf/%n 1364s ok 13 /snprintf/test-percent 1364s ok 14 /snprintf/test-positional-params 1364s ok 15 /snprintf/test-64bit 1364s ok 16 /snprintf/produce-embedded-nulls 1364s # End of snprintf tests 1364s # Start of printf tests 1364s ok 17 /printf/test-percent 1364s ok 18 /printf/test-positional-params 1364s ok 19 /printf/test-64bit 1364s # Start of test-64bit tests 1364s # Start of subprocess tests 1364s # End of subprocess tests 1364s # End of test-64bit tests 1364s # End of printf tests 1364s # Start of fprintf tests 1364s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3761 1364s # /fprintf/produce-embedded-nulls summary: printf() functions can produce strings with embedded null characters. That happens when passing individual characters (%c) with value ' 1364s ok 20 /fprintf/produce-embedded-nulls 1364s # End of fprintf tests 1364s # Start of sprintf tests 1364s ok 21 /sprintf/test-positional-params 1364s ok 22 /sprintf/upper-bound 1364s # End of sprintf tests 1364s # Start of vasprintf tests 1364s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1364s ok 23 /vasprintf/invalid-format-placeholder 1364s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1364s ok 24 /vasprintf/invalid-wide-string 1364s # End of vasprintf tests 1364s ok - glib/test-printf.test 1364s # Running test: glib/memory-monitor-psi.test 1364s TAP version 14 1364s # random seed: R02Sadf39da18a7e980fd7208d671a789917 1364s 1..1 1364s # Start of memory-monitor-psi tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_memory-monitor-psi_L36DK3/memory-monitor-psi/receive-signal/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_memory-monitor-psi_L36DK3/memory-monitor-psi/receive-signal/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_memory-monitor-psi_L36DK3/memory-monitor-psi/receive-signal/.dirs/system-config1:/tmp/test_memory-monitor-psi_L36DK3/memory-monitor-psi/receive-signal/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_memory-monitor-psi_L36DK3/memory-monitor-psi/receive-signal/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_memory-monitor-psi_L36DK3/memory-monitor-psi/receive-signal/.dirs/system-data1:/tmp/test_memory-monitor-psi_L36DK3/memory-monitor-psi/receive-signal/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_memory-monitor-psi_L36DK3/memory-monitor-psi/receive-signal/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_memory-monitor-psi_L36DK3/memory-monitor-psi/receive-signal/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_memory-monitor-psi_L36DK3/memory-monitor-psi/receive-signal/.dirs/runtime 1364s # GLib-GIO-DEBUG: Write trigger some 70000 2000000 1364s # GLib-GIO-DEBUG: Write trigger some 100000 2000000 1364s # GLib-GIO-DEBUG: Write trigger full 100000 2000000 1364s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 1364s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 1364s ok 1 /memory-monitor-psi/receive-signal 1364s # End of memory-monitor-psi tests 1364s ok - glib/memory-monitor-psi.test 1364s # Running test: glib/gdbus-proxy-unique-name.test 1364s TAP version 14 1364s # random seed: R02S68fdf680fb2cc012f35f43e0d52011fc 1364s 1..1 1364s # Start of gdbus tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_SI5DK3/gdbus/proxy-unique-name/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_SI5DK3/gdbus/proxy-unique-name/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_SI5DK3/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_SI5DK3/gdbus/proxy-unique-name/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_SI5DK3/gdbus/proxy-unique-name/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_SI5DK3/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_SI5DK3/gdbus/proxy-unique-name/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_SI5DK3/gdbus/proxy-unique-name/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_SI5DK3/gdbus/proxy-unique-name/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_SI5DK3/gdbus/proxy-unique-name/.dirs/runtime 1364s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1364s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1364s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1364s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1364s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1364s ok 1 /gdbus/proxy-unique-name 1364s # End of gdbus tests 1364s ok - glib/gdbus-proxy-unique-name.test 1364s # Running test: glib/repository-search-paths.test 1364s TAP version 14 1364s # random seed: R02S51d9c66bdc4ec520bb85741b1029ee14 1364s 1..4 1364s # Start of repository tests 1364s # Start of search-paths tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_RYEFK3/repository/search-paths/default/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_RYEFK3/repository/search-paths/default/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_RYEFK3/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_RYEFK3/repository/search-paths/default/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_RYEFK3/repository/search-paths/default/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_RYEFK3/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_RYEFK3/repository/search-paths/default/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_RYEFK3/repository/search-paths/default/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_RYEFK3/repository/search-paths/default/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_RYEFK3/repository/search-paths/default/.dirs/runtime 1364s ok 1 /repository/search-paths/default 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_RYEFK3/repository/search-paths/prepend/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_RYEFK3/repository/search-paths/prepend/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_RYEFK3/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_RYEFK3/repository/search-paths/prepend/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_RYEFK3/repository/search-paths/prepend/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_RYEFK3/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_RYEFK3/repository/search-paths/prepend/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_RYEFK3/repository/search-paths/prepend/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_RYEFK3/repository/search-paths/prepend/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_RYEFK3/repository/search-paths/prepend/.dirs/runtime 1364s ok 2 /repository/search-paths/prepend 1364s # End of search-paths tests 1364s # Start of library-paths tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_RYEFK3/repository/library-paths/default/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_RYEFK3/repository/library-paths/default/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_RYEFK3/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_RYEFK3/repository/library-paths/default/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_RYEFK3/repository/library-paths/default/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_RYEFK3/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_RYEFK3/repository/library-paths/default/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_RYEFK3/repository/library-paths/default/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_RYEFK3/repository/library-paths/default/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_RYEFK3/repository/library-paths/default/.dirs/runtime 1364s ok 3 /repository/library-paths/default 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_RYEFK3/repository/library-paths/prepend/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_RYEFK3/repository/library-paths/prepend/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_RYEFK3/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_RYEFK3/repository/library-paths/prepend/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_RYEFK3/repository/library-paths/prepend/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_RYEFK3/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_RYEFK3/repository/library-paths/prepend/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_RYEFK3/repository/library-paths/prepend/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_RYEFK3/repository/library-paths/prepend/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_RYEFK3/repository/library-paths/prepend/.dirs/runtime 1364s ok 4 /repository/library-paths/prepend 1364s # End of library-paths tests 1364s # End of repository tests 1364s ok - glib/repository-search-paths.test 1364s # Running test: glib/strfuncs.test 1364s TAP version 14 1364s # random seed: R02S244f0c3cf87b1ce4fc2ad32b6c08c273 1364s 1..52 1364s # Start of strfuncs tests 1364s ok 1 /strfuncs/ascii-strcasecmp 1364s ok 2 /strfuncs/ascii_strdown 1364s ok 3 /strfuncs/ascii_strdup 1364s ok 4 /strfuncs/ascii_strtod 1364s ok 5 /strfuncs/bounds-check 1364s ok 6 /strfuncs/has-prefix 1364s ok 7 /strfuncs/has-prefix-macro 1364s ok 8 /strfuncs/has-suffix 1364s ok 9 /strfuncs/has-suffix-macro 1364s ok 10 /strfuncs/memdup 1364s ok 11 /strfuncs/memdup2 1364s ok 12 /strfuncs/set_str 1364s ok 13 /strfuncs/stpcpy 1364s ok 14 /strfuncs/str_match_string 1364s ok 15 /strfuncs/str_tokenize_and_fold 1364s ok 16 /strfuncs/strcanon 1364s ok 17 /strfuncs/strchomp 1364s ok 18 /strfuncs/strchug 1364s ok 19 /strfuncs/strcompress-strescape 1364s ok 20 /strfuncs/strconcat 1364s ok 21 /strfuncs/strdelimit 1364s ok 22 /strfuncs/strdup 1364s ok 23 /strfuncs/strdup-printf 1364s ok 24 /strfuncs/strdupv 1364s ok 25 /strfuncs/strerror 1364s ok 26 /strfuncs/strip-context 1364s ok 27 /strfuncs/strjoin 1364s ok 28 /strfuncs/strjoinv 1364s ok 29 /strfuncs/strlcat 1364s ok 30 /strfuncs/strlcpy 1364s ok 31 /strfuncs/strncasecmp 1364s ok 32 /strfuncs/strndup 1364s ok 33 /strfuncs/strnfill 1364s ok 34 /strfuncs/strreverse 1364s ok 35 /strfuncs/strsignal 1364s ok 36 /strfuncs/strsplit 1364s ok 37 /strfuncs/strsplit-set 1364s ok 38 /strfuncs/strstr 1364s ok 39 /strfuncs/strtod 1364s ok 40 /strfuncs/strtoull-strtoll 1364s ok 41 /strfuncs/strup 1364s ok 42 /strfuncs/strv-contains 1364s ok 43 /strfuncs/strv-equal 1364s ok 44 /strfuncs/strv-length 1364s ok 45 /strfuncs/test-is-to-digit 1364s ok 46 /strfuncs/transliteration 1364s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1364s ok 47 /strfuncs/str-equal 1364s ok 48 /strfuncs/str-is-ascii 1364s # Start of ascii-string-to-num tests 1364s ok 49 /strfuncs/ascii-string-to-num/pathological 1364s ok 50 /strfuncs/ascii-string-to-num/usual 1364s # End of ascii-string-to-num tests 1364s # Start of strdup tests 1364s ok 51 /strfuncs/strdup/inline 1364s # End of strdup tests 1364s # Start of strjoinv tests 1364s ok 52 /strfuncs/strjoinv/overflow # SKIP Overflow joining strings requires G_MAXSIZE <= G_MAXUINT. 1364s # End of strjoinv tests 1364s # End of strfuncs tests 1364s ok - glib/strfuncs.test 1364s # Running test: glib/macros-c-23.test 1364s TAP version 14 1364s # random seed: R02S767ff00aaeb884c107b946827d7b61a1 1364s 1..4 1364s # Start of C tests 1364s # G_C_STD_VERSION is 202311 1364s ok 1 /C/standard-23 1364s # End of C tests 1364s # Start of alignof tests 1364s ok 2 /alignof/fallback 1364s # End of alignof tests 1364s # Start of assert tests 1364s ok 3 /assert/static 1364s # End of assert tests 1364s # Start of struct tests 1364s ok 4 /struct/sizeof_member 1364s # End of struct tests 1364s ok - glib/macros-c-23.test 1364s # Running test: glib/queue.test 1364s TAP version 14 1364s # random seed: R02S10b602a255074b512399d79d51666a41 1364s 1..12 1364s # Start of queue tests 1364s ok 1 /queue/basic 1364s ok 2 /queue/copy 1364s ok 3 /queue/off-by-one 1364s ok 4 /queue/find-custom 1364s ok 5 /queue/static 1364s ok 6 /queue/clear 1364s ok 7 /queue/free-full 1364s ok 8 /queue/clear-full 1364s ok 9 /queue/insert-sibling-link 1364s ok 10 /queue/push-nth-link 1364s # Start of clear-full tests 1364s ok 11 /queue/clear-full/noop 1364s # End of clear-full tests 1364s # Start of random tests 1364s ok 12 /queue/random/seed:543937067 1364s # End of random tests 1364s # End of queue tests 1364s ok - glib/queue.test 1364s # Running test: glib/portal-support-flatpak-none.test 1364s TAP version 14 1364s # random seed: R02S7acc2e0b2ba2e4a18edc96b508a1a64a 1364s 1..1 1364s # Start of portal-support tests 1364s # Start of flatpak tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_D1QHK3/portal-support/flatpak/none/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_D1QHK3/portal-support/flatpak/none/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_D1QHK3/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_D1QHK3/portal-support/flatpak/none/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_D1QHK3/portal-support/flatpak/none/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_D1QHK3/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_D1QHK3/portal-support/flatpak/none/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_D1QHK3/portal-support/flatpak/none/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_D1QHK3/portal-support/flatpak/none/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_D1QHK3/portal-support/flatpak/none/.dirs/runtime 1364s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_D1QHK3/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1364s ok 1 /portal-support/flatpak/none 1364s # End of flatpak tests 1364s # End of portal-support tests 1364s ok - glib/portal-support-flatpak-none.test 1364s # Running test: glib/dump.test 1364s TAP version 14 1364s # random seed: R02Sd254913408702f3fe471cbea822fe388 1364s 1..5 1364s # Start of dump tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_56IHK3/dump/empty-file/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_56IHK3/dump/empty-file/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_56IHK3/dump/empty-file/.dirs/system-config1:/tmp/test_dump_56IHK3/dump/empty-file/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_56IHK3/dump/empty-file/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_56IHK3/dump/empty-file/.dirs/system-data1:/tmp/test_dump_56IHK3/dump/empty-file/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_56IHK3/dump/empty-file/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_56IHK3/dump/empty-file/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_56IHK3/dump/empty-file/.dirs/runtime 1364s ok 1 /dump/empty-file 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_56IHK3/dump/missing-get-type/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_56IHK3/dump/missing-get-type/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_56IHK3/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_56IHK3/dump/missing-get-type/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_56IHK3/dump/missing-get-type/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_56IHK3/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_56IHK3/dump/missing-get-type/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_56IHK3/dump/missing-get-type/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_56IHK3/dump/missing-get-type/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_56IHK3/dump/missing-get-type/.dirs/runtime 1364s Invalid GType function: 'does_not_exist_get_type' 1364s ok 2 /dump/missing-get-type 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_56IHK3/dump/missing-quark/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_56IHK3/dump/missing-quark/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_56IHK3/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_56IHK3/dump/missing-quark/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_56IHK3/dump/missing-quark/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_56IHK3/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_56IHK3/dump/missing-quark/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_56IHK3/dump/missing-quark/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_56IHK3/dump/missing-quark/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_56IHK3/dump/missing-quark/.dirs/runtime 1364s Invalid error quark function: 'does_not_exist_error' 1364s ok 3 /dump/missing-quark 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_56IHK3/dump/basic/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_56IHK3/dump/basic/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_56IHK3/dump/basic/.dirs/system-config1:/tmp/test_dump_56IHK3/dump/basic/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_56IHK3/dump/basic/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_56IHK3/dump/basic/.dirs/system-data1:/tmp/test_dump_56IHK3/dump/basic/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_56IHK3/dump/basic/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_56IHK3/dump/basic/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_56IHK3/dump/basic/.dirs/runtime 1364s ok 4 /dump/basic 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_56IHK3/dump/empty-lines/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_56IHK3/dump/empty-lines/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_56IHK3/dump/empty-lines/.dirs/system-config1:/tmp/test_dump_56IHK3/dump/empty-lines/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_56IHK3/dump/empty-lines/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_56IHK3/dump/empty-lines/.dirs/system-data1:/tmp/test_dump_56IHK3/dump/empty-lines/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_56IHK3/dump/empty-lines/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_56IHK3/dump/empty-lines/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_56IHK3/dump/empty-lines/.dirs/runtime 1364s ok 5 /dump/empty-lines 1364s # End of dump tests 1364s ok - glib/dump.test 1364s # Running test: glib/codegen.py.test 1364s TAP version 13 1364s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1364s # gdbus-codegen: /usr/bin/gdbus-codegen 1364s # tmpdir: /tmp/tmpws8gxqm2 1364s # /tmp/tmpws8gxqm2/tmpva5ncoto.xml: 1364s # 1364s # 1364s # 1364s # 1364s # 1364s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpws8gxqm2/tmpva5ncoto.xml', '--output', '-', '--header'] 1364s # Return code: 0 1364s # Output: 1364s # /* 1364s # * This file is generated by gdbus-codegen, do not modify it. 1364s # * 1364s # * The license of this code is the same as for the D-Bus interface description 1364s # * it was derived from. Note that it links to GLib, so must comply with the 1364s # * LGPL linking clauses. 1364s # */ 1364s # 1364s # #ifndef __STDOUT__ 1364s # #define __STDOUT__ 1364s # 1364s # #include 1364s # 1364s # G_BEGIN_DECLS 1364s # 1364s # 1364s # /* ------------------------------------------------------------------------ */ 1364s # /* Declarations for org.project.UsefulInterface */ 1364s # 1364s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1364s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1364s # 1364s # struct _OrgProjectUsefulInterface; 1364s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1364s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1364s # 1364s # struct _OrgProjectUsefulInterfaceIface 1364s # { 1364s # GTypeInterface parent_iface; 1364s # 1364s # gboolean (*handle_useful_method) ( 1364s # OrgProjectUsefulInterface *object, 1364s # GDBusMethodInvocation *invocation); 1364s # 1364s # }; 1364s # 1364s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1364s # 1364s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1364s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1364s # 1364s # 1364s # /* D-Bus method call completion functions: */ 1364s # void org_project_useful_interface_complete_useful_method ( 1364s # OrgProjectUsefulInterface *object, 1364s # GDBusMethodInvocation *invocation); 1364s # 1364s # 1364s # 1364s # /* D-Bus method calls: */ 1364s # void org_project_useful_interface_call_useful_method ( 1364s # OrgProjectUsefulInterface *proxy, 1364s # GCancellable *cancellable, 1364s # GAsyncReadyCallback callback, 1364s # gpointer user_data); 1364s # 1364s # gboolean org_project_useful_interface_call_useful_method_finish ( 1364s # OrgProjectUsefulInterface *proxy, 1364s # GAsyncResult *res, 1364s # GError **error); 1364s # 1364s # gboolean org_project_useful_interface_call_useful_method_sync ( 1364s # OrgProjectUsefulInterface *proxy, 1364s # GCancellable *cancellable, 1364s # GError **error); 1364s # 1364s # 1364s # 1364s # /* ---- */ 1364s # 1364s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1364s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1364s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1364s # 1364s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1364s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1364s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1364s # 1364s # struct _OrgProjectUsefulInterfaceProxy 1364s # { 1364s # /*< private >*/ 1364s # GDBusProxy parent_instance; 1364s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1364s # }; 1364s # 1364s # struct _OrgProjectUsefulInterfaceProxyClass 1364s # { 1364s # GDBusProxyClass parent_class; 1364s # }; 1364s # 1364s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1364s # 1364s # #if GLIB_CHECK_VERSION(2, 44, 0) 1364s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1364s # #endif 1364s # 1364s # void org_project_useful_interface_proxy_new ( 1364s # GDBusConnection *connection, 1364s # GDBusProxyFlags flags, 1364s # const gchar *name, 1364s # const gchar *object_path, 1364s # GCancellable *cancellable, 1364s # GAsyncReadyCallback callback, 1364s # gpointer user_data); 1364s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1364s # GAsyncResult *res, 1364s # GError **error); 1364s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1364s # GDBusConnection *connection, 1364s # GDBusProxyFlags flags, 1364s # const gchar *name, 1364s # const gchar *object_path, 1364s # GCancellable *cancellable, 1364s # GError **error); 1364s # 1364s # void org_project_useful_interface_proxy_new_for_bus ( 1364s # GBusType bus_type, 1364s # GDBusProxyFlags flags, 1364s # const gchar *name, 1364s # const gchar *object_path, 1364s # GCancellable *cancellable, 1364s # GAsyncReadyCallback callback, 1364s # gpointer user_data); 1364s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1364s # GAsyncResult *res, 1364s # GError **error); 1364s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1364s # GBusType bus_type, 1364s # GDBusProxyFlags flags, 1364s # const gchar *name, 1364s # const gchar *object_path, 1364s # GCancellable *cancellable, 1364s # GError **error); 1364s # 1364s # 1364s # /* ---- */ 1364s # 1364s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1364s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1364s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1364s # 1364s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1364s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1364s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1364s # 1364s # struct _OrgProjectUsefulInterfaceSkeleton 1364s # { 1364s # /*< private >*/ 1364s # GDBusInterfaceSkeleton parent_instance; 1364s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1364s # }; 1364s # 1364s # struct _OrgProjectUsefulInterfaceSkeletonClass 1364s # { 1364s # GDBusInterfaceSkeletonClass parent_class; 1364s # }; 1364s # 1364s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1364s # 1364s # #if GLIB_CHECK_VERSION(2, 44, 0) 1364s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1364s # #endif 1364s # 1364s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1364s # 1364s # 1364s # G_END_DECLS 1364s # 1364s # #endif /* __STDOUT__ */ 1364s # Error: 1364s # 1364s # /tmp/tmpws8gxqm2/tmpmd0bc099.xml: 1364s # 1364s # 1364s # 1364s # 1364s # 1364s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpws8gxqm2/tmpmd0bc099.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1364s # Return code: 0 1364s # Output: 1364s # /* 1364s # * This file is generated by gdbus-codegen, do not modify it. 1364s # * 1364s # * The license of this code is the same as for the D-Bus interface description 1364s # * it was derived from. Note that it links to GLib, so must comply with the 1364s # * LGPL linking clauses. 1364s # */ 1364s # 1364s # #ifndef __STDOUT__ 1364s # #define __STDOUT__ 1364s # 1364s # #include 1364s # 1364s # G_BEGIN_DECLS 1364s # 1364s # 1364s # /* ------------------------------------------------------------------------ */ 1364s # /* Declarations for org.project.UsefulInterface */ 1364s # 1364s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1364s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1364s # 1364s # struct _OrgProjectUsefulInterface; 1364s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1364s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1364s # 1364s # struct _OrgProjectUsefulInterfaceIface 1364s # { 1364s # GTypeInterface parent_iface; 1364s # 1364s # gboolean (*handle_useful_method) ( 1364s # OrgProjectUsefulInterface *object, 1364s # GDBusMethodInvocation *invocation); 1364s # 1364s # }; 1364s # 1364s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1364s # 1364s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1364s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1364s # 1364s # 1364s # /* D-Bus method call completion functions: */ 1364s # void org_project_useful_interface_complete_useful_method ( 1364s # OrgProjectUsefulInterface *object, 1364s # GDBusMethodInvocation *invocation); 1364s # 1364s # 1364s # 1364s # /* D-Bus method calls: */ 1364s # void org_project_useful_interface_call_useful_method ( 1364s # OrgProjectUsefulInterface *proxy, 1364s # GCancellable *cancellable, 1364s # GAsyncReadyCallback callback, 1364s # gpointer user_data); 1364s # 1364s # gboolean org_project_useful_interface_call_useful_method_finish ( 1364s # OrgProjectUsefulInterface *proxy, 1364s # GAsyncResult *res, 1364s # GError **error); 1364s # 1364s # gboolean org_project_useful_interface_call_useful_method_sync ( 1364s # OrgProjectUsefulInterface *proxy, 1364s # GCancellable *cancellable, 1364s # GError **error); 1364s # 1364s # 1364s # 1364s # /* ---- */ 1364s # 1364s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1364s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1364s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1364s # 1364s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1364s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1364s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1364s # 1364s # struct _OrgProjectUsefulInterfaceProxy 1364s # { 1364s # /*< private >*/ 1364s # GDBusProxy parent_instance; 1364s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1364s # }; 1364s # 1364s # struct _OrgProjectUsefulInterfaceProxyClass 1364s # { 1364s # GDBusProxyClass parent_class; 1364s # }; 1364s # 1364s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1364s # 1364s # #if GLIB_CHECK_VERSION(2, 44, 0) 1364s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1364s # #endif 1364s # 1364s # void org_project_useful_interface_proxy_new ( 1364s # GDBusConnection *connection, 1364s # GDBusProxyFlags flags, 1364s # const gchar *name, 1364s # const gchar *object_path, 1364s # GCancellable *cancellable, 1364s # GAsyncReadyCallback callback, 1364s # gpointer user_data); 1364s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1364s # GAsyncResult *res, 1364s # GError **error); 1364s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1364s # GDBusConnection *connection, 1364s # GDBusProxyFlags flags, 1364s # const gchar *name, 1364s # const gchar *object_path, 1364s # GCancellable *cancellable, 1364s # GError **error); 1364s # 1364s # void org_project_useful_interface_proxy_new_for_bus ( 1364s # GBusType bus_type, 1364s # GDBusProxyFlags flags, 1364s # const gchar *name, 1364s # const gchar *object_path, 1364s # GCancellable *cancellable, 1364s # GAsyncReadyCallback callback, 1364s # gpointer user_data); 1364s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1364s # GAsyncResult *res, 1364s # GError **error); 1364s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1364s # GBusType bus_type, 1364s # GDBusProxyFlags flags, 1364s # const gchar *name, 1364s # const gchar *object_path, 1364s # GCancellable *cancellable, 1364s # GError **error); 1364s # 1364s # 1364s # /* ---- */ 1364s # 1364s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1364s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1364s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1364s # 1364s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1364s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1364s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1364s # 1364s # struct _OrgProjectUsefulInterfaceSkeleton 1364s # { 1364s # /*< private >*/ 1364s # GDBusInterfaceSkeleton parent_instance; 1364s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1364s # }; 1364s # 1364s # struct _OrgProjectUsefulInterfaceSkeletonClass 1364s # { 1364s # GDBusInterfaceSkeletonClass parent_class; 1364s # }; 1364s # 1364s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1364s # 1364s # #if GLIB_CHECK_VERSION(2, 44, 0) 1364s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1364s # #endif 1364s # 1364s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1364s # 1364s # 1364s # G_END_DECLS 1364s # 1364s # #endif /* __STDOUT__ */ 1364s # Error: 1364s # 1364s # /tmp/tmpws8gxqm2/tmp5l8nttp3.xml: 1364s # 1364s # 1364s # 1364s # 1364s # 1364s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpws8gxqm2/tmp5l8nttp3.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1364s # Return code: 0 1364s # Output: 1364s # /* 1364s # * This file is generated by gdbus-codegen, do not modify it. 1364s # * 1364s # * The license of this code is the same as for the D-Bus interface description 1364s # * it was derived from. Note that it links to GLib, so must comply with the 1364s # * LGPL linking clauses. 1364s # */ 1364s # 1364s # #ifndef __STDOUT__ 1364s # #define __STDOUT__ 1364s # 1364s # #include 1364s # 1364s # G_BEGIN_DECLS 1364s # 1364s # 1364s # /* ------------------------------------------------------------------------ */ 1364s # /* Declarations for org.project.UsefulInterface */ 1364s # 1364s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1364s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1364s # 1364s # struct _OrgProjectUsefulInterface; 1364s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1364s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1364s # 1364s # struct _OrgProjectUsefulInterfaceIface 1364s # { 1364s # GTypeInterface parent_iface; 1364s # 1364s # gboolean (*handle_useful_method) ( 1364s # OrgProjectUsefulInterface *object, 1364s # GDBusMethodInvocation *invocation); 1364s # 1364s # }; 1364s # 1364s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1364s # 1364s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1364s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1364s # 1364s # 1364s # /* D-Bus method call completion functions: */ 1364s # void org_project_useful_interface_complete_useful_method ( 1364s # OrgProjectUsefulInterface *object, 1364s # GDBusMethodInvocation *invocation); 1364s # 1364s # 1364s # 1364s # /* D-Bus method calls: */ 1364s # void org_project_useful_interface_call_useful_method ( 1364s # OrgProjectUsefulInterface *proxy, 1364s # GDBusCallFlags call_flags, 1364s # gint timeout_msec, 1364s # GCancellable *cancellable, 1364s # GAsyncReadyCallback callback, 1364s # gpointer user_data); 1364s # 1364s # gboolean org_project_useful_interface_call_useful_method_finish ( 1364s # OrgProjectUsefulInterface *proxy, 1364s # GAsyncResult *res, 1364s # GError **error); 1364s # 1364s # gboolean org_project_useful_interface_call_useful_method_sync ( 1364s # OrgProjectUsefulInterface *proxy, 1364s # GDBusCallFlags call_flags, 1364s # gint timeout_msec, 1364s # GCancellable *cancellable, 1364s # GError **error); 1364s # 1364s # 1364s # 1364s # /* ---- */ 1364s # 1364s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1364s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1364s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1364s # 1364s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1364s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1364s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1364s # 1364s # struct _OrgProjectUsefulInterfaceProxy 1364s # { 1364s # /*< private >*/ 1364s # GDBusProxy parent_instance; 1364s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1364s # }; 1364s # 1364s # struct _OrgProjectUsefulInterfaceProxyClass 1364s # { 1364s # GDBusProxyClass parent_class; 1364s # }; 1364s # 1364s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1364s # 1364s # #if GLIB_CHECK_VERSION(2, 44, 0) 1364s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1364s # #endif 1364s # 1364s # void org_project_useful_interface_proxy_new ( 1364s # GDBusConnection *connection, 1364s # GDBusProxyFlags flags, 1364s # const gchar *name, 1364s # const gchar *object_path, 1364s # GCancellable *cancellable, 1364s # GAsyncReadyCallback callback, 1364s # gpointer user_data); 1364s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1364s # GAsyncResult *res, 1364s # GError **error); 1364s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1364s # GDBusConnection *connection, 1364s # GDBusProxyFlags flags, 1364s # const gchar *name, 1364s # const gchar *object_path, 1364s # GCancellable *cancellable, 1364s # GError **error); 1364s # 1364s # void org_project_useful_interface_proxy_new_for_bus ( 1364s # GBusType bus_type, 1364s # GDBusProxyFlags flags, 1364s # const gchar *name, 1364s # const gchar *object_path, 1364s # GCancellable *cancellable, 1364s # GAsyncReadyCallback callback, 1364s # gpointer user_data); 1364s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1364s # GAsyncResult *res, 1364s # GError **error); 1364s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1364s # GBusType bus_type, 1364s # GDBusProxyFlags flags, 1364s # const gchar *name, 1364s # const gchar *object_path, 1364s # GCancellable *cancellable, 1364s # GError **error); 1364s # 1364s # 1364s # /* ---- */ 1364s # 1364s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1364s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1364s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1364s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1364s # 1364s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1364s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1364s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1364s # 1364s # struct _OrgProjectUsefulInterfaceSkeleton 1364s # { 1364s # /*< private >*/ 1364s # GDBusInterfaceSkeleton parent_instance; 1364s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1364s # }; 1364s # 1364s # struct _OrgProjectUsefulInterfaceSkeletonClass 1364s # { 1364s # GDBusInterfaceSkeletonClass parent_class; 1364s # }; 1364s # 1364s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1364s # 1364s # #if GLIB_CHECK_VERSION(2, 44, 0) 1364s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1364s # #endif 1364s # 1364s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1364s # 1364s # 1364s # G_END_DECLS 1364s # 1364s # #endif /* __STDOUT__ */ 1364s # Error: 1365s ok 2 __main__.TestCodegen.test_dbus_types 1365s # gdbus-codegen: /usr/bin/gdbus-codegen 1365s # tmpdir: /tmp/tmpxn43uwme 1365s # /tmp/tmpxn43uwme/tmphi6s5hiw.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxn43uwme/tmphi6s5hiw.xml', '--output', '-', '--body'] 1365s # Return code: 1 1365s # Output: 1365s # 1365s # Error: 1365s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 1365s # /tmp/tmpxn43uwme/tmpje1cmmb2.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxn43uwme/tmpje1cmmb2.xml', '--output', '-', '--body'] 1365s # Return code: 1 1365s # Output: 1365s # 1365s # Error: 1365s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 1365s # /tmp/tmpxn43uwme/tmpr2e_6ji2.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxn43uwme/tmpr2e_6ji2.xml', '--output', '-', '--body'] 1365s # Return code: 1 1365s # Output: 1365s # 1365s # Error: 1365s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 1365s # /tmp/tmpxn43uwme/tmpyw_3722n.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxn43uwme/tmpyw_3722n.xml', '--output', '-', '--body'] 1365s # Return code: 1 1365s # Output: 1365s # 1365s # Error: 1365s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 1365s # /tmp/tmpxn43uwme/tmpe3dz_4bu.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxn43uwme/tmpe3dz_4bu.xml', '--output', '-', '--body'] 1365s # Return code: 1 1365s # Output: 1365s # 1365s # Error: 1365s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 1365s # /tmp/tmpxn43uwme/tmpkjtzk0do.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxn43uwme/tmpkjtzk0do.xml', '--output', '-', '--body'] 1365s # Return code: 1 1365s # Output: 1365s # 1365s # Error: 1365s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 1365s # /tmp/tmpxn43uwme/tmph1kmq1zv.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxn43uwme/tmph1kmq1zv.xml', '--output', '-', '--body'] 1365s # Return code: 1 1365s # Output: 1365s # 1365s # Error: 1365s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 1365s # /tmp/tmpxn43uwme/tmplrsa33_s.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxn43uwme/tmplrsa33_s.xml', '--output', '-', '--body'] 1365s # Return code: 1 1365s # Output: 1365s # 1365s # Error: 1365s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 1365s # /tmp/tmpxn43uwme/tmpk4lrz9ey.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxn43uwme/tmpk4lrz9ey.xml', '--output', '-', '--body'] 1365s # Return code: 1 1365s # Output: 1365s # 1365s # Error: 1365s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 1365s # /tmp/tmpxn43uwme/tmpat73fep4.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxn43uwme/tmpat73fep4.xml', '--output', '-', '--body'] 1365s # Return code: 1 1365s # Output: 1365s # 1365s # Error: 1365s # ERROR: D-Bus maximum signature length of 255 exceeded. 1365s # /tmp/tmpxn43uwme/tmpj3x8clhz.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxn43uwme/tmpj3x8clhz.xml', '--output', '-', '--body'] 1365s # Return code: 1 1365s # Output: 1365s # 1365s # Error: 1365s # ERROR: D-Bus maximum signature length of 255 exceeded. 1365s # /tmp/tmpxn43uwme/tmppzb_hxnf.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxn43uwme/tmppzb_hxnf.xml', '--output', '-', '--body'] 1365s # Return code: 1 1365s # Output: 1365s # 1365s # Error: 1365s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 1365s # /tmp/tmpxn43uwme/tmp9ubhrfb8.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxn43uwme/tmp9ubhrfb8.xml', '--output', '-', '--body'] 1365s # Return code: 1 1365s # Output: 1365s # 1365s # Error: 1365s # ERROR: D-Bus maximum signature length of 255 exceeded. 1365s # /tmp/tmpxn43uwme/tmpu7yc_x2v.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxn43uwme/tmpu7yc_x2v.xml', '--output', '-', '--body'] 1365s # Return code: 0 1365s # Output: 1365s # /* 1365s # * This file is generated by gdbus-codegen, do not modify it. 1365s # * 1365s # * The license of this code is the same as for the D-Bus interface description 1365s # * it was derived from. Note that it links to GLib, so must comply with the 1365s # * LGPL linking clauses. 1365s # */ 1365s # 1365s # #ifdef HAVE_CONFIG_H 1365s # # include "config.h" 1365s # #endif 1365s # 1365s # #include 1365s # #ifdef G_OS_UNIX 1365s # # include 1365s # #endif 1365s # 1365s # #ifdef G_ENABLE_DEBUG 1365s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1365s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1365s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1365s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1365s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1365s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1365s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1365s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1365s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1365s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1365s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1365s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1365s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1365s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1365s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1365s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1365s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1365s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1365s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1365s # #else /* !G_ENABLE_DEBUG */ 1365s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1365s # * Do not access GValues directly in your code. Instead, use the 1365s # * g_value_get_*() functions 1365s # */ 1365s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1365s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1365s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1365s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1365s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1365s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1365s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1365s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1365s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1365s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1365s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1365s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1365s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1365s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1365s # #endif /* !G_ENABLE_DEBUG */ 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusArgInfo parent_struct; 1365s # gboolean use_gvariant; 1365s # } _ExtendedGDBusArgInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusMethodInfo parent_struct; 1365s # const gchar *signal_name; 1365s # gboolean pass_fdlist; 1365s # } _ExtendedGDBusMethodInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusSignalInfo parent_struct; 1365s # const gchar *signal_name; 1365s # } _ExtendedGDBusSignalInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusPropertyInfo parent_struct; 1365s # const gchar *hyphen_name; 1365s # guint use_gvariant : 1; 1365s # guint emits_changed_signal : 1; 1365s # } _ExtendedGDBusPropertyInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusInterfaceInfo parent_struct; 1365s # const gchar *hyphen_name; 1365s # } _ExtendedGDBusInterfaceInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # const _ExtendedGDBusPropertyInfo *info; 1365s # guint prop_id; 1365s # GValue orig_value; /* the value before the change */ 1365s # } ChangedProperty; 1365s # 1365s # static void 1365s # _changed_property_free (ChangedProperty *data) 1365s # { 1365s # g_value_unset (&data->orig_value); 1365s # g_free (data); 1365s # } 1365s # 1365s # static gboolean 1365s # _g_strv_equal0 (gchar **a, gchar **b) 1365s # { 1365s # gboolean ret = FALSE; 1365s # guint n; 1365s # if (a == NULL && b == NULL) 1365s # { 1365s # ret = TRUE; 1365s # goto out; 1365s # } 1365s # if (a == NULL || b == NULL) 1365s # goto out; 1365s # if (g_strv_length (a) != g_strv_length (b)) 1365s # goto out; 1365s # for (n = 0; a[n] != NULL; n++) 1365s # if (g_strcmp0 (a[n], b[n]) != 0) 1365s # goto out; 1365s # ret = TRUE; 1365s # out: 1365s # return ret; 1365s # } 1365s # 1365s # static gboolean 1365s # _g_variant_equal0 (GVariant *a, GVariant *b) 1365s # { 1365s # gboolean ret = FALSE; 1365s # if (a == NULL && b == NULL) 1365s # { 1365s # ret = TRUE; 1365s # goto out; 1365s # } 1365s # if (a == NULL || b == NULL) 1365s # goto out; 1365s # ret = g_variant_equal (a, b); 1365s # out: 1365s # return ret; 1365s # } 1365s # 1365s # G_GNUC_UNUSED static gboolean 1365s # _g_value_equal (const GValue *a, const GValue *b) 1365s # { 1365s # gboolean ret = FALSE; 1365s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1365s # switch (G_VALUE_TYPE (a)) 1365s # { 1365s # case G_TYPE_BOOLEAN: 1365s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1365s # break; 1365s # case G_TYPE_UCHAR: 1365s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1365s # break; 1365s # case G_TYPE_INT: 1365s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1365s # break; 1365s # case G_TYPE_UINT: 1365s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1365s # break; 1365s # case G_TYPE_INT64: 1365s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1365s # break; 1365s # case G_TYPE_UINT64: 1365s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1365s # break; 1365s # case G_TYPE_DOUBLE: 1365s # { 1365s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1365s # gdouble da = g_value_get_double (a); 1365s # gdouble db = g_value_get_double (b); 1365s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1365s # } 1365s # break; 1365s # case G_TYPE_STRING: 1365s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1365s # break; 1365s # case G_TYPE_VARIANT: 1365s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1365s # break; 1365s # default: 1365s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1365s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1365s # else 1365s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1365s # break; 1365s # } 1365s # return ret; 1365s # } 1365s # 1365s # /* ------------------------------------------------------------------------ 1365s # * Code for interface GoodTypes 1365s # * ------------------------------------------------------------------------ 1365s # */ 1365s # 1365s # /** 1365s # * SECTION:GoodTypes 1365s # * @title: GoodTypes 1365s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1365s # * 1365s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1365s # */ 1365s # 1365s # /* ---- Introspection data for GoodTypes ---- */ 1365s # 1365s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1365s # { 1365s # { 1365s # -1, 1365s # (gchar *) "GoodPropertyType", 1365s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1365s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1365s # NULL 1365s # }, 1365s # "good-property-type", 1365s # FALSE, 1365s # TRUE 1365s # }; 1365s # 1365s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1365s # { 1365s # &_good_types_property_info_good_property_type.parent_struct, 1365s # NULL 1365s # }; 1365s # 1365s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1365s # { 1365s # { 1365s # -1, 1365s # (gchar *) "GoodTypes", 1365s # NULL, 1365s # NULL, 1365s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1365s # NULL 1365s # }, 1365s # "good-types", 1365s # }; 1365s # 1365s # 1365s # /** 1365s # * good_types_interface_info: 1365s # * 1365s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1365s # * 1365s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1365s # */ 1365s # GDBusInterfaceInfo * 1365s # good_types_interface_info (void) 1365s # { 1365s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1365s # } 1365s # 1365s # /** 1365s # * good_types_override_properties: 1365s # * @klass: The class structure for a #GObject derived class. 1365s # * @property_id_begin: The property id to assign to the first overridden property. 1365s # * 1365s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1365s # * The properties are overridden in the order they are defined. 1365s # * 1365s # * Returns: The last property id. 1365s # */ 1365s # guint 1365s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1365s # { 1365s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1365s # return property_id_begin - 1; 1365s # } 1365s # 1365s # 1365s # 1365s # /** 1365s # * GoodTypes: 1365s # * 1365s # * Abstract interface type for the D-Bus interface GoodTypes. 1365s # */ 1365s # 1365s # /** 1365s # * GoodTypesIface: 1365s # * @parent_iface: The parent interface. 1365s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1365s # * 1365s # * Virtual table for the D-Bus interface GoodTypes. 1365s # */ 1365s # 1365s # typedef GoodTypesIface GoodTypesInterface; 1365s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1365s # 1365s # static void 1365s # good_types_default_init (GoodTypesIface *iface) 1365s # { 1365s # /* GObject properties for D-Bus properties: */ 1365s # /** 1365s # * GoodTypes:good-property-type: 1365s # * 1365s # * Represents the D-Bus property "GoodPropertyType". 1365s # * 1365s # * 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. 1365s # */ 1365s # g_object_interface_install_property (iface, 1365s # 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)); 1365s # } 1365s # 1365s # /** 1365s # * good_types_get_good_property_type: (skip) 1365s # * @object: A GoodTypes. 1365s # * 1365s # * Gets the value of the "GoodPropertyType" D-Bus property. 1365s # * 1365s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1365s # * 1365s # * 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. 1365s # * 1365s # * 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. 1365s # */ 1365s # GVariant * 1365s # good_types_get_good_property_type (GoodTypes *object) 1365s # { 1365s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1365s # 1365s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1365s # } 1365s # 1365s # /** 1365s # * good_types_dup_good_property_type: (skip) 1365s # * @object: A GoodTypes. 1365s # * 1365s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1365s # * 1365s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1365s # * 1365s # * 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(). 1365s # */ 1365s # GVariant * 1365s # good_types_dup_good_property_type (GoodTypes *object) 1365s # { 1365s # GVariant *value; 1365s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1365s # return value; 1365s # } 1365s # 1365s # /** 1365s # * good_types_set_good_property_type: (skip) 1365s # * @object: A GoodTypes. 1365s # * @value: The value to set. 1365s # * 1365s # * Sets the "GoodPropertyType" D-Bus property to @value. 1365s # * 1365s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1365s # */ 1365s # void 1365s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1365s # { 1365s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1365s # } 1365s # 1365s # /* ------------------------------------------------------------------------ */ 1365s # 1365s # /** 1365s # * GoodTypesProxy: 1365s # * 1365s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1365s # */ 1365s # 1365s # /** 1365s # * GoodTypesProxyClass: 1365s # * @parent_class: The parent class. 1365s # * 1365s # * Class structure for GoodTypesProxy. 1365s # */ 1365s # 1365s # struct _GoodTypesProxyPrivate 1365s # { 1365s # GData *qdata; 1365s # }; 1365s # 1365s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1365s # 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1365s # G_ADD_PRIVATE (GoodTypesProxy) 1365s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1365s # 1365s # #else 1365s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1365s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1365s # 1365s # #endif 1365s # static void 1365s # good_types_proxy_finalize (GObject *object) 1365s # { 1365s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1365s # g_datalist_clear (&proxy->priv->qdata); 1365s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_get_property (GObject *object, 1365s # guint prop_id, 1365s # GValue *value, 1365s # GParamSpec *pspec G_GNUC_UNUSED) 1365s # { 1365s # const _ExtendedGDBusPropertyInfo *info; 1365s # GVariant *variant; 1365s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1365s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1365s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1365s # if (info->use_gvariant) 1365s # { 1365s # g_value_set_variant (value, variant); 1365s # } 1365s # else 1365s # { 1365s # if (variant != NULL) 1365s # g_dbus_gvariant_to_gvalue (variant, value); 1365s # } 1365s # if (variant != NULL) 1365s # g_variant_unref (variant); 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1365s # GAsyncResult *res, 1365s # gpointer user_data) 1365s # { 1365s # const _ExtendedGDBusPropertyInfo *info = user_data; 1365s # GError *error; 1365s # GVariant *_ret; 1365s # error = NULL; 1365s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1365s # if (!_ret) 1365s # { 1365s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1365s # info->parent_struct.name, 1365s # error->message, g_quark_to_string (error->domain), error->code); 1365s # g_error_free (error); 1365s # } 1365s # else 1365s # { 1365s # g_variant_unref (_ret); 1365s # } 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_set_property (GObject *object, 1365s # guint prop_id, 1365s # const GValue *value, 1365s # GParamSpec *pspec G_GNUC_UNUSED) 1365s # { 1365s # const _ExtendedGDBusPropertyInfo *info; 1365s # GVariant *variant; 1365s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1365s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1365s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1365s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1365s # "org.freedesktop.DBus.Properties.Set", 1365s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1365s # G_DBUS_CALL_FLAGS_NONE, 1365s # -1, 1365s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1365s # g_variant_unref (variant); 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_g_signal (GDBusProxy *proxy, 1365s # const gchar *sender_name G_GNUC_UNUSED, 1365s # const gchar *signal_name, 1365s # GVariant *parameters) 1365s # { 1365s # _ExtendedGDBusSignalInfo *info; 1365s # GVariantIter iter; 1365s # GVariant *child; 1365s # GValue *paramv; 1365s # gsize num_params; 1365s # gsize n; 1365s # guint signal_id; 1365s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1365s # if (info == NULL) 1365s # return; 1365s # num_params = g_variant_n_children (parameters); 1365s # paramv = g_new0 (GValue, num_params + 1); 1365s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1365s # g_value_set_object (¶mv[0], proxy); 1365s # g_variant_iter_init (&iter, parameters); 1365s # n = 1; 1365s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1365s # { 1365s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1365s # if (arg_info->use_gvariant) 1365s # { 1365s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1365s # g_value_set_variant (¶mv[n], child); 1365s # n++; 1365s # } 1365s # else 1365s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1365s # g_variant_unref (child); 1365s # } 1365s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1365s # g_signal_emitv (paramv, signal_id, 0, NULL); 1365s # for (n = 0; n < num_params + 1; n++) 1365s # g_value_unset (¶mv[n]); 1365s # g_free (paramv); 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1365s # GVariant *changed_properties, 1365s # const gchar *const *invalidated_properties) 1365s # { 1365s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1365s # guint n; 1365s # const gchar *key; 1365s # GVariantIter *iter; 1365s # _ExtendedGDBusPropertyInfo *info; 1365s # g_variant_get (changed_properties, "a{sv}", &iter); 1365s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1365s # { 1365s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1365s # g_datalist_remove_data (&proxy->priv->qdata, key); 1365s # if (info != NULL) 1365s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1365s # } 1365s # g_variant_iter_free (iter); 1365s # for (n = 0; invalidated_properties[n] != NULL; n++) 1365s # { 1365s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1365s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1365s # if (info != NULL) 1365s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1365s # } 1365s # } 1365s # 1365s # static GVariant * 1365s # good_types_proxy_get_good_property_type (GoodTypes *object) 1365s # { 1365s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1365s # GVariant *variant; 1365s # GVariant *value = NULL; 1365s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1365s # value = variant; 1365s # if (variant != NULL) 1365s # g_variant_unref (variant); 1365s # return value; 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_init (GoodTypesProxy *proxy) 1365s # { 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1365s # #else 1365s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1365s # #endif 1365s # 1365s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1365s # { 1365s # GObjectClass *gobject_class; 1365s # GDBusProxyClass *proxy_class; 1365s # 1365s # gobject_class = G_OBJECT_CLASS (klass); 1365s # gobject_class->finalize = good_types_proxy_finalize; 1365s # gobject_class->get_property = good_types_proxy_get_property; 1365s # gobject_class->set_property = good_types_proxy_set_property; 1365s # 1365s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1365s # proxy_class->g_signal = good_types_proxy_g_signal; 1365s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1365s # 1365s # good_types_override_properties (gobject_class, 1); 1365s # 1365s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1365s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1365s # #endif 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_iface_init (GoodTypesIface *iface) 1365s # { 1365s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1365s # } 1365s # 1365s # /** 1365s # * good_types_proxy_new: 1365s # * @connection: A #GDBusConnection. 1365s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1365s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1365s # * @object_path: An object path. 1365s # * @cancellable: (nullable): A #GCancellable or %NULL. 1365s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1365s # * @user_data: User data to pass to @callback. 1365s # * 1365s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1365s # * 1365s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1365s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1365s # * 1365s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1365s # */ 1365s # void 1365s # good_types_proxy_new ( 1365s # GDBusConnection *connection, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data) 1365s # { 1365s # 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); 1365s # } 1365s # 1365s # /** 1365s # * good_types_proxy_new_finish: 1365s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1365s # * @error: Return location for error or %NULL 1365s # * 1365s # * Finishes an operation started with good_types_proxy_new(). 1365s # * 1365s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1365s # */ 1365s # GoodTypes * 1365s # good_types_proxy_new_finish ( 1365s # GAsyncResult *res, 1365s # GError **error) 1365s # { 1365s # GObject *ret; 1365s # GObject *source_object; 1365s # source_object = g_async_result_get_source_object (res); 1365s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1365s # g_object_unref (source_object); 1365s # if (ret != NULL) 1365s # return GOOD_TYPES (ret); 1365s # else 1365s # return NULL; 1365s # } 1365s # 1365s # /** 1365s # * good_types_proxy_new_sync: 1365s # * @connection: A #GDBusConnection. 1365s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1365s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1365s # * @object_path: An object path. 1365s # * @cancellable: (nullable): A #GCancellable or %NULL. 1365s # * @error: Return location for error or %NULL 1365s # * 1365s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1365s # * 1365s # * The calling thread is blocked until a reply is received. 1365s # * 1365s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1365s # * 1365s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1365s # */ 1365s # GoodTypes * 1365s # good_types_proxy_new_sync ( 1365s # GDBusConnection *connection, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GError **error) 1365s # { 1365s # GInitable *ret; 1365s # 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); 1365s # if (ret != NULL) 1365s # return GOOD_TYPES (ret); 1365s # else 1365s # return NULL; 1365s # } 1365s # 1365s # 1365s # /** 1365s # * good_types_proxy_new_for_bus: 1365s # * @bus_type: A #GBusType. 1365s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1365s # * @name: A bus name (well-known or unique). 1365s # * @object_path: An object path. 1365s # * @cancellable: (nullable): A #GCancellable or %NULL. 1365s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1365s # * @user_data: User data to pass to @callback. 1365s # * 1365s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1365s # * 1365s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1365s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1365s # * 1365s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1365s # */ 1365s # void 1365s # good_types_proxy_new_for_bus ( 1365s # GBusType bus_type, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data) 1365s # { 1365s # 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); 1365s # } 1365s # 1365s # /** 1365s # * good_types_proxy_new_for_bus_finish: 1365s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1365s # * @error: Return location for error or %NULL 1365s # * 1365s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1365s # * 1365s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1365s # */ 1365s # GoodTypes * 1365s # good_types_proxy_new_for_bus_finish ( 1365s # GAsyncResult *res, 1365s # GError **error) 1365s # { 1365s # GObject *ret; 1365s # GObject *source_object; 1365s # source_object = g_async_result_get_source_object (res); 1365s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1365s # g_object_unref (source_object); 1365s # if (ret != NULL) 1365s # return GOOD_TYPES (ret); 1365s # else 1365s # return NULL; 1365s # } 1365s # 1365s # /** 1365s # * good_types_proxy_new_for_bus_sync: 1365s # * @bus_type: A #GBusType. 1365s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1365s # * @name: A bus name (well-known or unique). 1365s # * @object_path: An object path. 1365s # * @cancellable: (nullable): A #GCancellable or %NULL. 1365s # * @error: Return location for error or %NULL 1365s # * 1365s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1365s # * 1365s # * The calling thread is blocked until a reply is received. 1365s # * 1365s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1365s # * 1365s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1365s # */ 1365s # GoodTypes * 1365s # good_types_proxy_new_for_bus_sync ( 1365s # GBusType bus_type, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GError **error) 1365s # { 1365s # GInitable *ret; 1365s # 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); 1365s # if (ret != NULL) 1365s # return GOOD_TYPES (ret); 1365s # else 1365s # return NULL; 1365s # } 1365s # 1365s # 1365s # /* ------------------------------------------------------------------------ */ 1365s # 1365s # /** 1365s # * GoodTypesSkeleton: 1365s # * 1365s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1365s # */ 1365s # 1365s # /** 1365s # * GoodTypesSkeletonClass: 1365s # * @parent_class: The parent class. 1365s # * 1365s # * Class structure for GoodTypesSkeleton. 1365s # */ 1365s # 1365s # struct _GoodTypesSkeletonPrivate 1365s # { 1365s # GValue *properties; 1365s # GList *changed_properties; 1365s # GSource *changed_properties_idle_source; 1365s # GMainContext *context; 1365s # GMutex lock; 1365s # }; 1365s # 1365s # static void 1365s # _good_types_skeleton_handle_method_call ( 1365s # GDBusConnection *connection G_GNUC_UNUSED, 1365s # const gchar *sender G_GNUC_UNUSED, 1365s # const gchar *object_path G_GNUC_UNUSED, 1365s # const gchar *interface_name, 1365s # const gchar *method_name, 1365s # GVariant *parameters, 1365s # GDBusMethodInvocation *invocation, 1365s # gpointer user_data) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1365s # _ExtendedGDBusMethodInfo *info; 1365s # GVariantIter iter; 1365s # GVariant *child; 1365s # GValue *paramv; 1365s # gsize num_params; 1365s # guint num_extra; 1365s # gsize n; 1365s # guint signal_id; 1365s # GValue return_value = G_VALUE_INIT; 1365s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1365s # g_assert (info != NULL); 1365s # num_params = g_variant_n_children (parameters); 1365s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1365s # n = 0; 1365s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1365s # g_value_set_object (¶mv[n++], skeleton); 1365s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1365s # g_value_set_object (¶mv[n++], invocation); 1365s # if (info->pass_fdlist) 1365s # { 1365s # #ifdef G_OS_UNIX 1365s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1365s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1365s # #else 1365s # g_assert_not_reached (); 1365s # #endif 1365s # } 1365s # g_variant_iter_init (&iter, parameters); 1365s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1365s # { 1365s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1365s # if (arg_info->use_gvariant) 1365s # { 1365s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1365s # g_value_set_variant (¶mv[n], child); 1365s # n++; 1365s # } 1365s # else 1365s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1365s # g_variant_unref (child); 1365s # } 1365s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1365s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1365s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1365s # if (!g_value_get_boolean (&return_value)) 1365s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1365s # g_value_unset (&return_value); 1365s # for (n = 0; n < num_params + num_extra; n++) 1365s # g_value_unset (¶mv[n]); 1365s # g_free (paramv); 1365s # } 1365s # 1365s # static GVariant * 1365s # _good_types_skeleton_handle_get_property ( 1365s # GDBusConnection *connection G_GNUC_UNUSED, 1365s # const gchar *sender G_GNUC_UNUSED, 1365s # const gchar *object_path G_GNUC_UNUSED, 1365s # const gchar *interface_name G_GNUC_UNUSED, 1365s # const gchar *property_name, 1365s # GError **error, 1365s # gpointer user_data) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1365s # GValue value = G_VALUE_INIT; 1365s # GParamSpec *pspec; 1365s # _ExtendedGDBusPropertyInfo *info; 1365s # GVariant *ret; 1365s # ret = NULL; 1365s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1365s # g_assert (info != NULL); 1365s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1365s # if (pspec == NULL) 1365s # { 1365s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1365s # } 1365s # else 1365s # { 1365s # g_value_init (&value, pspec->value_type); 1365s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1365s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1365s # g_value_unset (&value); 1365s # } 1365s # return ret; 1365s # } 1365s # 1365s # static gboolean 1365s # _good_types_skeleton_handle_set_property ( 1365s # GDBusConnection *connection G_GNUC_UNUSED, 1365s # const gchar *sender G_GNUC_UNUSED, 1365s # const gchar *object_path G_GNUC_UNUSED, 1365s # const gchar *interface_name G_GNUC_UNUSED, 1365s # const gchar *property_name, 1365s # GVariant *variant, 1365s # GError **error, 1365s # gpointer user_data) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1365s # GValue value = G_VALUE_INIT; 1365s # GParamSpec *pspec; 1365s # _ExtendedGDBusPropertyInfo *info; 1365s # gboolean ret; 1365s # ret = FALSE; 1365s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1365s # g_assert (info != NULL); 1365s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1365s # if (pspec == NULL) 1365s # { 1365s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1365s # } 1365s # else 1365s # { 1365s # if (info->use_gvariant) 1365s # g_value_set_variant (&value, variant); 1365s # else 1365s # g_dbus_gvariant_to_gvalue (variant, &value); 1365s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1365s # g_value_unset (&value); 1365s # ret = TRUE; 1365s # } 1365s # return ret; 1365s # } 1365s # 1365s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1365s # { 1365s # _good_types_skeleton_handle_method_call, 1365s # _good_types_skeleton_handle_get_property, 1365s # _good_types_skeleton_handle_set_property, 1365s # {NULL} 1365s # }; 1365s # 1365s # static GDBusInterfaceInfo * 1365s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1365s # { 1365s # return good_types_interface_info (); 1365s # } 1365s # 1365s # static GDBusInterfaceVTable * 1365s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1365s # { 1365s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1365s # } 1365s # 1365s # static GVariant * 1365s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1365s # 1365s # GVariantBuilder builder; 1365s # guint n; 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1365s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1365s # #else 1365s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1365s # #endif 1365s # if (_good_types_interface_info.parent_struct.properties == NULL) 1365s # goto out; 1365s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1365s # { 1365s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1365s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1365s # { 1365s # GVariant *value; 1365s # 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); 1365s # if (value != NULL) 1365s # { 1365s # g_variant_take_ref (value); 1365s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1365s # g_variant_unref (value); 1365s # } 1365s # } 1365s # } 1365s # out: 1365s # return g_variant_builder_end (&builder); 1365s # } 1365s # 1365s # static gboolean _good_types_emit_changed (gpointer user_data); 1365s # 1365s # static void 1365s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1365s # gboolean emit_changed = FALSE; 1365s # 1365s # g_mutex_lock (&skeleton->priv->lock); 1365s # if (skeleton->priv->changed_properties_idle_source != NULL) 1365s # { 1365s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1365s # skeleton->priv->changed_properties_idle_source = NULL; 1365s # emit_changed = TRUE; 1365s # } 1365s # g_mutex_unlock (&skeleton->priv->lock); 1365s # 1365s # if (emit_changed) 1365s # _good_types_emit_changed (skeleton); 1365s # } 1365s # 1365s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1365s # G_ADD_PRIVATE (GoodTypesSkeleton) 1365s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1365s # 1365s # #else 1365s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1365s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1365s # 1365s # #endif 1365s # static void 1365s # good_types_skeleton_finalize (GObject *object) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1365s # guint n; 1365s # for (n = 0; n < 1; n++) 1365s # g_value_unset (&skeleton->priv->properties[n]); 1365s # g_free (skeleton->priv->properties); 1365s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # /* coverity[missing_lock : SUPPRESS] */ 1365s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1365s # #else 1365s # if (skeleton->priv->changed_properties_idle_source != NULL) 1365s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1365s # skeleton->priv->changed_properties_idle_source = NULL; 1365s # #endif 1365s # g_main_context_unref (skeleton->priv->context); 1365s # g_mutex_clear (&skeleton->priv->lock); 1365s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1365s # } 1365s # 1365s # static void 1365s # good_types_skeleton_get_property (GObject *object, 1365s # guint prop_id, 1365s # GValue *value, 1365s # GParamSpec *pspec G_GNUC_UNUSED) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1365s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1365s # g_mutex_lock (&skeleton->priv->lock); 1365s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1365s # g_mutex_unlock (&skeleton->priv->lock); 1365s # } 1365s # 1365s # static gboolean 1365s # _good_types_emit_changed (gpointer user_data) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1365s # GList *l; 1365s # GVariantBuilder builder; 1365s # GVariantBuilder invalidated_builder; 1365s # guint num_changes; 1365s # 1365s # g_mutex_lock (&skeleton->priv->lock); 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1365s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1365s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1365s # #else 1365s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1365s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1365s # #endif 1365s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1365s # { 1365s # ChangedProperty *cp = l->data; 1365s # GVariant *variant; 1365s # const GValue *cur_value; 1365s # 1365s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1365s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1365s # { 1365s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1365s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1365s # g_variant_unref (variant); 1365s # num_changes++; 1365s # } 1365s # } 1365s # if (num_changes > 0) 1365s # { 1365s # GList *connections, *ll; 1365s # GVariant *signal_variant; 1365s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1365s # &builder, &invalidated_builder)); 1365s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1365s # for (ll = connections; ll != NULL; ll = ll->next) 1365s # { 1365s # GDBusConnection *connection = ll->data; 1365s # 1365s # g_dbus_connection_emit_signal (connection, 1365s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1365s # "org.freedesktop.DBus.Properties", 1365s # "PropertiesChanged", 1365s # signal_variant, 1365s # NULL); 1365s # } 1365s # g_variant_unref (signal_variant); 1365s # g_list_free_full (connections, g_object_unref); 1365s # } 1365s # else 1365s # { 1365s # g_variant_builder_clear (&builder); 1365s # g_variant_builder_clear (&invalidated_builder); 1365s # } 1365s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1365s # skeleton->priv->changed_properties = NULL; 1365s # skeleton->priv->changed_properties_idle_source = NULL; 1365s # g_mutex_unlock (&skeleton->priv->lock); 1365s # return FALSE; 1365s # } 1365s # 1365s # static void 1365s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1365s # { 1365s # ChangedProperty *cp; 1365s # GList *l; 1365s # cp = NULL; 1365s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1365s # { 1365s # ChangedProperty *i_cp = l->data; 1365s # if (i_cp->info == info) 1365s # { 1365s # cp = i_cp; 1365s # break; 1365s # } 1365s # } 1365s # if (cp == NULL) 1365s # { 1365s # cp = g_new0 (ChangedProperty, 1); 1365s # cp->prop_id = prop_id; 1365s # cp->info = info; 1365s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1365s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1365s # g_value_copy (orig_value, &cp->orig_value); 1365s # } 1365s # } 1365s # 1365s # static void 1365s # good_types_skeleton_notify (GObject *object, 1365s # GParamSpec *pspec G_GNUC_UNUSED) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1365s # g_mutex_lock (&skeleton->priv->lock); 1365s # if (skeleton->priv->changed_properties != NULL && 1365s # skeleton->priv->changed_properties_idle_source == NULL) 1365s # { 1365s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1365s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1365s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1365s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1365s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1365s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1365s # } 1365s # g_mutex_unlock (&skeleton->priv->lock); 1365s # } 1365s # 1365s # static void 1365s # good_types_skeleton_set_property (GObject *object, 1365s # guint prop_id, 1365s # const GValue *value, 1365s # GParamSpec *pspec) 1365s # { 1365s # const _ExtendedGDBusPropertyInfo *info; 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1365s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1365s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1365s # g_mutex_lock (&skeleton->priv->lock); 1365s # g_object_freeze_notify (object); 1365s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1365s # { 1365s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1365s # info->emits_changed_signal) 1365s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1365s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1365s # g_object_notify_by_pspec (object, pspec); 1365s # } 1365s # g_mutex_unlock (&skeleton->priv->lock); 1365s # g_object_thaw_notify (object); 1365s # } 1365s # 1365s # static void 1365s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1365s # { 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1365s # #else 1365s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1365s # #endif 1365s # 1365s # g_mutex_init (&skeleton->priv->lock); 1365s # skeleton->priv->context = g_main_context_ref_thread_default (); 1365s # skeleton->priv->properties = g_new0 (GValue, 1); 1365s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1365s # } 1365s # 1365s # static GVariant * 1365s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1365s # GVariant *value; 1365s # g_mutex_lock (&skeleton->priv->lock); 1365s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1365s # g_mutex_unlock (&skeleton->priv->lock); 1365s # return value; 1365s # } 1365s # 1365s # static void 1365s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1365s # { 1365s # GObjectClass *gobject_class; 1365s # GDBusInterfaceSkeletonClass *skeleton_class; 1365s # 1365s # gobject_class = G_OBJECT_CLASS (klass); 1365s # gobject_class->finalize = good_types_skeleton_finalize; 1365s # gobject_class->get_property = good_types_skeleton_get_property; 1365s # gobject_class->set_property = good_types_skeleton_set_property; 1365s # gobject_class->notify = good_types_skeleton_notify; 1365s # 1365s # 1365s # good_types_override_properties (gobject_class, 1); 1365s # 1365s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1365s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1365s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1365s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1365s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1365s # 1365s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1365s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1365s # #endif 1365s # } 1365s # 1365s # static void 1365s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1365s # { 1365s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1365s # } 1365s # 1365s # /** 1365s # * good_types_skeleton_new: 1365s # * 1365s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1365s # * 1365s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1365s # */ 1365s # GoodTypes * 1365s # good_types_skeleton_new (void) 1365s # { 1365s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1365s # } 1365s # Error: 1365s # 1365s # /tmp/tmpxn43uwme/tmpp8pyj0sv.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxn43uwme/tmpp8pyj0sv.xml', '--output', '-', '--body'] 1365s # Return code: 0 1365s # Output: 1365s # /* 1365s # * This file is generated by gdbus-codegen, do not modify it. 1365s # * 1365s # * The license of this code is the same as for the D-Bus interface description 1365s # * it was derived from. Note that it links to GLib, so must comply with the 1365s # * LGPL linking clauses. 1365s # */ 1365s # 1365s # #ifdef HAVE_CONFIG_H 1365s # # include "config.h" 1365s # #endif 1365s # 1365s # #include 1365s # #ifdef G_OS_UNIX 1365s # # include 1365s # #endif 1365s # 1365s # #ifdef G_ENABLE_DEBUG 1365s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1365s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1365s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1365s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1365s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1365s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1365s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1365s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1365s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1365s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1365s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1365s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1365s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1365s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1365s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1365s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1365s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1365s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1365s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1365s # #else /* !G_ENABLE_DEBUG */ 1365s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1365s # * Do not access GValues directly in your code. Instead, use the 1365s # * g_value_get_*() functions 1365s # */ 1365s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1365s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1365s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1365s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1365s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1365s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1365s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1365s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1365s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1365s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1365s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1365s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1365s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1365s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1365s # #endif /* !G_ENABLE_DEBUG */ 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusArgInfo parent_struct; 1365s # gboolean use_gvariant; 1365s # } _ExtendedGDBusArgInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusMethodInfo parent_struct; 1365s # const gchar *signal_name; 1365s # gboolean pass_fdlist; 1365s # } _ExtendedGDBusMethodInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusSignalInfo parent_struct; 1365s # const gchar *signal_name; 1365s # } _ExtendedGDBusSignalInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusPropertyInfo parent_struct; 1365s # const gchar *hyphen_name; 1365s # guint use_gvariant : 1; 1365s # guint emits_changed_signal : 1; 1365s # } _ExtendedGDBusPropertyInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusInterfaceInfo parent_struct; 1365s # const gchar *hyphen_name; 1365s # } _ExtendedGDBusInterfaceInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # const _ExtendedGDBusPropertyInfo *info; 1365s # guint prop_id; 1365s # GValue orig_value; /* the value before the change */ 1365s # } ChangedProperty; 1365s # 1365s # static void 1365s # _changed_property_free (ChangedProperty *data) 1365s # { 1365s # g_value_unset (&data->orig_value); 1365s # g_free (data); 1365s # } 1365s # 1365s # static gboolean 1365s # _g_strv_equal0 (gchar **a, gchar **b) 1365s # { 1365s # gboolean ret = FALSE; 1365s # guint n; 1365s # if (a == NULL && b == NULL) 1365s # { 1365s # ret = TRUE; 1365s # goto out; 1365s # } 1365s # if (a == NULL || b == NULL) 1365s # goto out; 1365s # if (g_strv_length (a) != g_strv_length (b)) 1365s # goto out; 1365s # for (n = 0; a[n] != NULL; n++) 1365s # if (g_strcmp0 (a[n], b[n]) != 0) 1365s # goto out; 1365s # ret = TRUE; 1365s # out: 1365s # return ret; 1365s # } 1365s # 1365s # static gboolean 1365s # _g_variant_equal0 (GVariant *a, GVariant *b) 1365s # { 1365s # gboolean ret = FALSE; 1365s # if (a == NULL && b == NULL) 1365s # { 1365s # ret = TRUE; 1365s # goto out; 1365s # } 1365s # if (a == NULL || b == NULL) 1365s # goto out; 1365s # ret = g_variant_equal (a, b); 1365s # out: 1365s # return ret; 1365s # } 1365s # 1365s # G_GNUC_UNUSED static gboolean 1365s # _g_value_equal (const GValue *a, const GValue *b) 1365s # { 1365s # gboolean ret = FALSE; 1365s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1365s # switch (G_VALUE_TYPE (a)) 1365s # { 1365s # case G_TYPE_BOOLEAN: 1365s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1365s # break; 1365s # case G_TYPE_UCHAR: 1365s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1365s # break; 1365s # case G_TYPE_INT: 1365s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1365s # break; 1365s # case G_TYPE_UINT: 1365s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1365s # break; 1365s # case G_TYPE_INT64: 1365s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1365s # break; 1365s # case G_TYPE_UINT64: 1365s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1365s # break; 1365s # case G_TYPE_DOUBLE: 1365s # { 1365s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1365s # gdouble da = g_value_get_double (a); 1365s # gdouble db = g_value_get_double (b); 1365s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1365s # } 1365s # break; 1365s # case G_TYPE_STRING: 1365s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1365s # break; 1365s # case G_TYPE_VARIANT: 1365s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1365s # break; 1365s # default: 1365s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1365s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1365s # else 1365s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1365s # break; 1365s # } 1365s # return ret; 1365s # } 1365s # 1365s # /* ------------------------------------------------------------------------ 1365s # * Code for interface GoodTypes 1365s # * ------------------------------------------------------------------------ 1365s # */ 1365s # 1365s # /** 1365s # * SECTION:GoodTypes 1365s # * @title: GoodTypes 1365s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1365s # * 1365s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1365s # */ 1365s # 1365s # /* ---- Introspection data for GoodTypes ---- */ 1365s # 1365s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1365s # { 1365s # { 1365s # -1, 1365s # (gchar *) "GoodPropertyType", 1365s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1365s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1365s # NULL 1365s # }, 1365s # "good-property-type", 1365s # FALSE, 1365s # TRUE 1365s # }; 1365s # 1365s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1365s # { 1365s # &_good_types_property_info_good_property_type.parent_struct, 1365s # NULL 1365s # }; 1365s # 1365s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1365s # { 1365s # { 1365s # -1, 1365s # (gchar *) "GoodTypes", 1365s # NULL, 1365s # NULL, 1365s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1365s # NULL 1365s # }, 1365s # "good-types", 1365s # }; 1365s # 1365s # 1365s # /** 1365s # * good_types_interface_info: 1365s # * 1365s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1365s # * 1365s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1365s # */ 1365s # GDBusInterfaceInfo * 1365s # good_types_interface_info (void) 1365s # { 1365s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1365s # } 1365s # 1365s # /** 1365s # * good_types_override_properties: 1365s # * @klass: The class structure for a #GObject derived class. 1365s # * @property_id_begin: The property id to assign to the first overridden property. 1365s # * 1365s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1365s # * The properties are overridden in the order they are defined. 1365s # * 1365s # * Returns: The last property id. 1365s # */ 1365s # guint 1365s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1365s # { 1365s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1365s # return property_id_begin - 1; 1365s # } 1365s # 1365s # 1365s # 1365s # /** 1365s # * GoodTypes: 1365s # * 1365s # * Abstract interface type for the D-Bus interface GoodTypes. 1365s # */ 1365s # 1365s # /** 1365s # * GoodTypesIface: 1365s # * @parent_iface: The parent interface. 1365s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1365s # * 1365s # * Virtual table for the D-Bus interface GoodTypes. 1365s # */ 1365s # 1365s # typedef GoodTypesIface GoodTypesInterface; 1365s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1365s # 1365s # static void 1365s # good_types_default_init (GoodTypesIface *iface) 1365s # { 1365s # /* GObject properties for D-Bus properties: */ 1365s # /** 1365s # * GoodTypes:good-property-type: 1365s # * 1365s # * Represents the D-Bus property "GoodPropertyType". 1365s # * 1365s # * 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. 1365s # */ 1365s # g_object_interface_install_property (iface, 1365s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1365s # } 1365s # 1365s # /** 1365s # * good_types_get_good_property_type: (skip) 1365s # * @object: A GoodTypes. 1365s # * 1365s # * Gets the value of the "GoodPropertyType" D-Bus property. 1365s # * 1365s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1365s # * 1365s # * 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. 1365s # * 1365s # * 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. 1365s # */ 1365s # GVariant * 1365s # good_types_get_good_property_type (GoodTypes *object) 1365s # { 1365s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1365s # 1365s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1365s # } 1365s # 1365s # /** 1365s # * good_types_dup_good_property_type: (skip) 1365s # * @object: A GoodTypes. 1365s # * 1365s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1365s # * 1365s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1365s # * 1365s # * 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(). 1365s # */ 1365s # GVariant * 1365s # good_types_dup_good_property_type (GoodTypes *object) 1365s # { 1365s # GVariant *value; 1365s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1365s # return value; 1365s # } 1365s # 1365s # /** 1365s # * good_types_set_good_property_type: (skip) 1365s # * @object: A GoodTypes. 1365s # * @value: The value to set. 1365s # * 1365s # * Sets the "GoodPropertyType" D-Bus property to @value. 1365s # * 1365s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1365s # */ 1365s # void 1365s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1365s # { 1365s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1365s # } 1365s # 1365s # /* ------------------------------------------------------------------------ */ 1365s # 1365s # /** 1365s # * GoodTypesProxy: 1365s # * 1365s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1365s # */ 1365s # 1365s # /** 1365s # * GoodTypesProxyClass: 1365s # * @parent_class: The parent class. 1365s # * 1365s # * Class structure for GoodTypesProxy. 1365s # */ 1365s # 1365s # struct _GoodTypesProxyPrivate 1365s # { 1365s # GData *qdata; 1365s # }; 1365s # 1365s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1365s # 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1365s # G_ADD_PRIVATE (GoodTypesProxy) 1365s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1365s # 1365s # #else 1365s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1365s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1365s # 1365s # #endif 1365s # static void 1365s # good_types_proxy_finalize (GObject *object) 1365s # { 1365s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1365s # g_datalist_clear (&proxy->priv->qdata); 1365s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_get_property (GObject *object, 1365s # guint prop_id, 1365s # GValue *value, 1365s # GParamSpec *pspec G_GNUC_UNUSED) 1365s # { 1365s # const _ExtendedGDBusPropertyInfo *info; 1365s # GVariant *variant; 1365s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1365s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1365s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1365s # if (info->use_gvariant) 1365s # { 1365s # g_value_set_variant (value, variant); 1365s # } 1365s # else 1365s # { 1365s # if (variant != NULL) 1365s # g_dbus_gvariant_to_gvalue (variant, value); 1365s # } 1365s # if (variant != NULL) 1365s # g_variant_unref (variant); 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1365s # GAsyncResult *res, 1365s # gpointer user_data) 1365s # { 1365s # const _ExtendedGDBusPropertyInfo *info = user_data; 1365s # GError *error; 1365s # GVariant *_ret; 1365s # error = NULL; 1365s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1365s # if (!_ret) 1365s # { 1365s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1365s # info->parent_struct.name, 1365s # error->message, g_quark_to_string (error->domain), error->code); 1365s # g_error_free (error); 1365s # } 1365s # else 1365s # { 1365s # g_variant_unref (_ret); 1365s # } 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_set_property (GObject *object, 1365s # guint prop_id, 1365s # const GValue *value, 1365s # GParamSpec *pspec G_GNUC_UNUSED) 1365s # { 1365s # const _ExtendedGDBusPropertyInfo *info; 1365s # GVariant *variant; 1365s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1365s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1365s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1365s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1365s # "org.freedesktop.DBus.Properties.Set", 1365s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1365s # G_DBUS_CALL_FLAGS_NONE, 1365s # -1, 1365s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1365s # g_variant_unref (variant); 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_g_signal (GDBusProxy *proxy, 1365s # const gchar *sender_name G_GNUC_UNUSED, 1365s # const gchar *signal_name, 1365s # GVariant *parameters) 1365s # { 1365s # _ExtendedGDBusSignalInfo *info; 1365s # GVariantIter iter; 1365s # GVariant *child; 1365s # GValue *paramv; 1365s # gsize num_params; 1365s # gsize n; 1365s # guint signal_id; 1365s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1365s # if (info == NULL) 1365s # return; 1365s # num_params = g_variant_n_children (parameters); 1365s # paramv = g_new0 (GValue, num_params + 1); 1365s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1365s # g_value_set_object (¶mv[0], proxy); 1365s # g_variant_iter_init (&iter, parameters); 1365s # n = 1; 1365s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1365s # { 1365s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1365s # if (arg_info->use_gvariant) 1365s # { 1365s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1365s # g_value_set_variant (¶mv[n], child); 1365s # n++; 1365s # } 1365s # else 1365s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1365s # g_variant_unref (child); 1365s # } 1365s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1365s # g_signal_emitv (paramv, signal_id, 0, NULL); 1365s # for (n = 0; n < num_params + 1; n++) 1365s # g_value_unset (¶mv[n]); 1365s # g_free (paramv); 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1365s # GVariant *changed_properties, 1365s # const gchar *const *invalidated_properties) 1365s # { 1365s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1365s # guint n; 1365s # const gchar *key; 1365s # GVariantIter *iter; 1365s # _ExtendedGDBusPropertyInfo *info; 1365s # g_variant_get (changed_properties, "a{sv}", &iter); 1365s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1365s # { 1365s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1365s # g_datalist_remove_data (&proxy->priv->qdata, key); 1365s # if (info != NULL) 1365s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1365s # } 1365s # g_variant_iter_free (iter); 1365s # for (n = 0; invalidated_properties[n] != NULL; n++) 1365s # { 1365s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1365s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1365s # if (info != NULL) 1365s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1365s # } 1365s # } 1365s # 1365s # static GVariant * 1365s # good_types_proxy_get_good_property_type (GoodTypes *object) 1365s # { 1365s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1365s # GVariant *variant; 1365s # GVariant *value = NULL; 1365s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1365s # value = variant; 1365s # if (variant != NULL) 1365s # g_variant_unref (variant); 1365s # return value; 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_init (GoodTypesProxy *proxy) 1365s # { 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1365s # #else 1365s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1365s # #endif 1365s # 1365s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1365s # { 1365s # GObjectClass *gobject_class; 1365s # GDBusProxyClass *proxy_class; 1365s # 1365s # gobject_class = G_OBJECT_CLASS (klass); 1365s # gobject_class->finalize = good_types_proxy_finalize; 1365s # gobject_class->get_property = good_types_proxy_get_property; 1365s # gobject_class->set_property = good_types_proxy_set_property; 1365s # 1365s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1365s # proxy_class->g_signal = good_types_proxy_g_signal; 1365s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1365s # 1365s # good_types_override_properties (gobject_class, 1); 1365s # 1365s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1365s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1365s # #endif 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_iface_init (GoodTypesIface *iface) 1365s # { 1365s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1365s # } 1365s # 1365s # /** 1365s # * good_types_proxy_new: 1365s # * @connection: A #GDBusConnection. 1365s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1365s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1365s # * @object_path: An object path. 1365s # * @cancellable: (nullable): A #GCancellable or %NULL. 1365s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1365s # * @user_data: User data to pass to @callback. 1365s # * 1365s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1365s # * 1365s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1365s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1365s # * 1365s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1365s # */ 1365s # void 1365s # good_types_proxy_new ( 1365s # GDBusConnection *connection, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data) 1365s # { 1365s # 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); 1365s # } 1365s # 1365s # /** 1365s # * good_types_proxy_new_finish: 1365s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1365s # * @error: Return location for error or %NULL 1365s # * 1365s # * Finishes an operation started with good_types_proxy_new(). 1365s # * 1365s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1365s # */ 1365s # GoodTypes * 1365s # good_types_proxy_new_finish ( 1365s # GAsyncResult *res, 1365s # GError **error) 1365s # { 1365s # GObject *ret; 1365s # GObject *source_object; 1365s # source_object = g_async_result_get_source_object (res); 1365s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1365s # g_object_unref (source_object); 1365s # if (ret != NULL) 1365s # return GOOD_TYPES (ret); 1365s # else 1365s # return NULL; 1365s # } 1365s # 1365s # /** 1365s # * good_types_proxy_new_sync: 1365s # * @connection: A #GDBusConnection. 1365s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1365s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1365s # * @object_path: An object path. 1365s # * @cancellable: (nullable): A #GCancellable or %NULL. 1365s # * @error: Return location for error or %NULL 1365s # * 1365s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1365s # * 1365s # * The calling thread is blocked until a reply is received. 1365s # * 1365s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1365s # * 1365s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1365s # */ 1365s # GoodTypes * 1365s # good_types_proxy_new_sync ( 1365s # GDBusConnection *connection, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GError **error) 1365s # { 1365s # GInitable *ret; 1365s # 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); 1365s # if (ret != NULL) 1365s # return GOOD_TYPES (ret); 1365s # else 1365s # return NULL; 1365s # } 1365s # 1365s # 1365s # /** 1365s # * good_types_proxy_new_for_bus: 1365s # * @bus_type: A #GBusType. 1365s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1365s # * @name: A bus name (well-known or unique). 1365s # * @object_path: An object path. 1365s # * @cancellable: (nullable): A #GCancellable or %NULL. 1365s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1365s # * @user_data: User data to pass to @callback. 1365s # * 1365s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1365s # * 1365s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1365s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1365s # * 1365s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1365s # */ 1365s # void 1365s # good_types_proxy_new_for_bus ( 1365s # GBusType bus_type, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data) 1365s # { 1365s # 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); 1365s # } 1365s # 1365s # /** 1365s # * good_types_proxy_new_for_bus_finish: 1365s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1365s # * @error: Return location for error or %NULL 1365s # * 1365s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1365s # * 1365s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1365s # */ 1365s # GoodTypes * 1365s # good_types_proxy_new_for_bus_finish ( 1365s # GAsyncResult *res, 1365s # GError **error) 1365s # { 1365s # GObject *ret; 1365s # GObject *source_object; 1365s # source_object = g_async_result_get_source_object (res); 1365s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1365s # g_object_unref (source_object); 1365s # if (ret != NULL) 1365s # return GOOD_TYPES (ret); 1365s # else 1365s # return NULL; 1365s # } 1365s # 1365s # /** 1365s # * good_types_proxy_new_for_bus_sync: 1365s # * @bus_type: A #GBusType. 1365s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1365s # * @name: A bus name (well-known or unique). 1365s # * @object_path: An object path. 1365s # * @cancellable: (nullable): A #GCancellable or %NULL. 1365s # * @error: Return location for error or %NULL 1365s # * 1365s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1365s # * 1365s # * The calling thread is blocked until a reply is received. 1365s # * 1365s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1365s # * 1365s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1365s # */ 1365s # GoodTypes * 1365s # good_types_proxy_new_for_bus_sync ( 1365s # GBusType bus_type, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GError **error) 1365s # { 1365s # GInitable *ret; 1365s # 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); 1365s # if (ret != NULL) 1365s # return GOOD_TYPES (ret); 1365s # else 1365s # return NULL; 1365s # } 1365s # 1365s # 1365s # /* ------------------------------------------------------------------------ */ 1365s # 1365s # /** 1365s # * GoodTypesSkeleton: 1365s # * 1365s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1365s # */ 1365s # 1365s # /** 1365s # * GoodTypesSkeletonClass: 1365s # * @parent_class: The parent class. 1365s # * 1365s # * Class structure for GoodTypesSkeleton. 1365s # */ 1365s # 1365s # struct _GoodTypesSkeletonPrivate 1365s # { 1365s # GValue *properties; 1365s # GList *changed_properties; 1365s # GSource *changed_properties_idle_source; 1365s # GMainContext *context; 1365s # GMutex lock; 1365s # }; 1365s # 1365s # static void 1365s # _good_types_skeleton_handle_method_call ( 1365s # GDBusConnection *connection G_GNUC_UNUSED, 1365s # const gchar *sender G_GNUC_UNUSED, 1365s # const gchar *object_path G_GNUC_UNUSED, 1365s # const gchar *interface_name, 1365s # const gchar *method_name, 1365s # GVariant *parameters, 1365s # GDBusMethodInvocation *invocation, 1365s # gpointer user_data) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1365s # _ExtendedGDBusMethodInfo *info; 1365s # GVariantIter iter; 1365s # GVariant *child; 1365s # GValue *paramv; 1365s # gsize num_params; 1365s # guint num_extra; 1365s # gsize n; 1365s # guint signal_id; 1365s # GValue return_value = G_VALUE_INIT; 1365s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1365s # g_assert (info != NULL); 1365s # num_params = g_variant_n_children (parameters); 1365s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1365s # n = 0; 1365s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1365s # g_value_set_object (¶mv[n++], skeleton); 1365s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1365s # g_value_set_object (¶mv[n++], invocation); 1365s # if (info->pass_fdlist) 1365s # { 1365s # #ifdef G_OS_UNIX 1365s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1365s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1365s # #else 1365s # g_assert_not_reached (); 1365s # #endif 1365s # } 1365s # g_variant_iter_init (&iter, parameters); 1365s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1365s # { 1365s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1365s # if (arg_info->use_gvariant) 1365s # { 1365s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1365s # g_value_set_variant (¶mv[n], child); 1365s # n++; 1365s # } 1365s # else 1365s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1365s # g_variant_unref (child); 1365s # } 1365s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1365s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1365s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1365s # if (!g_value_get_boolean (&return_value)) 1365s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1365s # g_value_unset (&return_value); 1365s # for (n = 0; n < num_params + num_extra; n++) 1365s # g_value_unset (¶mv[n]); 1365s # g_free (paramv); 1365s # } 1365s # 1365s # static GVariant * 1365s # _good_types_skeleton_handle_get_property ( 1365s # GDBusConnection *connection G_GNUC_UNUSED, 1365s # const gchar *sender G_GNUC_UNUSED, 1365s # const gchar *object_path G_GNUC_UNUSED, 1365s # const gchar *interface_name G_GNUC_UNUSED, 1365s # const gchar *property_name, 1365s # GError **error, 1365s # gpointer user_data) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1365s # GValue value = G_VALUE_INIT; 1365s # GParamSpec *pspec; 1365s # _ExtendedGDBusPropertyInfo *info; 1365s # GVariant *ret; 1365s # ret = NULL; 1365s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1365s # g_assert (info != NULL); 1365s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1365s # if (pspec == NULL) 1365s # { 1365s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1365s # } 1365s # else 1365s # { 1365s # g_value_init (&value, pspec->value_type); 1365s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1365s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1365s # g_value_unset (&value); 1365s # } 1365s # return ret; 1365s # } 1365s # 1365s # static gboolean 1365s # _good_types_skeleton_handle_set_property ( 1365s # GDBusConnection *connection G_GNUC_UNUSED, 1365s # const gchar *sender G_GNUC_UNUSED, 1365s # const gchar *object_path G_GNUC_UNUSED, 1365s # const gchar *interface_name G_GNUC_UNUSED, 1365s # const gchar *property_name, 1365s # GVariant *variant, 1365s # GError **error, 1365s # gpointer user_data) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1365s # GValue value = G_VALUE_INIT; 1365s # GParamSpec *pspec; 1365s # _ExtendedGDBusPropertyInfo *info; 1365s # gboolean ret; 1365s # ret = FALSE; 1365s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1365s # g_assert (info != NULL); 1365s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1365s # if (pspec == NULL) 1365s # { 1365s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1365s # } 1365s # else 1365s # { 1365s # if (info->use_gvariant) 1365s # g_value_set_variant (&value, variant); 1365s # else 1365s # g_dbus_gvariant_to_gvalue (variant, &value); 1365s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1365s # g_value_unset (&value); 1365s # ret = TRUE; 1365s # } 1365s # return ret; 1365s # } 1365s # 1365s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1365s # { 1365s # _good_types_skeleton_handle_method_call, 1365s # _good_types_skeleton_handle_get_property, 1365s # _good_types_skeleton_handle_set_property, 1365s # {NULL} 1365s # }; 1365s # 1365s # static GDBusInterfaceInfo * 1365s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1365s # { 1365s # return good_types_interface_info (); 1365s # } 1365s # 1365s # static GDBusInterfaceVTable * 1365s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1365s # { 1365s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1365s # } 1365s # 1365s # static GVariant * 1365s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1365s # 1365s # GVariantBuilder builder; 1365s # guint n; 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1365s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1365s # #else 1365s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1365s # #endif 1365s # if (_good_types_interface_info.parent_struct.properties == NULL) 1365s # goto out; 1365s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1365s # { 1365s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1365s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1365s # { 1365s # GVariant *value; 1365s # 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); 1365s # if (value != NULL) 1365s # { 1365s # g_variant_take_ref (value); 1365s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1365s # g_variant_unref (value); 1365s # } 1365s # } 1365s # } 1365s # out: 1365s # return g_variant_builder_end (&builder); 1365s # } 1365s # 1365s # static gboolean _good_types_emit_changed (gpointer user_data); 1365s # 1365s # static void 1365s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1365s # gboolean emit_changed = FALSE; 1365s # 1365s # g_mutex_lock (&skeleton->priv->lock); 1365s # if (skeleton->priv->changed_properties_idle_source != NULL) 1365s # { 1365s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1365s # skeleton->priv->changed_properties_idle_source = NULL; 1365s # emit_changed = TRUE; 1365s # } 1365s # g_mutex_unlock (&skeleton->priv->lock); 1365s # 1365s # if (emit_changed) 1365s # _good_types_emit_changed (skeleton); 1365s # } 1365s # 1365s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1365s # G_ADD_PRIVATE (GoodTypesSkeleton) 1365s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1365s # 1365s # #else 1365s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1365s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1365s # 1365s # #endif 1365s # static void 1365s # good_types_skeleton_finalize (GObject *object) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1365s # guint n; 1365s # for (n = 0; n < 1; n++) 1365s # g_value_unset (&skeleton->priv->properties[n]); 1365s # g_free (skeleton->priv->properties); 1365s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # /* coverity[missing_lock : SUPPRESS] */ 1365s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1365s # #else 1365s # if (skeleton->priv->changed_properties_idle_source != NULL) 1365s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1365s # skeleton->priv->changed_properties_idle_source = NULL; 1365s # #endif 1365s # g_main_context_unref (skeleton->priv->context); 1365s # g_mutex_clear (&skeleton->priv->lock); 1365s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1365s # } 1365s # 1365s # static void 1365s # good_types_skeleton_get_property (GObject *object, 1365s # guint prop_id, 1365s # GValue *value, 1365s # GParamSpec *pspec G_GNUC_UNUSED) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1365s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1365s # g_mutex_lock (&skeleton->priv->lock); 1365s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1365s # g_mutex_unlock (&skeleton->priv->lock); 1365s # } 1365s # 1365s # static gboolean 1365s # _good_types_emit_changed (gpointer user_data) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1365s # GList *l; 1365s # GVariantBuilder builder; 1365s # GVariantBuilder invalidated_builder; 1365s # guint num_changes; 1365s # 1365s # g_mutex_lock (&skeleton->priv->lock); 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1365s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1365s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1365s # #else 1365s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1365s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1365s # #endif 1365s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1365s # { 1365s # ChangedProperty *cp = l->data; 1365s # GVariant *variant; 1365s # const GValue *cur_value; 1365s # 1365s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1365s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1365s # { 1365s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1365s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1365s # g_variant_unref (variant); 1365s # num_changes++; 1365s # } 1365s # } 1365s # if (num_changes > 0) 1365s # { 1365s # GList *connections, *ll; 1365s # GVariant *signal_variant; 1365s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1365s # &builder, &invalidated_builder)); 1365s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1365s # for (ll = connections; ll != NULL; ll = ll->next) 1365s # { 1365s # GDBusConnection *connection = ll->data; 1365s # 1365s # g_dbus_connection_emit_signal (connection, 1365s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1365s # "org.freedesktop.DBus.Properties", 1365s # "PropertiesChanged", 1365s # signal_variant, 1365s # NULL); 1365s # } 1365s # g_variant_unref (signal_variant); 1365s # g_list_free_full (connections, g_object_unref); 1365s # } 1365s # else 1365s # { 1365s # g_variant_builder_clear (&builder); 1365s # g_variant_builder_clear (&invalidated_builder); 1365s # } 1365s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1365s # skeleton->priv->changed_properties = NULL; 1365s # skeleton->priv->changed_properties_idle_source = NULL; 1365s # g_mutex_unlock (&skeleton->priv->lock); 1365s # return FALSE; 1365s # } 1365s # 1365s # static void 1365s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1365s # { 1365s # ChangedProperty *cp; 1365s # GList *l; 1365s # cp = NULL; 1365s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1365s # { 1365s # ChangedProperty *i_cp = l->data; 1365s # if (i_cp->info == info) 1365s # { 1365s # cp = i_cp; 1365s # break; 1365s # } 1365s # } 1365s # if (cp == NULL) 1365s # { 1365s # cp = g_new0 (ChangedProperty, 1); 1365s # cp->prop_id = prop_id; 1365s # cp->info = info; 1365s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1365s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1365s # g_value_copy (orig_value, &cp->orig_value); 1365s # } 1365s # } 1365s # 1365s # static void 1365s # good_types_skeleton_notify (GObject *object, 1365s # GParamSpec *pspec G_GNUC_UNUSED) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1365s # g_mutex_lock (&skeleton->priv->lock); 1365s # if (skeleton->priv->changed_properties != NULL && 1365s # skeleton->priv->changed_properties_idle_source == NULL) 1365s # { 1365s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1365s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1365s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1365s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1365s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1365s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1365s # } 1365s # g_mutex_unlock (&skeleton->priv->lock); 1365s # } 1365s # 1365s # static void 1365s # good_types_skeleton_set_property (GObject *object, 1365s # guint prop_id, 1365s # const GValue *value, 1365s # GParamSpec *pspec) 1365s # { 1365s # const _ExtendedGDBusPropertyInfo *info; 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1365s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1365s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1365s # g_mutex_lock (&skeleton->priv->lock); 1365s # g_object_freeze_notify (object); 1365s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1365s # { 1365s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1365s # info->emits_changed_signal) 1365s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1365s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1365s # g_object_notify_by_pspec (object, pspec); 1365s # } 1365s # g_mutex_unlock (&skeleton->priv->lock); 1365s # g_object_thaw_notify (object); 1365s # } 1365s # 1365s # static void 1365s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1365s # { 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1365s # #else 1365s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1365s # #endif 1365s # 1365s # g_mutex_init (&skeleton->priv->lock); 1365s # skeleton->priv->context = g_main_context_ref_thread_default (); 1365s # skeleton->priv->properties = g_new0 (GValue, 1); 1365s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1365s # } 1365s # 1365s # static GVariant * 1365s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1365s # GVariant *value; 1365s # g_mutex_lock (&skeleton->priv->lock); 1365s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1365s # g_mutex_unlock (&skeleton->priv->lock); 1365s # return value; 1365s # } 1365s # 1365s # static void 1365s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1365s # { 1365s # GObjectClass *gobject_class; 1365s # GDBusInterfaceSkeletonClass *skeleton_class; 1365s # 1365s # gobject_class = G_OBJECT_CLASS (klass); 1365s # gobject_class->finalize = good_types_skeleton_finalize; 1365s # gobject_class->get_property = good_types_skeleton_get_property; 1365s # gobject_class->set_property = good_types_skeleton_set_property; 1365s # gobject_class->notify = good_types_skeleton_notify; 1365s # 1365s # 1365s # good_types_override_properties (gobject_class, 1); 1365s # 1365s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1365s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1365s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1365s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1365s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1365s # 1365s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1365s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1365s # #endif 1365s # } 1365s # 1365s # static void 1365s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1365s # { 1365s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1365s # } 1365s # 1365s # /** 1365s # * good_types_skeleton_new: 1365s # * 1365s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1365s # * 1365s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1365s # */ 1365s # GoodTypes * 1365s # good_types_skeleton_new (void) 1365s # { 1365s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1365s # } 1365s # Error: 1365s # 1365s # /tmp/tmpxn43uwme/tmp8rebgnlw.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxn43uwme/tmp8rebgnlw.xml', '--output', '-', '--body'] 1365s # Return code: 0 1365s # Output: 1365s # /* 1365s # * This file is generated by gdbus-codegen, do not modify it. 1365s # * 1365s # * The license of this code is the same as for the D-Bus interface description 1365s # * it was derived from. Note that it links to GLib, so must comply with the 1365s # * LGPL linking clauses. 1365s # */ 1365s # 1365s # #ifdef HAVE_CONFIG_H 1365s # # include "config.h" 1365s # #endif 1365s # 1365s # #include 1365s # #ifdef G_OS_UNIX 1365s # # include 1365s # #endif 1365s # 1365s # #ifdef G_ENABLE_DEBUG 1365s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1365s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1365s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1365s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1365s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1365s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1365s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1365s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1365s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1365s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1365s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1365s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1365s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1365s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1365s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1365s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1365s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1365s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1365s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1365s # #else /* !G_ENABLE_DEBUG */ 1365s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1365s # * Do not access GValues directly in your code. Instead, use the 1365s # * g_value_get_*() functions 1365s # */ 1365s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1365s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1365s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1365s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1365s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1365s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1365s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1365s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1365s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1365s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1365s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1365s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1365s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1365s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1365s # #endif /* !G_ENABLE_DEBUG */ 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusArgInfo parent_struct; 1365s # gboolean use_gvariant; 1365s # } _ExtendedGDBusArgInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusMethodInfo parent_struct; 1365s # const gchar *signal_name; 1365s # gboolean pass_fdlist; 1365s # } _ExtendedGDBusMethodInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusSignalInfo parent_struct; 1365s # const gchar *signal_name; 1365s # } _ExtendedGDBusSignalInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusPropertyInfo parent_struct; 1365s # const gchar *hyphen_name; 1365s # guint use_gvariant : 1; 1365s # guint emits_changed_signal : 1; 1365s # } _ExtendedGDBusPropertyInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusInterfaceInfo parent_struct; 1365s # const gchar *hyphen_name; 1365s # } _ExtendedGDBusInterfaceInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # const _ExtendedGDBusPropertyInfo *info; 1365s # guint prop_id; 1365s # GValue orig_value; /* the value before the change */ 1365s # } ChangedProperty; 1365s # 1365s # static void 1365s # _changed_property_free (ChangedProperty *data) 1365s # { 1365s # g_value_unset (&data->orig_value); 1365s # g_free (data); 1365s # } 1365s # 1365s # static gboolean 1365s # _g_strv_equal0 (gchar **a, gchar **b) 1365s # { 1365s # gboolean ret = FALSE; 1365s # guint n; 1365s # if (a == NULL && b == NULL) 1365s # { 1365s # ret = TRUE; 1365s # goto out; 1365s # } 1365s # if (a == NULL || b == NULL) 1365s # goto out; 1365s # if (g_strv_length (a) != g_strv_length (b)) 1365s # goto out; 1365s # for (n = 0; a[n] != NULL; n++) 1365s # if (g_strcmp0 (a[n], b[n]) != 0) 1365s # goto out; 1365s # ret = TRUE; 1365s # out: 1365s # return ret; 1365s # } 1365s # 1365s # static gboolean 1365s # _g_variant_equal0 (GVariant *a, GVariant *b) 1365s # { 1365s # gboolean ret = FALSE; 1365s # if (a == NULL && b == NULL) 1365s # { 1365s # ret = TRUE; 1365s # goto out; 1365s # } 1365s # if (a == NULL || b == NULL) 1365s # goto out; 1365s # ret = g_variant_equal (a, b); 1365s # out: 1365s # return ret; 1365s # } 1365s # 1365s # G_GNUC_UNUSED static gboolean 1365s # _g_value_equal (const GValue *a, const GValue *b) 1365s # { 1365s # gboolean ret = FALSE; 1365s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1365s # switch (G_VALUE_TYPE (a)) 1365s # { 1365s # case G_TYPE_BOOLEAN: 1365s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1365s # break; 1365s # case G_TYPE_UCHAR: 1365s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1365s # break; 1365s # case G_TYPE_INT: 1365s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1365s # break; 1365s # case G_TYPE_UINT: 1365s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1365s # break; 1365s # case G_TYPE_INT64: 1365s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1365s # break; 1365s # case G_TYPE_UINT64: 1365s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1365s # break; 1365s # case G_TYPE_DOUBLE: 1365s # { 1365s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1365s # gdouble da = g_value_get_double (a); 1365s # gdouble db = g_value_get_double (b); 1365s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1365s # } 1365s # break; 1365s # case G_TYPE_STRING: 1365s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1365s # break; 1365s # case G_TYPE_VARIANT: 1365s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1365s # break; 1365s # default: 1365s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1365s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1365s # else 1365s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1365s # break; 1365s # } 1365s # return ret; 1365s # } 1365s # 1365s # /* ------------------------------------------------------------------------ 1365s # * Code for interface GoodTypes 1365s # * ------------------------------------------------------------------------ 1365s # */ 1365s # 1365s # /** 1365s # * SECTION:GoodTypes 1365s # * @title: GoodTypes 1365s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1365s # * 1365s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1365s # */ 1365s # 1365s # /* ---- Introspection data for GoodTypes ---- */ 1365s # 1365s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1365s # { 1365s # { 1365s # -1, 1365s # (gchar *) "GoodPropertyType", 1365s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1365s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1365s # NULL 1365s # }, 1365s # "good-property-type", 1365s # FALSE, 1365s # TRUE 1365s # }; 1365s # 1365s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1365s # { 1365s # &_good_types_property_info_good_property_type.parent_struct, 1365s # NULL 1365s # }; 1365s # 1365s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1365s # { 1365s # { 1365s # -1, 1365s # (gchar *) "GoodTypes", 1365s # NULL, 1365s # NULL, 1365s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1365s # NULL 1365s # }, 1365s # "good-types", 1365s # }; 1365s # 1365s # 1365s # /** 1365s # * good_types_interface_info: 1365s # * 1365s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1365s # * 1365s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1365s # */ 1365s # GDBusInterfaceInfo * 1365s # good_types_interface_info (void) 1365s # { 1365s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1365s # } 1365s # 1365s # /** 1365s # * good_types_override_properties: 1365s # * @klass: The class structure for a #GObject derived class. 1365s # * @property_id_begin: The property id to assign to the first overridden property. 1365s # * 1365s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1365s # * The properties are overridden in the order they are defined. 1365s # * 1365s # * Returns: The last property id. 1365s # */ 1365s # guint 1365s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1365s # { 1365s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1365s # return property_id_begin - 1; 1365s # } 1365s # 1365s # 1365s # 1365s # /** 1365s # * GoodTypes: 1365s # * 1365s # * Abstract interface type for the D-Bus interface GoodTypes. 1365s # */ 1365s # 1365s # /** 1365s # * GoodTypesIface: 1365s # * @parent_iface: The parent interface. 1365s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1365s # * 1365s # * Virtual table for the D-Bus interface GoodTypes. 1365s # */ 1365s # 1365s # typedef GoodTypesIface GoodTypesInterface; 1365s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1365s # 1365s # static void 1365s # good_types_default_init (GoodTypesIface *iface) 1365s # { 1365s # /* GObject properties for D-Bus properties: */ 1365s # /** 1365s # * GoodTypes:good-property-type: 1365s # * 1365s # * Represents the D-Bus property "GoodPropertyType". 1365s # * 1365s # * 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. 1365s # */ 1365s # g_object_interface_install_property (iface, 1365s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1365s # } 1365s # 1365s # /** 1365s # * good_types_get_good_property_type: (skip) 1365s # * @object: A GoodTypes. 1365s # * 1365s # * Gets the value of the "GoodPropertyType" D-Bus property. 1365s # * 1365s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1365s # * 1365s # * 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. 1365s # * 1365s # * 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. 1365s # */ 1365s # GVariant * 1365s # good_types_get_good_property_type (GoodTypes *object) 1365s # { 1365s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1365s # 1365s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1365s # } 1365s # 1365s # /** 1365s # * good_types_dup_good_property_type: (skip) 1365s # * @object: A GoodTypes. 1365s # * 1365s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1365s # * 1365s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1365s # * 1365s # * 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(). 1365s # */ 1365s # GVariant * 1365s # good_types_dup_good_property_type (GoodTypes *object) 1365s # { 1365s # GVariant *value; 1365s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1365s # return value; 1365s # } 1365s # 1365s # /** 1365s # * good_types_set_good_property_type: (skip) 1365s # * @object: A GoodTypes. 1365s # * @value: The value to set. 1365s # * 1365s # * Sets the "GoodPropertyType" D-Bus property to @value. 1365s # * 1365s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1365s # */ 1365s # void 1365s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1365s # { 1365s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1365s # } 1365s # 1365s # /* ------------------------------------------------------------------------ */ 1365s # 1365s # /** 1365s # * GoodTypesProxy: 1365s # * 1365s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1365s # */ 1365s # 1365s # /** 1365s # * GoodTypesProxyClass: 1365s # * @parent_class: The parent class. 1365s # * 1365s # * Class structure for GoodTypesProxy. 1365s # */ 1365s # 1365s # struct _GoodTypesProxyPrivate 1365s # { 1365s # GData *qdata; 1365s # }; 1365s # 1365s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1365s # 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1365s # G_ADD_PRIVATE (GoodTypesProxy) 1365s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1365s # 1365s # #else 1365s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1365s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1365s # 1365s # #endif 1365s # static void 1365s # good_types_proxy_finalize (GObject *object) 1365s # { 1365s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1365s # g_datalist_clear (&proxy->priv->qdata); 1365s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_get_property (GObject *object, 1365s # guint prop_id, 1365s # GValue *value, 1365s # GParamSpec *pspec G_GNUC_UNUSED) 1365s # { 1365s # const _ExtendedGDBusPropertyInfo *info; 1365s # GVariant *variant; 1365s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1365s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1365s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1365s # if (info->use_gvariant) 1365s # { 1365s # g_value_set_variant (value, variant); 1365s # } 1365s # else 1365s # { 1365s # if (variant != NULL) 1365s # g_dbus_gvariant_to_gvalue (variant, value); 1365s # } 1365s # if (variant != NULL) 1365s # g_variant_unref (variant); 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1365s # GAsyncResult *res, 1365s # gpointer user_data) 1365s # { 1365s # const _ExtendedGDBusPropertyInfo *info = user_data; 1365s # GError *error; 1365s # GVariant *_ret; 1365s # error = NULL; 1365s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1365s # if (!_ret) 1365s # { 1365s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1365s # info->parent_struct.name, 1365s # error->message, g_quark_to_string (error->domain), error->code); 1365s # g_error_free (error); 1365s # } 1365s # else 1365s # { 1365s # g_variant_unref (_ret); 1365s # } 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_set_property (GObject *object, 1365s # guint prop_id, 1365s # const GValue *value, 1365s # GParamSpec *pspec G_GNUC_UNUSED) 1365s # { 1365s # const _ExtendedGDBusPropertyInfo *info; 1365s # GVariant *variant; 1365s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1365s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1365s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1365s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1365s # "org.freedesktop.DBus.Properties.Set", 1365s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1365s # G_DBUS_CALL_FLAGS_NONE, 1365s # -1, 1365s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1365s # g_variant_unref (variant); 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_g_signal (GDBusProxy *proxy, 1365s # const gchar *sender_name G_GNUC_UNUSED, 1365s # const gchar *signal_name, 1365s # GVariant *parameters) 1365s # { 1365s # _ExtendedGDBusSignalInfo *info; 1365s # GVariantIter iter; 1365s # GVariant *child; 1365s # GValue *paramv; 1365s # gsize num_params; 1365s # gsize n; 1365s # guint signal_id; 1365s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1365s # if (info == NULL) 1365s # return; 1365s # num_params = g_variant_n_children (parameters); 1365s # paramv = g_new0 (GValue, num_params + 1); 1365s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1365s # g_value_set_object (¶mv[0], proxy); 1365s # g_variant_iter_init (&iter, parameters); 1365s # n = 1; 1365s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1365s # { 1365s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1365s # if (arg_info->use_gvariant) 1365s # { 1365s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1365s # g_value_set_variant (¶mv[n], child); 1365s # n++; 1365s # } 1365s # else 1365s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1365s # g_variant_unref (child); 1365s # } 1365s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1365s # g_signal_emitv (paramv, signal_id, 0, NULL); 1365s # for (n = 0; n < num_params + 1; n++) 1365s # g_value_unset (¶mv[n]); 1365s # g_free (paramv); 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1365s # GVariant *changed_properties, 1365s # const gchar *const *invalidated_properties) 1365s # { 1365s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1365s # guint n; 1365s # const gchar *key; 1365s # GVariantIter *iter; 1365s # _ExtendedGDBusPropertyInfo *info; 1365s # g_variant_get (changed_properties, "a{sv}", &iter); 1365s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1365s # { 1365s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1365s # g_datalist_remove_data (&proxy->priv->qdata, key); 1365s # if (info != NULL) 1365s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1365s # } 1365s # g_variant_iter_free (iter); 1365s # for (n = 0; invalidated_properties[n] != NULL; n++) 1365s # { 1365s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1365s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1365s # if (info != NULL) 1365s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1365s # } 1365s # } 1365s # 1365s # static GVariant * 1365s # good_types_proxy_get_good_property_type (GoodTypes *object) 1365s # { 1365s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1365s # GVariant *variant; 1365s # GVariant *value = NULL; 1365s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1365s # value = variant; 1365s # if (variant != NULL) 1365s # g_variant_unref (variant); 1365s # return value; 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_init (GoodTypesProxy *proxy) 1365s # { 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1365s # #else 1365s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1365s # #endif 1365s # 1365s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1365s # { 1365s # GObjectClass *gobject_class; 1365s # GDBusProxyClass *proxy_class; 1365s # 1365s # gobject_class = G_OBJECT_CLASS (klass); 1365s # gobject_class->finalize = good_types_proxy_finalize; 1365s # gobject_class->get_property = good_types_proxy_get_property; 1365s # gobject_class->set_property = good_types_proxy_set_property; 1365s # 1365s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1365s # proxy_class->g_signal = good_types_proxy_g_signal; 1365s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1365s # 1365s # good_types_override_properties (gobject_class, 1); 1365s # 1365s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1365s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1365s # #endif 1365s # } 1365s # 1365s # static void 1365s # good_types_proxy_iface_init (GoodTypesIface *iface) 1365s # { 1365s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1365s # } 1365s # 1365s # /** 1365s # * good_types_proxy_new: 1365s # * @connection: A #GDBusConnection. 1365s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1365s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1365s # * @object_path: An object path. 1365s # * @cancellable: (nullable): A #GCancellable or %NULL. 1365s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1365s # * @user_data: User data to pass to @callback. 1365s # * 1365s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1365s # * 1365s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1365s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1365s # * 1365s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1365s # */ 1365s # void 1365s # good_types_proxy_new ( 1365s # GDBusConnection *connection, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data) 1365s # { 1365s # 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); 1365s # } 1365s # 1365s # /** 1365s # * good_types_proxy_new_finish: 1365s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1365s # * @error: Return location for error or %NULL 1365s # * 1365s # * Finishes an operation started with good_types_proxy_new(). 1365s # * 1365s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1365s # */ 1365s # GoodTypes * 1365s # good_types_proxy_new_finish ( 1365s # GAsyncResult *res, 1365s # GError **error) 1365s # { 1365s # GObject *ret; 1365s # GObject *source_object; 1365s # source_object = g_async_result_get_source_object (res); 1365s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1365s # g_object_unref (source_object); 1365s # if (ret != NULL) 1365s # return GOOD_TYPES (ret); 1365s # else 1365s # return NULL; 1365s # } 1365s # 1365s # /** 1365s # * good_types_proxy_new_sync: 1365s # * @connection: A #GDBusConnection. 1365s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1365s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1365s # * @object_path: An object path. 1365s # * @cancellable: (nullable): A #GCancellable or %NULL. 1365s # * @error: Return location for error or %NULL 1365s # * 1365s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1365s # * 1365s # * The calling thread is blocked until a reply is received. 1365s # * 1365s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1365s # * 1365s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1365s # */ 1365s # GoodTypes * 1365s # good_types_proxy_new_sync ( 1365s # GDBusConnection *connection, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GError **error) 1365s # { 1365s # GInitable *ret; 1365s # 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); 1365s # if (ret != NULL) 1365s # return GOOD_TYPES (ret); 1365s # else 1365s # return NULL; 1365s # } 1365s # 1365s # 1365s # /** 1365s # * good_types_proxy_new_for_bus: 1365s # * @bus_type: A #GBusType. 1365s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1365s # * @name: A bus name (well-known or unique). 1365s # * @object_path: An object path. 1365s # * @cancellable: (nullable): A #GCancellable or %NULL. 1365s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1365s # * @user_data: User data to pass to @callback. 1365s # * 1365s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1365s # * 1365s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1365s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1365s # * 1365s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1365s # */ 1365s # void 1365s # good_types_proxy_new_for_bus ( 1365s # GBusType bus_type, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data) 1365s # { 1365s # 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); 1365s # } 1365s # 1365s # /** 1365s # * good_types_proxy_new_for_bus_finish: 1365s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1365s # * @error: Return location for error or %NULL 1365s # * 1365s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1365s # * 1365s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1365s # */ 1365s # GoodTypes * 1365s # good_types_proxy_new_for_bus_finish ( 1365s # GAsyncResult *res, 1365s # GError **error) 1365s # { 1365s # GObject *ret; 1365s # GObject *source_object; 1365s # source_object = g_async_result_get_source_object (res); 1365s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1365s # g_object_unref (source_object); 1365s # if (ret != NULL) 1365s # return GOOD_TYPES (ret); 1365s # else 1365s # return NULL; 1365s # } 1365s # 1365s # /** 1365s # * good_types_proxy_new_for_bus_sync: 1365s # * @bus_type: A #GBusType. 1365s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1365s # * @name: A bus name (well-known or unique). 1365s # * @object_path: An object path. 1365s # * @cancellable: (nullable): A #GCancellable or %NULL. 1365s # * @error: Return location for error or %NULL 1365s # * 1365s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1365s # * 1365s # * The calling thread is blocked until a reply is received. 1365s # * 1365s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1365s # * 1365s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1365s # */ 1365s # GoodTypes * 1365s # good_types_proxy_new_for_bus_sync ( 1365s # GBusType bus_type, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GError **error) 1365s # { 1365s # GInitable *ret; 1365s # 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); 1365s # if (ret != NULL) 1365s # return GOOD_TYPES (ret); 1365s # else 1365s # return NULL; 1365s # } 1365s # 1365s # 1365s # /* ------------------------------------------------------------------------ */ 1365s # 1365s # /** 1365s # * GoodTypesSkeleton: 1365s # * 1365s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1365s # */ 1365s # 1365s # /** 1365s # * GoodTypesSkeletonClass: 1365s # * @parent_class: The parent class. 1365s # * 1365s # * Class structure for GoodTypesSkeleton. 1365s # */ 1365s # 1365s # struct _GoodTypesSkeletonPrivate 1365s # { 1365s # GValue *properties; 1365s # GList *changed_properties; 1365s # GSource *changed_properties_idle_source; 1365s # GMainContext *context; 1365s # GMutex lock; 1365s # }; 1365s # 1365s # static void 1365s # _good_types_skeleton_handle_method_call ( 1365s # GDBusConnection *connection G_GNUC_UNUSED, 1365s # const gchar *sender G_GNUC_UNUSED, 1365s # const gchar *object_path G_GNUC_UNUSED, 1365s # const gchar *interface_name, 1365s # const gchar *method_name, 1365s # GVariant *parameters, 1365s # GDBusMethodInvocation *invocation, 1365s # gpointer user_data) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1365s # _ExtendedGDBusMethodInfo *info; 1365s # GVariantIter iter; 1365s # GVariant *child; 1365s # GValue *paramv; 1365s # gsize num_params; 1365s # guint num_extra; 1365s # gsize n; 1365s # guint signal_id; 1365s # GValue return_value = G_VALUE_INIT; 1365s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1365s # g_assert (info != NULL); 1365s # num_params = g_variant_n_children (parameters); 1365s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1365s # n = 0; 1365s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1365s # g_value_set_object (¶mv[n++], skeleton); 1365s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1365s # g_value_set_object (¶mv[n++], invocation); 1365s # if (info->pass_fdlist) 1365s # { 1365s # #ifdef G_OS_UNIX 1365s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1365s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1365s # #else 1365s # g_assert_not_reached (); 1365s # #endif 1365s # } 1365s # g_variant_iter_init (&iter, parameters); 1365s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1365s # { 1365s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1365s # if (arg_info->use_gvariant) 1365s # { 1365s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1365s # g_value_set_variant (¶mv[n], child); 1365s # n++; 1365s # } 1365s # else 1365s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1365s # g_variant_unref (child); 1365s # } 1365s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1365s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1365s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1365s # if (!g_value_get_boolean (&return_value)) 1365s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1365s # g_value_unset (&return_value); 1365s # for (n = 0; n < num_params + num_extra; n++) 1365s # g_value_unset (¶mv[n]); 1365s # g_free (paramv); 1365s # } 1365s # 1365s # static GVariant * 1365s # _good_types_skeleton_handle_get_property ( 1365s # GDBusConnection *connection G_GNUC_UNUSED, 1365s # const gchar *sender G_GNUC_UNUSED, 1365s # const gchar *object_path G_GNUC_UNUSED, 1365s # const gchar *interface_name G_GNUC_UNUSED, 1365s # const gchar *property_name, 1365s # GError **error, 1365s # gpointer user_data) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1365s # GValue value = G_VALUE_INIT; 1365s # GParamSpec *pspec; 1365s # _ExtendedGDBusPropertyInfo *info; 1365s # GVariant *ret; 1365s # ret = NULL; 1365s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1365s # g_assert (info != NULL); 1365s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1365s # if (pspec == NULL) 1365s # { 1365s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1365s # } 1365s # else 1365s # { 1365s # g_value_init (&value, pspec->value_type); 1365s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1365s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1365s # g_value_unset (&value); 1365s # } 1365s # return ret; 1365s # } 1365s # 1365s # static gboolean 1365s # _good_types_skeleton_handle_set_property ( 1365s # GDBusConnection *connection G_GNUC_UNUSED, 1365s # const gchar *sender G_GNUC_UNUSED, 1365s # const gchar *object_path G_GNUC_UNUSED, 1365s # const gchar *interface_name G_GNUC_UNUSED, 1365s # const gchar *property_name, 1365s # GVariant *variant, 1365s # GError **error, 1365s # gpointer user_data) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1365s # GValue value = G_VALUE_INIT; 1365s # GParamSpec *pspec; 1365s # _ExtendedGDBusPropertyInfo *info; 1365s # gboolean ret; 1365s # ret = FALSE; 1365s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1365s # g_assert (info != NULL); 1365s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1365s # if (pspec == NULL) 1365s # { 1365s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1365s # } 1365s # else 1365s # { 1365s # if (info->use_gvariant) 1365s # g_value_set_variant (&value, variant); 1365s # else 1365s # g_dbus_gvariant_to_gvalue (variant, &value); 1365s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1365s # g_value_unset (&value); 1365s # ret = TRUE; 1365s # } 1365s # return ret; 1365s # } 1365s # 1365s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1365s # { 1365s # _good_types_skeleton_handle_method_call, 1365s # _good_types_skeleton_handle_get_property, 1365s # _good_types_skeleton_handle_set_property, 1365s # {NULL} 1365s # }; 1365s # 1365s # static GDBusInterfaceInfo * 1365s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1365s # { 1365s # return good_types_interface_info (); 1365s # } 1365s # 1365s # static GDBusInterfaceVTable * 1365s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1365s # { 1365s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1365s # } 1365s # 1365s # static GVariant * 1365s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1365s # 1365s # GVariantBuilder builder; 1365s # guint n; 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1365s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1365s # #else 1365s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1365s # #endif 1365s # if (_good_types_interface_info.parent_struct.properties == NULL) 1365s # goto out; 1365s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1365s # { 1365s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1365s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1365s # { 1365s # GVariant *value; 1365s # 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); 1365s # if (value != NULL) 1365s # { 1365s # g_variant_take_ref (value); 1365s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1365s # g_variant_unref (value); 1365s # } 1365s # } 1365s # } 1365s # out: 1365s # return g_variant_builder_end (&builder); 1365s # } 1365s # 1365s # static gboolean _good_types_emit_changed (gpointer user_data); 1365s # 1365s # static void 1365s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1365s # gboolean emit_changed = FALSE; 1365s # 1365s # g_mutex_lock (&skeleton->priv->lock); 1365s # if (skeleton->priv->changed_properties_idle_source != NULL) 1365s # { 1365s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1365s # skeleton->priv->changed_properties_idle_source = NULL; 1365s # emit_changed = TRUE; 1365s # } 1365s # g_mutex_unlock (&skeleton->priv->lock); 1365s # 1365s # if (emit_changed) 1365s # _good_types_emit_changed (skeleton); 1365s # } 1365s # 1365s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1365s # G_ADD_PRIVATE (GoodTypesSkeleton) 1365s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1365s # 1365s # #else 1365s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1365s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1365s # 1365s # #endif 1365s # static void 1365s # good_types_skeleton_finalize (GObject *object) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1365s # guint n; 1365s # for (n = 0; n < 1; n++) 1365s # g_value_unset (&skeleton->priv->properties[n]); 1365s # g_free (skeleton->priv->properties); 1365s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # /* coverity[missing_lock : SUPPRESS] */ 1365s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1365s # #else 1365s # if (skeleton->priv->changed_properties_idle_source != NULL) 1365s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1365s # skeleton->priv->changed_properties_idle_source = NULL; 1365s # #endif 1365s # g_main_context_unref (skeleton->priv->context); 1365s # g_mutex_clear (&skeleton->priv->lock); 1365s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1365s # } 1365s # 1365s # static void 1365s # good_types_skeleton_get_property (GObject *object, 1365s # guint prop_id, 1365s # GValue *value, 1365s # GParamSpec *pspec G_GNUC_UNUSED) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1365s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1365s # g_mutex_lock (&skeleton->priv->lock); 1365s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1365s # g_mutex_unlock (&skeleton->priv->lock); 1365s # } 1365s # 1365s # static gboolean 1365s # _good_types_emit_changed (gpointer user_data) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1365s # GList *l; 1365s # GVariantBuilder builder; 1365s # GVariantBuilder invalidated_builder; 1365s # guint num_changes; 1365s # 1365s # g_mutex_lock (&skeleton->priv->lock); 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1365s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1365s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1365s # #else 1365s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1365s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1365s # #endif 1365s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1365s # { 1365s # ChangedProperty *cp = l->data; 1365s # GVariant *variant; 1365s # const GValue *cur_value; 1365s # 1365s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1365s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1365s # { 1365s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1365s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1365s # g_variant_unref (variant); 1365s # num_changes++; 1365s # } 1365s # } 1365s # if (num_changes > 0) 1365s # { 1365s # GList *connections, *ll; 1365s # GVariant *signal_variant; 1365s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1365s # &builder, &invalidated_builder)); 1365s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1365s # for (ll = connections; ll != NULL; ll = ll->next) 1365s # { 1365s # GDBusConnection *connection = ll->data; 1365s # 1365s # g_dbus_connection_emit_signal (connection, 1365s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1365s # "org.freedesktop.DBus.Properties", 1365s # "PropertiesChanged", 1365s # signal_variant, 1365s # NULL); 1365s # } 1365s # g_variant_unref (signal_variant); 1365s # g_list_free_full (connections, g_object_unref); 1365s # } 1365s # else 1365s # { 1365s # g_variant_builder_clear (&builder); 1365s # g_variant_builder_clear (&invalidated_builder); 1365s # } 1365s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1365s # skeleton->priv->changed_properties = NULL; 1365s # skeleton->priv->changed_properties_idle_source = NULL; 1365s # g_mutex_unlock (&skeleton->priv->lock); 1365s # return FALSE; 1365s # } 1365s # 1365s # static void 1365s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1365s # { 1365s # ChangedProperty *cp; 1365s # GList *l; 1365s # cp = NULL; 1365s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1365s # { 1365s # ChangedProperty *i_cp = l->data; 1365s # if (i_cp->info == info) 1365s # { 1365s # cp = i_cp; 1365s # break; 1365s # } 1365s # } 1365s # if (cp == NULL) 1365s # { 1365s # cp = g_new0 (ChangedProperty, 1); 1365s # cp->prop_id = prop_id; 1365s # cp->info = info; 1365s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1365s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1365s # g_value_copy (orig_value, &cp->orig_value); 1365s # } 1365s # } 1365s # 1365s # static void 1365s # good_types_skeleton_notify (GObject *object, 1365s # GParamSpec *pspec G_GNUC_UNUSED) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1365s # g_mutex_lock (&skeleton->priv->lock); 1365s # if (skeleton->priv->changed_properties != NULL && 1365s # skeleton->priv->changed_properties_idle_source == NULL) 1365s # { 1365s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1365s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1365s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1365s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1365s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1365s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1365s # } 1365s # g_mutex_unlock (&skeleton->priv->lock); 1365s # } 1365s # 1365s # static void 1365s # good_types_skeleton_set_property (GObject *object, 1365s # guint prop_id, 1365s # const GValue *value, 1365s # GParamSpec *pspec) 1365s # { 1365s # const _ExtendedGDBusPropertyInfo *info; 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1365s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1365s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1365s # g_mutex_lock (&skeleton->priv->lock); 1365s # g_object_freeze_notify (object); 1365s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1365s # { 1365s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1365s # info->emits_changed_signal) 1365s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1365s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1365s # g_object_notify_by_pspec (object, pspec); 1365s # } 1365s # g_mutex_unlock (&skeleton->priv->lock); 1365s # g_object_thaw_notify (object); 1365s # } 1365s # 1365s # static void 1365s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1365s # { 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1365s # #else 1365s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1365s # #endif 1365s # 1365s # g_mutex_init (&skeleton->priv->lock); 1365s # skeleton->priv->context = g_main_context_ref_thread_default (); 1365s # skeleton->priv->properties = g_new0 (GValue, 1); 1365s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1365s # } 1365s # 1365s # static GVariant * 1365s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1365s # { 1365s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1365s # GVariant *value; 1365s # g_mutex_lock (&skeleton->priv->lock); 1365s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1365s # g_mutex_unlock (&skeleton->priv->lock); 1365s # return value; 1365s # } 1365s # 1365s # static void 1365s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1365s # { 1365s # GObjectClass *gobject_class; 1365s # GDBusInterfaceSkeletonClass *skeleton_class; 1365s # 1365s # gobject_class = G_OBJECT_CLASS (klass); 1365s # gobject_class->finalize = good_types_skeleton_finalize; 1365s # gobject_class->get_property = good_types_skeleton_get_property; 1365s # gobject_class->set_property = good_types_skeleton_set_property; 1365s # gobject_class->notify = good_types_skeleton_notify; 1365s # 1365s # 1365s # good_types_override_properties (gobject_class, 1); 1365s # 1365s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1365s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1365s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1365s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1365s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1365s # 1365s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1365s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1365s # #endif 1365s # } 1365s # 1365s # static void 1365s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1365s # { 1365s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1365s # } 1365s # 1365s # /** 1365s # * good_types_skeleton_new: 1365s # * 1365s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1365s # * 1365s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1365s # */ 1365s # GoodTypes * 1365s # good_types_skeleton_new (void) 1365s # { 1365s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1365s # } 1365s # Error: 1365s ok 3 __main__.TestCodegen.test_empty_interface_body 1365s # gdbus-codegen: /usr/bin/gdbus-codegen 1365s # tmpdir: /tmp/tmpd57_23uj 1365s # /tmp/tmpd57_23uj/tmphvzvgwfy.xml: 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd57_23uj/tmphvzvgwfy.xml', '--output', '-', '--body'] 1365s # Return code: 0 1365s # Output: 1365s # /* 1365s # * This file is generated by gdbus-codegen, do not modify it. 1365s # * 1365s # * The license of this code is the same as for the D-Bus interface description 1365s # * it was derived from. Note that it links to GLib, so must comply with the 1365s # * LGPL linking clauses. 1365s # */ 1365s # 1365s # #ifdef HAVE_CONFIG_H 1365s # # include "config.h" 1365s # #endif 1365s # 1365s # #include 1365s # #ifdef G_OS_UNIX 1365s # # include 1365s # #endif 1365s # 1365s # #ifdef G_ENABLE_DEBUG 1365s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1365s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1365s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1365s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1365s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1365s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1365s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1365s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1365s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1365s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1365s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1365s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1365s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1365s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1365s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1365s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1365s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1365s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1365s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1365s # #else /* !G_ENABLE_DEBUG */ 1365s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1365s # * Do not access GValues directly in your code. Instead, use the 1365s # * g_value_get_*() functions 1365s # */ 1365s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1365s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1365s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1365s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1365s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1365s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1365s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1365s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1365s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1365s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1365s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1365s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1365s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1365s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1365s # #endif /* !G_ENABLE_DEBUG */ 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusArgInfo parent_struct; 1365s # gboolean use_gvariant; 1365s # } _ExtendedGDBusArgInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusMethodInfo parent_struct; 1365s # const gchar *signal_name; 1365s # gboolean pass_fdlist; 1365s # } _ExtendedGDBusMethodInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusSignalInfo parent_struct; 1365s # const gchar *signal_name; 1365s # } _ExtendedGDBusSignalInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusPropertyInfo parent_struct; 1365s # const gchar *hyphen_name; 1365s # guint use_gvariant : 1; 1365s # guint emits_changed_signal : 1; 1365s # } _ExtendedGDBusPropertyInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusInterfaceInfo parent_struct; 1365s # const gchar *hyphen_name; 1365s # } _ExtendedGDBusInterfaceInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # const _ExtendedGDBusPropertyInfo *info; 1365s # guint prop_id; 1365s # GValue orig_value; /* the value before the change */ 1365s # } ChangedProperty; 1365s # 1365s # static void 1365s # _changed_property_free (ChangedProperty *data) 1365s # { 1365s # g_value_unset (&data->orig_value); 1365s # g_free (data); 1365s # } 1365s # 1365s # static gboolean 1365s # _g_strv_equal0 (gchar **a, gchar **b) 1365s # { 1365s # gboolean ret = FALSE; 1365s # guint n; 1365s # if (a == NULL && b == NULL) 1365s # { 1365s # ret = TRUE; 1365s # goto out; 1365s # } 1365s # if (a == NULL || b == NULL) 1365s # goto out; 1365s # if (g_strv_length (a) != g_strv_length (b)) 1365s # goto out; 1365s # for (n = 0; a[n] != NULL; n++) 1365s # if (g_strcmp0 (a[n], b[n]) != 0) 1365s # goto out; 1365s # ret = TRUE; 1365s # out: 1365s # return ret; 1365s # } 1365s # 1365s # static gboolean 1365s # _g_variant_equal0 (GVariant *a, GVariant *b) 1365s # { 1365s # gboolean ret = FALSE; 1365s # if (a == NULL && b == NULL) 1365s # { 1365s # ret = TRUE; 1365s # goto out; 1365s # } 1365s # if (a == NULL || b == NULL) 1365s # goto out; 1365s # ret = g_variant_equal (a, b); 1365s # out: 1365s # return ret; 1365s # } 1365s # 1365s # G_GNUC_UNUSED static gboolean 1365s # _g_value_equal (const GValue *a, const GValue *b) 1365s # { 1365s # gboolean ret = FALSE; 1365s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1365s # switch (G_VALUE_TYPE (a)) 1365s # { 1365s # case G_TYPE_BOOLEAN: 1365s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1365s # break; 1365s # case G_TYPE_UCHAR: 1365s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1365s # break; 1365s # case G_TYPE_INT: 1365s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1365s # break; 1365s # case G_TYPE_UINT: 1365s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1365s # break; 1365s # case G_TYPE_INT64: 1365s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1365s # break; 1365s # case G_TYPE_UINT64: 1365s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1365s # break; 1365s # case G_TYPE_DOUBLE: 1365s # { 1365s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1365s # gdouble da = g_value_get_double (a); 1365s # gdouble db = g_value_get_double (b); 1365s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1365s # } 1365s # break; 1365s # case G_TYPE_STRING: 1365s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1365s # break; 1365s # case G_TYPE_VARIANT: 1365s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1365s # break; 1365s # default: 1365s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1365s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1365s # else 1365s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1365s # break; 1365s # } 1365s # return ret; 1365s # } 1365s # Error: 1365s ok 4 __main__.TestCodegen.test_empty_interface_header 1365s # gdbus-codegen: /usr/bin/gdbus-codegen 1365s # tmpdir: /tmp/tmpr12pmmvo 1365s # /tmp/tmpr12pmmvo/tmpciingh30.xml: 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr12pmmvo/tmpciingh30.xml', '--output', '-', '--header'] 1365s # Return code: 0 1365s # Output: 1365s # /* 1365s # * This file is generated by gdbus-codegen, do not modify it. 1365s # * 1365s # * The license of this code is the same as for the D-Bus interface description 1365s # * it was derived from. Note that it links to GLib, so must comply with the 1365s # * LGPL linking clauses. 1365s # */ 1365s # 1365s # #ifndef __STDOUT__ 1365s # #define __STDOUT__ 1365s # 1365s # #include 1365s # 1365s # G_BEGIN_DECLS 1365s # 1365s # 1365s # G_END_DECLS 1365s # 1365s # #endif /* __STDOUT__ */ 1365s # Error: 1365s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1365s # gdbus-codegen: /usr/bin/gdbus-codegen 1365s # tmpdir: /tmp/tmp0dgnu2hd 1365s # /tmp/tmp0dgnu2hd/tmpfjkwp26p.xml: 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0dgnu2hd/tmpfjkwp26p.xml', '--output', '-', '--interface-info-body'] 1365s # Return code: 0 1365s # Output: 1365s # /* 1365s # * This file is generated by gdbus-codegen, do not modify it. 1365s # * 1365s # * The license of this code is the same as for the D-Bus interface description 1365s # * it was derived from. Note that it links to GLib, so must comply with the 1365s # * LGPL linking clauses. 1365s # */ 1365s # 1365s # #ifdef HAVE_CONFIG_H 1365s # # include "config.h" 1365s # #endif 1365s # 1365s # #include 1365s # Error: 1365s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1365s # gdbus-codegen: /usr/bin/gdbus-codegen 1365s # tmpdir: /tmp/tmp220jzwsp 1365s # /tmp/tmp220jzwsp/tmp96xhthpn.xml: 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp220jzwsp/tmp96xhthpn.xml', '--output', '-', '--interface-info-header'] 1365s # Return code: 0 1365s # Output: 1365s # /* 1365s # * This file is generated by gdbus-codegen, do not modify it. 1365s # * 1365s # * The license of this code is the same as for the D-Bus interface description 1365s # * it was derived from. Note that it links to GLib, so must comply with the 1365s # * LGPL linking clauses. 1365s # */ 1365s # 1365s # #ifndef __STDOUT__ 1365s # #define __STDOUT__ 1365s # 1365s # #include 1365s # 1365s # G_BEGIN_DECLS 1365s # 1365s # 1365s # G_END_DECLS 1365s # 1365s # #endif /* __STDOUT__ */ 1365s # Error: 1365s ok 7 __main__.TestCodegen.test_extension_bad_file 1365s # gdbus-codegen: /usr/bin/gdbus-codegen 1365s # tmpdir: /tmp/tmpcpgnrxfl 1365s # /tmp/tmpcpgnrxfl/tmpx7mbfr3s.xml: 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcpgnrxfl/tmpx7mbfr3s.xml', '--output', '-', '--header', '--extension-path', '/path/that/does/not/exist'] 1365s # Return code: 1 1365s # Output: 1365s # 1365s # Error: 1365s # WARNING: Traceback (most recent call last): 1365s # File "/usr/share/glib-2.0/codegen/codegen_main.py", line 329, in codegen_main 1365s # codegen_ext = import_from_path("GDBusCodegenExt", args.extension_path) 1365s # File "/usr/share/glib-2.0/codegen/codegen_main.py", line 46, in import_from_path 1365s # raise Exception("Not a Python file") 1365s # Exception: Not a Python file 1365s # 1365s # ERROR: Loading extension ‘/path/that/does/not/exist’ failed 1365s ok 8 __main__.TestCodegen.test_extension_code_generate 1365s # gdbus-codegen: /usr/bin/gdbus-codegen 1365s # tmpdir: /tmp/tmpy5909kj8 1365s # /tmp/tmpy5909kj8/tmp6dos06jo.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy5909kj8/tmp6dos06jo.xml', '--output', '-', '--body', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 1365s # Return code: 0 1365s # Output: 1365s # /* 1365s # * This file is generated by gdbus-codegen, do not modify it. 1365s # * 1365s # * The license of this code is the same as for the D-Bus interface description 1365s # * it was derived from. Note that it links to GLib, so must comply with the 1365s # * LGPL linking clauses. 1365s # */ 1365s # 1365s # #ifdef HAVE_CONFIG_H 1365s # # include "config.h" 1365s # #endif 1365s # 1365s # #include 1365s # #ifdef G_OS_UNIX 1365s # # include 1365s # #endif 1365s # 1365s # #ifdef G_ENABLE_DEBUG 1365s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1365s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1365s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1365s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1365s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1365s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1365s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1365s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1365s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1365s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1365s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1365s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1365s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1365s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1365s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1365s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1365s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1365s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1365s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1365s # #else /* !G_ENABLE_DEBUG */ 1365s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1365s # * Do not access GValues directly in your code. Instead, use the 1365s # * g_value_get_*() functions 1365s # */ 1365s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1365s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1365s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1365s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1365s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1365s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1365s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1365s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1365s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1365s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1365s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1365s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1365s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1365s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1365s # #endif /* !G_ENABLE_DEBUG */ 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusArgInfo parent_struct; 1365s # gboolean use_gvariant; 1365s # } _ExtendedGDBusArgInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusMethodInfo parent_struct; 1365s # const gchar *signal_name; 1365s # gboolean pass_fdlist; 1365s # } _ExtendedGDBusMethodInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusSignalInfo parent_struct; 1365s # const gchar *signal_name; 1365s # } _ExtendedGDBusSignalInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusPropertyInfo parent_struct; 1365s # const gchar *hyphen_name; 1365s # guint use_gvariant : 1; 1365s # guint emits_changed_signal : 1; 1365s # } _ExtendedGDBusPropertyInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusInterfaceInfo parent_struct; 1365s # const gchar *hyphen_name; 1365s # } _ExtendedGDBusInterfaceInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # const _ExtendedGDBusPropertyInfo *info; 1365s # guint prop_id; 1365s # GValue orig_value; /* the value before the change */ 1365s # } ChangedProperty; 1365s # 1365s # static void 1365s # _changed_property_free (ChangedProperty *data) 1365s # { 1365s # g_value_unset (&data->orig_value); 1365s # g_free (data); 1365s # } 1365s # 1365s # static gboolean 1365s # _g_strv_equal0 (gchar **a, gchar **b) 1365s # { 1365s # gboolean ret = FALSE; 1365s # guint n; 1365s # if (a == NULL && b == NULL) 1365s # { 1365s # ret = TRUE; 1365s # goto out; 1365s # } 1365s # if (a == NULL || b == NULL) 1365s # goto out; 1365s # if (g_strv_length (a) != g_strv_length (b)) 1365s # goto out; 1365s # for (n = 0; a[n] != NULL; n++) 1365s # if (g_strcmp0 (a[n], b[n]) != 0) 1365s # goto out; 1365s # ret = TRUE; 1365s # out: 1365s # return ret; 1365s # } 1365s # 1365s # static gboolean 1365s # _g_variant_equal0 (GVariant *a, GVariant *b) 1365s # { 1365s # gboolean ret = FALSE; 1365s # if (a == NULL && b == NULL) 1365s # { 1365s # ret = TRUE; 1365s # goto out; 1365s # } 1365s # if (a == NULL || b == NULL) 1365s # goto out; 1365s # ret = g_variant_equal (a, b); 1365s # out: 1365s # return ret; 1365s # } 1365s # 1365s # G_GNUC_UNUSED static gboolean 1365s # _g_value_equal (const GValue *a, const GValue *b) 1365s # { 1365s # gboolean ret = FALSE; 1365s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1365s # switch (G_VALUE_TYPE (a)) 1365s # { 1365s # case G_TYPE_BOOLEAN: 1365s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1365s # break; 1365s # case G_TYPE_UCHAR: 1365s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1365s # break; 1365s # case G_TYPE_INT: 1365s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1365s # break; 1365s # case G_TYPE_UINT: 1365s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1365s # break; 1365s # case G_TYPE_INT64: 1365s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1365s # break; 1365s # case G_TYPE_UINT64: 1365s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1365s # break; 1365s # case G_TYPE_DOUBLE: 1365s # { 1365s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1365s # gdouble da = g_value_get_double (a); 1365s # gdouble db = g_value_get_double (b); 1365s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1365s # } 1365s # break; 1365s # case G_TYPE_STRING: 1365s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1365s # break; 1365s # case G_TYPE_VARIANT: 1365s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1365s # break; 1365s # default: 1365s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1365s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1365s # else 1365s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1365s # break; 1365s # } 1365s # return ret; 1365s # } 1365s # 1365s # /* codegen-test-extension body preamble */ 1365s # static void 1365s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1365s # GClosure *closure, 1365s # GValue *return_value, 1365s # unsigned int n_param_values, 1365s # const GValue *param_values, 1365s # void *invocation_hint G_GNUC_UNUSED, 1365s # void *marshal_data) 1365s # { 1365s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1365s # (void *data1, 1365s # GDBusMethodInvocation *arg_method_invocation, 1365s # void *data2); 1365s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1365s # GCClosure *cc = (GCClosure*) closure; 1365s # void *data1, *data2; 1365s # gboolean v_return; 1365s # 1365s # g_return_if_fail (return_value != NULL); 1365s # g_return_if_fail (n_param_values == 2); 1365s # 1365s # if (G_CCLOSURE_SWAP_DATA (closure)) 1365s # { 1365s # data1 = closure->data; 1365s # data2 = g_value_peek_pointer (param_values + 0); 1365s # } 1365s # else 1365s # { 1365s # data1 = g_value_peek_pointer (param_values + 0); 1365s # data2 = closure->data; 1365s # } 1365s # 1365s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1365s # (marshal_data ? marshal_data : cc->callback); 1365s # 1365s # v_return = 1365s # callback (data1, 1365s # g_marshal_value_peek_object (param_values + 1), 1365s # data2); 1365s # 1365s # g_value_set_boolean (return_value, v_return); 1365s # } 1365s # 1365s # /* ------------------------------------------------------------------------ 1365s # * Code for interface org.project.UsefulInterface 1365s # * ------------------------------------------------------------------------ 1365s # */ 1365s # 1365s # /** 1365s # * SECTION:OrgProjectUsefulInterface 1365s # * @title: OrgProjectUsefulInterface 1365s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1365s # * 1365s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1365s # */ 1365s # 1365s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1365s # 1365s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_useful_method = 1365s # { 1365s # { 1365s # -1, 1365s # (gchar *) "UsefulMethod", 1365s # NULL, 1365s # NULL, 1365s # NULL 1365s # }, 1365s # "handle-useful-method", 1365s # FALSE 1365s # }; 1365s # 1365s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1365s # { 1365s # &_org_project_useful_interface_method_info_useful_method.parent_struct, 1365s # NULL 1365s # }; 1365s # 1365s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1365s # { 1365s # { 1365s # -1, 1365s # (gchar *) "org.project.UsefulInterface", 1365s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1365s # NULL, 1365s # NULL, 1365s # NULL 1365s # }, 1365s # "org-project-useful-interface", 1365s # }; 1365s # 1365s # 1365s # /** 1365s # * org_project_useful_interface_interface_info: 1365s # * 1365s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1365s # * 1365s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1365s # */ 1365s # GDBusInterfaceInfo * 1365s # org_project_useful_interface_interface_info (void) 1365s # { 1365s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1365s # } 1365s # 1365s # /** 1365s # * org_project_useful_interface_override_properties: 1365s # * @klass: The class structure for a #GObject derived class. 1365s # * @property_id_begin: The property id to assign to the first overridden property. 1365s # * 1365s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1365s # * The properties are overridden in the order they are defined. 1365s # * 1365s # * Returns: The last property id. 1365s # */ 1365s # guint 1365s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1365s # { 1365s # return property_id_begin - 1; 1365s # } 1365s # 1365s # 1365s # inline static void 1365s # org_project_useful_interface_method_marshal_useful_method ( 1365s # GClosure *closure, 1365s # GValue *return_value, 1365s # unsigned int n_param_values, 1365s # const GValue *param_values, 1365s # void *invocation_hint, 1365s # void *marshal_data) 1365s # { 1365s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1365s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1365s # } 1365s # 1365s # 1365s # /** 1365s # * OrgProjectUsefulInterface: 1365s # * 1365s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1365s # */ 1365s # 1365s # /** 1365s # * OrgProjectUsefulInterfaceIface: 1365s # * @parent_iface: The parent interface. 1365s # * @handle_useful_method: Handler for the #OrgProjectUsefulInterface::handle-useful-method signal. 1365s # * 1365s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1365s # */ 1365s # 1365s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1365s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1365s # 1365s # static void 1365s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1365s # { 1365s # /* GObject signals for incoming D-Bus method calls: */ 1365s # /** 1365s # * OrgProjectUsefulInterface::handle-useful-method: 1365s # * @object: A #OrgProjectUsefulInterface. 1365s # * @invocation: A #GDBusMethodInvocation. 1365s # * 1365s # * Signal emitted when a remote caller is invoking the UsefulMethod() D-Bus method. 1365s # * 1365s # * 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_useful_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. 1365s # * 1365s # * 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. 1365s # */ 1365s # g_signal_new ("handle-useful-method", 1365s # G_TYPE_FROM_INTERFACE (iface), 1365s # G_SIGNAL_RUN_LAST, 1365s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_useful_method), 1365s # g_signal_accumulator_true_handled, 1365s # NULL, 1365s # org_project_useful_interface_method_marshal_useful_method, 1365s # G_TYPE_BOOLEAN, 1365s # 1, 1365s # G_TYPE_DBUS_METHOD_INVOCATION); 1365s # 1365s # } 1365s # 1365s # /** 1365s # * org_project_useful_interface_call_useful_method: 1365s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1365s # * @cancellable: (nullable): A #GCancellable or %NULL. 1365s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1365s # * @user_data: User data to pass to @callback. 1365s # * 1365s # * Asynchronously invokes the UsefulMethod() D-Bus method on @proxy. 1365s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1365s # * You can then call org_project_useful_interface_call_useful_method_finish() to get the result of the operation. 1365s # * 1365s # * See org_project_useful_interface_call_useful_method_sync() for the synchronous, blocking version of this method. 1365s # */ 1365s # void 1365s # org_project_useful_interface_call_useful_method ( 1365s # OrgProjectUsefulInterface *proxy, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data) 1365s # { 1365s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1365s # "UsefulMethod", 1365s # g_variant_new ("()"), 1365s # G_DBUS_CALL_FLAGS_NONE, 1365s # -1, 1365s # cancellable, 1365s # callback, 1365s # user_data); 1365s # } 1365s # 1365s # /** 1365s # * org_project_useful_interface_call_useful_method_finish: 1365s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1365s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_useful_method(). 1365s # * @error: Return location for error or %NULL. 1365s # * 1365s # * Finishes an operation started with org_project_useful_interface_call_useful_method(). 1365s # * 1365s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1365s # */ 1365s # gboolean 1365s # org_project_useful_interface_call_useful_method_finish ( 1365s # OrgProjectUsefulInterface *proxy, 1365s # GAsyncResult *res, 1365s # GError **error) 1365s # { 1365s # GVariant *_ret; 1365s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1365s # if (_ret == NULL) 1365s # goto _out; 1365s # g_variant_get (_ret, 1365s # "()"); 1365s # g_variant_unref (_ret); 1365s # _out: 1365s # return _ret != NULL; 1365s # } 1365s # 1365s # /** 1365s # * org_project_useful_interface_call_useful_method_sync: 1365s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1365s # * @cancellable: (nullable): A #GCancellable or %NULL. 1365s # * @error: Return location for error or %NULL. 1365s # * 1365s # * Synchronously invokes the UsefulMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1365s # * 1365s # * See org_project_useful_interface_call_useful_method() for the asynchronous version of this method. 1365s # * 1365s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1365s # */ 1365s # gboolean 1365s # org_project_useful_interface_call_useful_method_sync ( 1365s # OrgProjectUsefulInterface *proxy, 1365s # GCancellable *cancellable, 1365s # GError **error) 1365s # { 1365s # GVariant *_ret; 1365s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1365s # "UsefulMethod", 1365s # g_variant_new ("()"), 1365s # G_DBUS_CALL_FLAGS_NONE, 1365s # -1, 1365s # cancellable, 1365s # error); 1365s # if (_ret == NULL) 1365s # goto _out; 1365s # g_variant_get (_ret, 1365s # "()"); 1365s # g_variant_unref (_ret); 1365s # _out: 1365s # return _ret != NULL; 1365s # } 1365s # 1365s # /** 1365s # * org_project_useful_interface_complete_useful_method: 1365s # * @object: A #OrgProjectUsefulInterface. 1365s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1365s # * 1365s # * Helper function used in service implementations to finish handling invocations of the UsefulMethod() 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. 1365s # * 1365s # * This method will free @invocation, you cannot use it afterwards. 1365s # */ 1365s # void 1365s # org_project_useful_interface_complete_useful_method ( 1365s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1365s # GDBusMethodInvocation *invocation) 1365s # { 1365s # g_dbus_method_invocation_return_value (invocation, 1365s # g_variant_new ("()")); 1365s # } 1365s # 1365s # /* ------------------------------------------------------------------------ */ 1365s # 1365s # /** 1365s # * OrgProjectUsefulInterfaceProxy: 1365s # * 1365s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1365s # */ 1365s # 1365s # /** 1365s # * OrgProjectUsefulInterfaceProxyClass: 1365s # * @parent_class: The parent class. 1365s # * 1365s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1365s # */ 1365s # 1365s # struct _OrgProjectUsefulInterfaceProxyPrivate 1365s # { 1365s # GData *qdata; 1365s # }; 1365s # 1365s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1365s # 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1365s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1365s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1365s # 1365s # #else 1365s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1365s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1365s # 1365s # #endif 1365s # static void 1365s # org_project_useful_interface_proxy_finalize (GObject *object) 1365s # { 1365s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1365s # g_datalist_clear (&proxy->priv->qdata); 1365s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1365s # } 1365s # 1365s # static void 1365s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1365s # guint prop_id G_GNUC_UNUSED, 1365s # GValue *value G_GNUC_UNUSED, 1365s # GParamSpec *pspec G_GNUC_UNUSED) 1365s # { 1365s # } 1365s # 1365s # static void 1365s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1365s # guint prop_id G_GNUC_UNUSED, 1365s # const GValue *value G_GNUC_UNUSED, 1365s # GParamSpec *pspec G_GNUC_UNUSED) 1365s # { 1365s # } 1365s # 1365s # static void 1365s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1365s # const gchar *sender_name G_GNUC_UNUSED, 1365s # const gchar *signal_name, 1365s # GVariant *parameters) 1365s # { 1365s # _ExtendedGDBusSignalInfo *info; 1365s # GVariantIter iter; 1365s # GVariant *child; 1365s # GValue *paramv; 1365s # gsize num_params; 1365s # gsize n; 1365s # guint signal_id; 1365s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1365s # if (info == NULL) 1365s # return; 1365s # num_params = g_variant_n_children (parameters); 1365s # paramv = g_new0 (GValue, num_params + 1); 1365s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1365s # g_value_set_object (¶mv[0], proxy); 1365s # g_variant_iter_init (&iter, parameters); 1365s # n = 1; 1365s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1365s # { 1365s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1365s # if (arg_info->use_gvariant) 1365s # { 1365s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1365s # g_value_set_variant (¶mv[n], child); 1365s # n++; 1365s # } 1365s # else 1365s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1365s # g_variant_unref (child); 1365s # } 1365s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1365s # g_signal_emitv (paramv, signal_id, 0, NULL); 1365s # for (n = 0; n < num_params + 1; n++) 1365s # g_value_unset (¶mv[n]); 1365s # g_free (paramv); 1365s # } 1365s # 1365s # static void 1365s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1365s # GVariant *changed_properties, 1365s # const gchar *const *invalidated_properties) 1365s # { 1365s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1365s # guint n; 1365s # const gchar *key; 1365s # GVariantIter *iter; 1365s # _ExtendedGDBusPropertyInfo *info; 1365s # g_variant_get (changed_properties, "a{sv}", &iter); 1365s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1365s # { 1365s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1365s # g_datalist_remove_data (&proxy->priv->qdata, key); 1365s # if (info != NULL) 1365s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1365s # } 1365s # g_variant_iter_free (iter); 1365s # for (n = 0; invalidated_properties[n] != NULL; n++) 1365s # { 1365s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1365s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1365s # if (info != NULL) 1365s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1365s # } 1365s # } 1365s # 1365s # static void 1365s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1365s # { 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1365s # #else 1365s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1365s # #endif 1365s # 1365s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1365s # } 1365s # 1365s # static void 1365s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1365s # { 1365s # GObjectClass *gobject_class; 1365s # GDBusProxyClass *proxy_class; 1365s # 1365s # gobject_class = G_OBJECT_CLASS (klass); 1365s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1365s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1365s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1365s # 1365s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1365s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1365s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1365s # 1365s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1365s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1365s # #endif 1365s # } 1365s # 1365s # static void 1365s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1365s # { 1365s # } 1365s # 1365s # /** 1365s # * org_project_useful_interface_proxy_new: 1365s # * @connection: A #GDBusConnection. 1365s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1365s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1365s # * @object_path: An object path. 1365s # * @cancellable: (nullable): A #GCancellable or %NULL. 1365s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1365s # * @user_data: User data to pass to @callback. 1365s # * 1365s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1365s # * 1365s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1365s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1365s # * 1365s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1365s # */ 1365s # void 1365s # org_project_useful_interface_proxy_new ( 1365s # GDBusConnection *connection, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data) 1365s # { 1365s # g_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); 1365s # } 1365s # 1365s # /** 1365s # * org_project_useful_interface_proxy_new_finish: 1365s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1365s # * @error: Return location for error or %NULL 1365s # * 1365s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1365s # * 1365s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1365s # */ 1365s # OrgProjectUsefulInterface * 1365s # org_project_useful_interface_proxy_new_finish ( 1365s # GAsyncResult *res, 1365s # GError **error) 1365s # { 1365s # GObject *ret; 1365s # GObject *source_object; 1365s # source_object = g_async_result_get_source_object (res); 1365s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1365s # g_object_unref (source_object); 1365s # if (ret != NULL) 1365s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1365s # else 1365s # return NULL; 1365s # } 1365s # 1365s # /** 1365s # * org_project_useful_interface_proxy_new_sync: 1365s # * @connection: A #GDBusConnection. 1365s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1365s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1365s # * @object_path: An object path. 1365s # * @cancellable: (nullable): A #GCancellable or %NULL. 1365s # * @error: Return location for error or %NULL 1365s # * 1365s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1365s # * 1365s # * The calling thread is blocked until a reply is received. 1365s # * 1365s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1365s # * 1365s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1365s # */ 1365s # OrgProjectUsefulInterface * 1365s # org_project_useful_interface_proxy_new_sync ( 1365s # GDBusConnection *connection, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GError **error) 1365s # { 1365s # GInitable *ret; 1365s # 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); 1365s # if (ret != NULL) 1365s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1365s # else 1365s # return NULL; 1365s # } 1365s # 1365s # 1365s # /** 1365s # * org_project_useful_interface_proxy_new_for_bus: 1365s # * @bus_type: A #GBusType. 1365s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1365s # * @name: A bus name (well-known or unique). 1365s # * @object_path: An object path. 1365s # * @cancellable: (nullable): A #GCancellable or %NULL. 1365s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1365s # * @user_data: User data to pass to @callback. 1365s # * 1365s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1365s # * 1365s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1365s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1365s # * 1365s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1365s # */ 1365s # void 1365s # org_project_useful_interface_proxy_new_for_bus ( 1365s # GBusType bus_type, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data) 1365s # { 1365s # g_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); 1365s # } 1365s # 1365s # /** 1365s # * org_project_useful_interface_proxy_new_for_bus_finish: 1365s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1365s # * @error: Return location for error or %NULL 1365s # * 1365s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1365s # * 1365s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1365s # */ 1365s # OrgProjectUsefulInterface * 1365s # org_project_useful_interface_proxy_new_for_bus_finish ( 1365s # GAsyncResult *res, 1365s # GError **error) 1365s # { 1365s # GObject *ret; 1365s # GObject *source_object; 1365s # source_object = g_async_result_get_source_object (res); 1365s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1365s # g_object_unref (source_object); 1365s # if (ret != NULL) 1365s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1365s # else 1365s # return NULL; 1365s # } 1365s # 1365s # /** 1365s # * org_project_useful_interface_proxy_new_for_bus_sync: 1365s # * @bus_type: A #GBusType. 1365s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1365s # * @name: A bus name (well-known or unique). 1365s # * @object_path: An object path. 1365s # * @cancellable: (nullable): A #GCancellable or %NULL. 1365s # * @error: Return location for error or %NULL 1365s # * 1365s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1365s # * 1365s # * The calling thread is blocked until a reply is received. 1365s # * 1365s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1365s # * 1365s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1365s # */ 1365s # OrgProjectUsefulInterface * 1365s # org_project_useful_interface_proxy_new_for_bus_sync ( 1365s # GBusType bus_type, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GError **error) 1365s # { 1365s # GInitable *ret; 1365s # 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); 1365s # if (ret != NULL) 1365s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1365s # else 1365s # return NULL; 1365s # } 1365s # 1365s # 1365s # /* ------------------------------------------------------------------------ */ 1365s # 1365s # /** 1365s # * OrgProjectUsefulInterfaceSkeleton: 1365s # * 1365s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1365s # */ 1365s # 1365s # /** 1365s # * OrgProjectUsefulInterfaceSkeletonClass: 1365s # * @parent_class: The parent class. 1365s # * 1365s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1365s # */ 1365s # 1365s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1365s # { 1365s # GValue *properties; 1365s # GList *changed_properties; 1365s # GSource *changed_properties_idle_source; 1365s # GMainContext *context; 1365s # GMutex lock; 1365s # }; 1365s # 1365s # static void 1365s # _org_project_useful_interface_skeleton_handle_method_call ( 1365s # GDBusConnection *connection G_GNUC_UNUSED, 1365s # const gchar *sender G_GNUC_UNUSED, 1365s # const gchar *object_path G_GNUC_UNUSED, 1365s # const gchar *interface_name, 1365s # const gchar *method_name, 1365s # GVariant *parameters, 1365s # GDBusMethodInvocation *invocation, 1365s # gpointer user_data) 1365s # { 1365s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1365s # _ExtendedGDBusMethodInfo *info; 1365s # GVariantIter iter; 1365s # GVariant *child; 1365s # GValue *paramv; 1365s # gsize num_params; 1365s # guint num_extra; 1365s # gsize n; 1365s # guint signal_id; 1365s # GValue return_value = G_VALUE_INIT; 1365s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1365s # g_assert (info != NULL); 1365s # num_params = g_variant_n_children (parameters); 1365s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1365s # n = 0; 1365s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1365s # g_value_set_object (¶mv[n++], skeleton); 1365s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1365s # g_value_set_object (¶mv[n++], invocation); 1365s # if (info->pass_fdlist) 1365s # { 1365s # #ifdef G_OS_UNIX 1365s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1365s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1365s # #else 1365s # g_assert_not_reached (); 1365s # #endif 1365s # } 1365s # g_variant_iter_init (&iter, parameters); 1365s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1365s # { 1365s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1365s # if (arg_info->use_gvariant) 1365s # { 1365s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1365s # g_value_set_variant (¶mv[n], child); 1365s # n++; 1365s # } 1365s # else 1365s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1365s # g_variant_unref (child); 1365s # } 1365s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1365s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1365s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1365s # if (!g_value_get_boolean (&return_value)) 1365s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1365s # g_value_unset (&return_value); 1365s # for (n = 0; n < num_params + num_extra; n++) 1365s # g_value_unset (¶mv[n]); 1365s # g_free (paramv); 1365s # } 1365s # 1365s # static GVariant * 1365s # _org_project_useful_interface_skeleton_handle_get_property ( 1365s # GDBusConnection *connection G_GNUC_UNUSED, 1365s # const gchar *sender G_GNUC_UNUSED, 1365s # const gchar *object_path G_GNUC_UNUSED, 1365s # const gchar *interface_name G_GNUC_UNUSED, 1365s # const gchar *property_name, 1365s # GError **error, 1365s # gpointer user_data) 1365s # { 1365s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1365s # GValue value = G_VALUE_INIT; 1365s # GParamSpec *pspec; 1365s # _ExtendedGDBusPropertyInfo *info; 1365s # GVariant *ret; 1365s # ret = NULL; 1365s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1365s # g_assert (info != NULL); 1365s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1365s # if (pspec == NULL) 1365s # { 1365s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1365s # } 1365s # else 1365s # { 1365s # g_value_init (&value, pspec->value_type); 1365s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1365s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1365s # g_value_unset (&value); 1365s # } 1365s # return ret; 1365s # } 1365s # 1365s # static gboolean 1365s # _org_project_useful_interface_skeleton_handle_set_property ( 1365s # GDBusConnection *connection G_GNUC_UNUSED, 1365s # const gchar *sender G_GNUC_UNUSED, 1365s # const gchar *object_path G_GNUC_UNUSED, 1365s # const gchar *interface_name G_GNUC_UNUSED, 1365s # const gchar *property_name, 1365s # GVariant *variant, 1365s # GError **error, 1365s # gpointer user_data) 1365s # { 1365s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1365s # GValue value = G_VALUE_INIT; 1365s # GParamSpec *pspec; 1365s # _ExtendedGDBusPropertyInfo *info; 1365s # gboolean ret; 1365s # ret = FALSE; 1365s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1365s # g_assert (info != NULL); 1365s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1365s # if (pspec == NULL) 1365s # { 1365s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1365s # } 1365s # else 1365s # { 1365s # if (info->use_gvariant) 1365s # g_value_set_variant (&value, variant); 1365s # else 1365s # g_dbus_gvariant_to_gvalue (variant, &value); 1365s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1365s # g_value_unset (&value); 1365s # ret = TRUE; 1365s # } 1365s # return ret; 1365s # } 1365s # 1365s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1365s # { 1365s # _org_project_useful_interface_skeleton_handle_method_call, 1365s # _org_project_useful_interface_skeleton_handle_get_property, 1365s # _org_project_useful_interface_skeleton_handle_set_property, 1365s # {NULL} 1365s # }; 1365s # 1365s # static GDBusInterfaceInfo * 1365s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1365s # { 1365s # return org_project_useful_interface_interface_info (); 1365s # } 1365s # 1365s # static GDBusInterfaceVTable * 1365s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1365s # { 1365s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1365s # } 1365s # 1365s # static GVariant * 1365s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1365s # { 1365s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1365s # 1365s # GVariantBuilder builder; 1365s # guint n; 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1365s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1365s # #else 1365s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1365s # #endif 1365s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1365s # goto out; 1365s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1365s # { 1365s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1365s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1365s # { 1365s # GVariant *value; 1365s # 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); 1365s # if (value != NULL) 1365s # { 1365s # g_variant_take_ref (value); 1365s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1365s # g_variant_unref (value); 1365s # } 1365s # } 1365s # } 1365s # out: 1365s # return g_variant_builder_end (&builder); 1365s # } 1365s # 1365s # static void 1365s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1365s # { 1365s # } 1365s # 1365s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, NEW_TYPE_DBUS_INTERFACE_SKELETON, 1365s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1365s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1365s # 1365s # #else 1365s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, NEW_TYPE_DBUS_INTERFACE_SKELETON, 1365s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1365s # 1365s # #endif 1365s # static void 1365s # org_project_useful_interface_skeleton_finalize (GObject *object) 1365s # { 1365s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1365s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # /* coverity[missing_lock : SUPPRESS] */ 1365s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1365s # #else 1365s # if (skeleton->priv->changed_properties_idle_source != NULL) 1365s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1365s # skeleton->priv->changed_properties_idle_source = NULL; 1365s # #endif 1365s # g_main_context_unref (skeleton->priv->context); 1365s # g_mutex_clear (&skeleton->priv->lock); 1365s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1365s # } 1365s # 1365s # static void 1365s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1365s # { 1365s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1365s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1365s # #else 1365s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1365s # #endif 1365s # 1365s # g_mutex_init (&skeleton->priv->lock); 1365s # skeleton->priv->context = g_main_context_ref_thread_default (); 1365s # } 1365s # 1365s # static void 1365s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1365s # { 1365s # GObjectClass *gobject_class; 1365s # GDBusInterfaceSkeletonClass *skeleton_class; 1365s # 1365s # gobject_class = G_OBJECT_CLASS (klass); 1365s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1365s # 1365s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1365s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1365s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1365s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1365s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1365s # 1365s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1365s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1365s # #endif 1365s # } 1365s # 1365s # static void 1365s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1365s # { 1365s # } 1365s # 1365s # /** 1365s # * org_project_useful_interface_skeleton_new: 1365s # * 1365s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1365s # * 1365s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1365s # */ 1365s # OrgProjectUsefulInterface * 1365s # org_project_useful_interface_skeleton_new (void) 1365s # { 1365s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1365s # } 1365s # 1365s # /* codegen-test-extension generate for iface org.project.UsefulInterface */ 1365s # Error: 1365s # 1365s # /tmp/tmpy5909kj8/tmpkg7z0f7v.xml: 1365s # 1365s # 1365s # 1365s # 1365s # 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy5909kj8/tmpkg7z0f7v.xml', '--output', '-', '--header', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 1365s # Return code: 0 1365s # Output: 1365s # /* 1365s # * This file is generated by gdbus-codegen, do not modify it. 1365s # * 1365s # * The license of this code is the same as for the D-Bus interface description 1365s # * it was derived from. Note that it links to GLib, so must comply with the 1365s # * LGPL linking clauses. 1365s # */ 1365s # 1365s # #ifndef __STDOUT__ 1365s # #define __STDOUT__ 1365s # 1365s # #include 1365s # /* codegen-test-extension include */ 1365s # 1365s # G_BEGIN_DECLS 1365s # 1365s # 1365s # /* ------------------------------------------------------------------------ */ 1365s # /* Declarations for org.project.UsefulInterface */ 1365s # 1365s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1365s # 1365s # struct _OrgProjectUsefulInterface; 1365s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1365s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1365s # 1365s # struct _OrgProjectUsefulInterfaceIface 1365s # { 1365s # GTypeInterface parent_iface; 1365s # 1365s # gboolean (*handle_useful_method) ( 1365s # OrgProjectUsefulInterface *object, 1365s # GDBusMethodInvocation *invocation); 1365s # 1365s # }; 1365s # 1365s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1365s # 1365s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1365s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1365s # 1365s # 1365s # /* D-Bus method call completion functions: */ 1365s # void org_project_useful_interface_complete_useful_method ( 1365s # OrgProjectUsefulInterface *object, 1365s # GDBusMethodInvocation *invocation); 1365s # 1365s # 1365s # 1365s # /* D-Bus method calls: */ 1365s # void org_project_useful_interface_call_useful_method ( 1365s # OrgProjectUsefulInterface *proxy, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data); 1365s # 1365s # gboolean org_project_useful_interface_call_useful_method_finish ( 1365s # OrgProjectUsefulInterface *proxy, 1365s # GAsyncResult *res, 1365s # GError **error); 1365s # 1365s # gboolean org_project_useful_interface_call_useful_method_sync ( 1365s # OrgProjectUsefulInterface *proxy, 1365s # GCancellable *cancellable, 1365s # GError **error); 1365s # 1365s # 1365s # 1365s # /* ---- */ 1365s # 1365s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1365s # 1365s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1365s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1365s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1365s # 1365s # struct _OrgProjectUsefulInterfaceProxy 1365s # { 1365s # /*< private >*/ 1365s # GDBusProxy parent_instance; 1365s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1365s # }; 1365s # 1365s # struct _OrgProjectUsefulInterfaceProxyClass 1365s # { 1365s # GDBusProxyClass parent_class; 1365s # }; 1365s # 1365s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1365s # 1365s # #if GLIB_CHECK_VERSION(2, 44, 0) 1365s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1365s # #endif 1365s # 1365s # void org_project_useful_interface_proxy_new ( 1365s # GDBusConnection *connection, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data); 1365s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1365s # GAsyncResult *res, 1365s # GError **error); 1365s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1365s # GDBusConnection *connection, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GError **error); 1365s # 1365s # void org_project_useful_interface_proxy_new_for_bus ( 1365s # GBusType bus_type, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GAsyncReadyCallback callback, 1365s # gpointer user_data); 1365s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1365s # GAsyncResult *res, 1365s # GError **error); 1365s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1365s # GBusType bus_type, 1365s # GDBusProxyFlags flags, 1365s # const gchar *name, 1365s # const gchar *object_path, 1365s # GCancellable *cancellable, 1365s # GError **error); 1365s # 1365s # 1365s # /* ---- */ 1365s # 1365s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1365s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1365s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1365s # 1365s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1365s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1365s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1365s # 1365s # struct _OrgProjectUsefulInterfaceSkeleton 1365s # { 1365s # /*< private >*/ 1365s # NewDBusInterfaceSkeleton parent_instance; 1365s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1365s # }; 1365s # 1365s # struct _OrgProjectUsefulInterfaceSkeletonClass 1365s # { 1365s # NewDBusInterfaceSkeletonClass parent_class; 1365s # }; 1365s # 1365s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1365s # 1365s # #if GLIB_CHECK_VERSION(2, 44, 0) 1365s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1365s # #endif 1365s # 1365s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1365s # 1365s # /* codegen-test-extension declare type for iface org.project.UsefulInterface */ 1365s # 1365s # G_END_DECLS 1365s # 1365s # #endif /* __STDOUT__ */ 1365s # Error: 1365s ok 9 __main__.TestCodegen.test_extension_empty_interface_body 1365s # gdbus-codegen: /usr/bin/gdbus-codegen 1365s # tmpdir: /tmp/tmpvqzwep29 1365s # /tmp/tmpvqzwep29/tmpr3uagfc2.xml: 1365s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvqzwep29/tmpr3uagfc2.xml', '--output', '-', '--body', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 1365s # Return code: 0 1365s # Output: 1365s # /* 1365s # * This file is generated by gdbus-codegen, do not modify it. 1365s # * 1365s # * The license of this code is the same as for the D-Bus interface description 1365s # * it was derived from. Note that it links to GLib, so must comply with the 1365s # * LGPL linking clauses. 1365s # */ 1365s # 1365s # #ifdef HAVE_CONFIG_H 1365s # # include "config.h" 1365s # #endif 1365s # 1365s # #include 1365s # #ifdef G_OS_UNIX 1365s # # include 1365s # #endif 1365s # 1365s # #ifdef G_ENABLE_DEBUG 1365s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1365s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1365s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1365s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1365s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1365s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1365s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1365s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1365s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1365s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1365s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1365s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1365s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1365s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1365s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1365s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1365s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1365s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1365s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1365s # #else /* !G_ENABLE_DEBUG */ 1365s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1365s # * Do not access GValues directly in your code. Instead, use the 1365s # * g_value_get_*() functions 1365s # */ 1365s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1365s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1365s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1365s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1365s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1365s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1365s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1365s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1365s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1365s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1365s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1365s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1365s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1365s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1365s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1365s # #endif /* !G_ENABLE_DEBUG */ 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusArgInfo parent_struct; 1365s # gboolean use_gvariant; 1365s # } _ExtendedGDBusArgInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusMethodInfo parent_struct; 1365s # const gchar *signal_name; 1365s # gboolean pass_fdlist; 1365s # } _ExtendedGDBusMethodInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusSignalInfo parent_struct; 1365s # const gchar *signal_name; 1365s # } _ExtendedGDBusSignalInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusPropertyInfo parent_struct; 1365s # const gchar *hyphen_name; 1365s # guint use_gvariant : 1; 1365s # guint emits_changed_signal : 1; 1365s # } _ExtendedGDBusPropertyInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # GDBusInterfaceInfo parent_struct; 1365s # const gchar *hyphen_name; 1365s # } _ExtendedGDBusInterfaceInfo; 1365s # 1365s # typedef struct 1365s # { 1365s # const _ExtendedGDBusPropertyInfo *info; 1365s # guint prop_id; 1365s # GValue orig_value; /* the value before the change */ 1365s # } ChangedProperty; 1365s # 1365s # static void 1365s # _changed_property_free (ChangedProperty *data) 1365s # { 1365s # g_value_unset (&data->orig_value); 1365s # g_free (data); 1365s # } 1365s # 1365s # static gboolean 1365s # _g_strv_equal0 (gchar **a, gchar **b) 1365s # { 1365s # gboolean ret = FALSE; 1365s # guint n; 1365s # if (a == NULL && b == NULL) 1365s # { 1365s # ret = TRUE; 1365s # goto out; 1365s # } 1365s # if (a == NULL || b == NULL) 1365s # goto out; 1365s # if (g_strv_length (a) != g_strv_length (b)) 1365s # goto out; 1365s # for (n = 0; a[n] != NULL; n++) 1365s # if (g_strcmp0 (a[n], b[n]) != 0) 1365s # goto out; 1365s # ret = TRUE; 1365s # out: 1365s # return ret; 1365s # } 1365s # 1365s # static gboolean 1365s # _g_variant_equal0 (GVariant *a, GVariant *b) 1365s # { 1365s # gboolean ret = FALSE; 1365s # if (a == NULL && b == NULL) 1365s # { 1365s # ret = TRUE; 1365s # goto out; 1365s # } 1365s # if (a == NULL || b == NULL) 1365s # goto out; 1365s # ret = g_variant_equal (a, b); 1365s # out: 1365s # return ret; 1365s # } 1365s # 1365s # G_GNUC_UNUSED static gboolean 1365s # _g_value_equal (const GValue *a, const GValue *b) 1365s # { 1365s # gboolean ret = FALSE; 1365s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1365s # switch (G_VALUE_TYPE (a)) 1365s # { 1365s # case G_TYPE_BOOLEAN: 1365s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1365s # break; 1365s # case G_TYPE_UCHAR: 1365s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1365s # break; 1365s # case G_TYPE_INT: 1365s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1365s # break; 1365s # case G_TYPE_UINT: 1365s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1365s # break; 1365s # case G_TYPE_INT64: 1365s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1365s # break; 1365s # case G_TYPE_UINT64: 1365s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1365s # break; 1365s # case G_TYPE_DOUBLE: 1365s # { 1365s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1365s # gdouble da = g_value_get_double (a); 1365s # gdouble db = g_value_get_double (b); 1365s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1365s # } 1365s # break; 1365s # case G_TYPE_STRING: 1365s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1365s # break; 1365s # case G_TYPE_VARIANT: 1365s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1365s # break; 1365s # default: 1365s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1365s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1365s # else 1365s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1365s # break; 1365s # } 1365s # return ret; 1365s # } 1365s # 1365s # /* codegen-test-extension body preamble */ 1365s # Error: 1366s ok 10 __main__.TestCodegen.test_extension_empty_interface_header 1366s # gdbus-codegen: /usr/bin/gdbus-codegen 1366s # tmpdir: /tmp/tmp_s9boo0z 1366s # /tmp/tmp_s9boo0z/tmpz09ndm15.xml: 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_s9boo0z/tmpz09ndm15.xml', '--output', '-', '--header', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 1366s # Return code: 0 1366s # Output: 1366s # /* 1366s # * This file is generated by gdbus-codegen, do not modify it. 1366s # * 1366s # * The license of this code is the same as for the D-Bus interface description 1366s # * it was derived from. Note that it links to GLib, so must comply with the 1366s # * LGPL linking clauses. 1366s # */ 1366s # 1366s # #ifndef __STDOUT__ 1366s # #define __STDOUT__ 1366s # 1366s # #include 1366s # /* codegen-test-extension include */ 1366s # 1366s # G_BEGIN_DECLS 1366s # 1366s # 1366s # G_END_DECLS 1366s # 1366s # #endif /* __STDOUT__ */ 1366s # Error: 1366s ok 11 __main__.TestCodegen.test_extension_header_declare_types 1366s # gdbus-codegen: /usr/bin/gdbus-codegen 1366s # tmpdir: /tmp/tmpf57ws_aa 1366s # /tmp/tmpf57ws_aa/tmpk20ej057.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf57ws_aa/tmpk20ej057.xml', '--output', '-', '--header', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 1366s # Return code: 0 1366s # Output: 1366s # /* 1366s # * This file is generated by gdbus-codegen, do not modify it. 1366s # * 1366s # * The license of this code is the same as for the D-Bus interface description 1366s # * it was derived from. Note that it links to GLib, so must comply with the 1366s # * LGPL linking clauses. 1366s # */ 1366s # 1366s # #ifndef __STDOUT__ 1366s # #define __STDOUT__ 1366s # 1366s # #include 1366s # /* codegen-test-extension include */ 1366s # 1366s # G_BEGIN_DECLS 1366s # 1366s # 1366s # /* ------------------------------------------------------------------------ */ 1366s # /* Declarations for org.project.Foo */ 1366s # 1366s # #define TYPE_ORG_PROJECT_FOO (org_project_foo_get_type ()) 1366s # #define ORG_PROJECT_FOO(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_FOO, OrgProjectFoo)) 1366s # #define IS_ORG_PROJECT_FOO(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_FOO)) 1366s # #define ORG_PROJECT_FOO_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_FOO, OrgProjectFooIface)) 1366s # 1366s # struct _OrgProjectFoo; 1366s # typedef struct _OrgProjectFoo OrgProjectFoo; 1366s # typedef struct _OrgProjectFooIface OrgProjectFooIface; 1366s # 1366s # struct _OrgProjectFooIface 1366s # { 1366s # GTypeInterface parent_iface; 1366s # }; 1366s # 1366s # GType org_project_foo_get_type (void) G_GNUC_CONST; 1366s # 1366s # GDBusInterfaceInfo *org_project_foo_interface_info (void); 1366s # guint org_project_foo_override_properties (GObjectClass *klass, guint property_id_begin); 1366s # 1366s # 1366s # /* ---- */ 1366s # 1366s # #define TYPE_ORG_PROJECT_FOO_PROXY (org_project_foo_proxy_get_type ()) 1366s # #define ORG_PROJECT_FOO_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_FOO_PROXY, OrgProjectFooProxy)) 1366s # #define ORG_PROJECT_FOO_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_FOO_PROXY, OrgProjectFooProxyClass)) 1366s # #define ORG_PROJECT_FOO_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_FOO_PROXY, OrgProjectFooProxyClass)) 1366s # #define IS_ORG_PROJECT_FOO_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_FOO_PROXY)) 1366s # #define IS_ORG_PROJECT_FOO_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_FOO_PROXY)) 1366s # 1366s # typedef struct _OrgProjectFooProxy OrgProjectFooProxy; 1366s # typedef struct _OrgProjectFooProxyClass OrgProjectFooProxyClass; 1366s # typedef struct _OrgProjectFooProxyPrivate OrgProjectFooProxyPrivate; 1366s # 1366s # struct _OrgProjectFooProxy 1366s # { 1366s # /*< private >*/ 1366s # GDBusProxy parent_instance; 1366s # OrgProjectFooProxyPrivate *priv; 1366s # }; 1366s # 1366s # struct _OrgProjectFooProxyClass 1366s # { 1366s # GDBusProxyClass parent_class; 1366s # }; 1366s # 1366s # GType org_project_foo_proxy_get_type (void) G_GNUC_CONST; 1366s # 1366s # #if GLIB_CHECK_VERSION(2, 44, 0) 1366s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectFooProxy, g_object_unref) 1366s # #endif 1366s # 1366s # void org_project_foo_proxy_new ( 1366s # GDBusConnection *connection, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data); 1366s # OrgProjectFoo *org_project_foo_proxy_new_finish ( 1366s # GAsyncResult *res, 1366s # GError **error); 1366s # OrgProjectFoo *org_project_foo_proxy_new_sync ( 1366s # GDBusConnection *connection, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GError **error); 1366s # 1366s # void org_project_foo_proxy_new_for_bus ( 1366s # GBusType bus_type, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data); 1366s # OrgProjectFoo *org_project_foo_proxy_new_for_bus_finish ( 1366s # GAsyncResult *res, 1366s # GError **error); 1366s # OrgProjectFoo *org_project_foo_proxy_new_for_bus_sync ( 1366s # GBusType bus_type, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GError **error); 1366s # 1366s # 1366s # /* ---- */ 1366s # 1366s # #define TYPE_ORG_PROJECT_FOO_SKELETON (org_project_foo_skeleton_get_type ()) 1366s # #define ORG_PROJECT_FOO_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_FOO_SKELETON, OrgProjectFooSkeleton)) 1366s # #define ORG_PROJECT_FOO_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_FOO_SKELETON, OrgProjectFooSkeletonClass)) 1366s # #define ORG_PROJECT_FOO_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_FOO_SKELETON, OrgProjectFooSkeletonClass)) 1366s # #define IS_ORG_PROJECT_FOO_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_FOO_SKELETON)) 1366s # #define IS_ORG_PROJECT_FOO_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_FOO_SKELETON)) 1366s # 1366s # typedef struct _OrgProjectFooSkeleton OrgProjectFooSkeleton; 1366s # typedef struct _OrgProjectFooSkeletonClass OrgProjectFooSkeletonClass; 1366s # typedef struct _OrgProjectFooSkeletonPrivate OrgProjectFooSkeletonPrivate; 1366s # 1366s # struct _OrgProjectFooSkeleton 1366s # { 1366s # /*< private >*/ 1366s # NewDBusInterfaceSkeleton parent_instance; 1366s # OrgProjectFooSkeletonPrivate *priv; 1366s # }; 1366s # 1366s # struct _OrgProjectFooSkeletonClass 1366s # { 1366s # NewDBusInterfaceSkeletonClass parent_class; 1366s # }; 1366s # 1366s # GType org_project_foo_skeleton_get_type (void) G_GNUC_CONST; 1366s # 1366s # #if GLIB_CHECK_VERSION(2, 44, 0) 1366s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectFooSkeleton, g_object_unref) 1366s # #endif 1366s # 1366s # OrgProjectFoo *org_project_foo_skeleton_new (void); 1366s # 1366s # 1366s # /* ------------------------------------------------------------------------ */ 1366s # /* Declarations for org.project.Bar */ 1366s # 1366s # #define TYPE_ORG_PROJECT_BAR (org_project_bar_get_type ()) 1366s # #define ORG_PROJECT_BAR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR, OrgProjectBar)) 1366s # #define IS_ORG_PROJECT_BAR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR)) 1366s # #define ORG_PROJECT_BAR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR, OrgProjectBarIface)) 1366s # 1366s # struct _OrgProjectBar; 1366s # typedef struct _OrgProjectBar OrgProjectBar; 1366s # typedef struct _OrgProjectBarIface OrgProjectBarIface; 1366s # 1366s # struct _OrgProjectBarIface 1366s # { 1366s # GTypeInterface parent_iface; 1366s # }; 1366s # 1366s # GType org_project_bar_get_type (void) G_GNUC_CONST; 1366s # 1366s # GDBusInterfaceInfo *org_project_bar_interface_info (void); 1366s # guint org_project_bar_override_properties (GObjectClass *klass, guint property_id_begin); 1366s # 1366s # 1366s # /* ---- */ 1366s # 1366s # #define TYPE_ORG_PROJECT_BAR_PROXY (org_project_bar_proxy_get_type ()) 1366s # #define ORG_PROJECT_BAR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_PROXY, OrgProjectBarProxy)) 1366s # #define ORG_PROJECT_BAR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_PROXY, OrgProjectBarProxyClass)) 1366s # #define ORG_PROJECT_BAR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_PROXY, OrgProjectBarProxyClass)) 1366s # #define IS_ORG_PROJECT_BAR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_PROXY)) 1366s # #define IS_ORG_PROJECT_BAR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_PROXY)) 1366s # 1366s # typedef struct _OrgProjectBarProxy OrgProjectBarProxy; 1366s # typedef struct _OrgProjectBarProxyClass OrgProjectBarProxyClass; 1366s # typedef struct _OrgProjectBarProxyPrivate OrgProjectBarProxyPrivate; 1366s # 1366s # struct _OrgProjectBarProxy 1366s # { 1366s # /*< private >*/ 1366s # GDBusProxy parent_instance; 1366s # OrgProjectBarProxyPrivate *priv; 1366s # }; 1366s # 1366s # struct _OrgProjectBarProxyClass 1366s # { 1366s # GDBusProxyClass parent_class; 1366s # }; 1366s # 1366s # GType org_project_bar_proxy_get_type (void) G_GNUC_CONST; 1366s # 1366s # #if GLIB_CHECK_VERSION(2, 44, 0) 1366s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarProxy, g_object_unref) 1366s # #endif 1366s # 1366s # void org_project_bar_proxy_new ( 1366s # GDBusConnection *connection, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data); 1366s # OrgProjectBar *org_project_bar_proxy_new_finish ( 1366s # GAsyncResult *res, 1366s # GError **error); 1366s # OrgProjectBar *org_project_bar_proxy_new_sync ( 1366s # GDBusConnection *connection, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GError **error); 1366s # 1366s # void org_project_bar_proxy_new_for_bus ( 1366s # GBusType bus_type, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data); 1366s # OrgProjectBar *org_project_bar_proxy_new_for_bus_finish ( 1366s # GAsyncResult *res, 1366s # GError **error); 1366s # OrgProjectBar *org_project_bar_proxy_new_for_bus_sync ( 1366s # GBusType bus_type, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GError **error); 1366s # 1366s # 1366s # /* ---- */ 1366s # 1366s # #define TYPE_ORG_PROJECT_BAR_SKELETON (org_project_bar_skeleton_get_type ()) 1366s # #define ORG_PROJECT_BAR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_SKELETON, OrgProjectBarSkeleton)) 1366s # #define ORG_PROJECT_BAR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_SKELETON, OrgProjectBarSkeletonClass)) 1366s # #define ORG_PROJECT_BAR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_SKELETON, OrgProjectBarSkeletonClass)) 1366s # #define IS_ORG_PROJECT_BAR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_SKELETON)) 1366s # #define IS_ORG_PROJECT_BAR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_SKELETON)) 1366s # 1366s # typedef struct _OrgProjectBarSkeleton OrgProjectBarSkeleton; 1366s # typedef struct _OrgProjectBarSkeletonClass OrgProjectBarSkeletonClass; 1366s # typedef struct _OrgProjectBarSkeletonPrivate OrgProjectBarSkeletonPrivate; 1366s # 1366s # struct _OrgProjectBarSkeleton 1366s # { 1366s # /*< private >*/ 1366s # NewDBusInterfaceSkeleton parent_instance; 1366s # OrgProjectBarSkeletonPrivate *priv; 1366s # }; 1366s # 1366s # struct _OrgProjectBarSkeletonClass 1366s # { 1366s # NewDBusInterfaceSkeletonClass parent_class; 1366s # }; 1366s # 1366s # GType org_project_bar_skeleton_get_type (void) G_GNUC_CONST; 1366s # 1366s # #if GLIB_CHECK_VERSION(2, 44, 0) 1366s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarSkeleton, g_object_unref) 1366s # #endif 1366s # 1366s # OrgProjectBar *org_project_bar_skeleton_new (void); 1366s # 1366s # /* codegen-test-extension declare type for iface org.project.Foo */ 1366s # /* codegen-test-extension declare type for iface org.project.Bar */ 1366s # 1366s # G_END_DECLS 1366s # 1366s # #endif /* __STDOUT__ */ 1366s # Error: 1366s ok 12 __main__.TestCodegen.test_extension_help 1366s # gdbus-codegen: /usr/bin/gdbus-codegen 1366s # tmpdir: /tmp/tmpp7ryl7_1 1366s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1366s # Return code: 0 1366s # Output: 1366s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1366s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1366s # [--c-generate-autocleanup {none,objects,all}] 1366s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1366s # [--generate-rst OUTFILES] [--pragma-once] 1366s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1366s # [--glib-min-required VERSION] 1366s # [--glib-max-allowed VERSION] 1366s # [--symbol-decorator SYMBOL_DECORATOR] 1366s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1366s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1366s # [--extension-path EXTENSION_PATH] 1366s # [--generate-c-code OUTFILES | --header | --body | 1366s # --interface-info-header | --interface-info-body] 1366s # [--output FILE | --output-directory OUTDIR] 1366s # FILE [FILE ...] 1366s # 1366s # D-Bus code and documentation generator 1366s # 1366s # positional arguments: 1366s # FILE D-Bus introspection XML file 1366s # 1366s # options: 1366s # -h, --help show this help message and exit 1366s # --interface-prefix PREFIX 1366s # String to strip from D-Bus interface names for code 1366s # and docs 1366s # --c-namespace NAMESPACE 1366s # The namespace to use for generated C code 1366s # --c-generate-object-manager 1366s # Generate a GDBusObjectManagerClient subclass when 1366s # generating C code 1366s # --c-generate-autocleanup {none,objects,all} 1366s # Generate autocleanup support 1366s # --generate-docbook OUTFILES 1366s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1366s # --generate-md OUTFILES 1366s # Generate Markdown in OUTFILES-org.Project.IFace.md 1366s # --generate-rst OUTFILES 1366s # Generate reStructuredText in OUTFILES- 1366s # org.Project.IFace.rst 1366s # --pragma-once Use "pragma once" as the inclusion guard 1366s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1366s # Add annotation (may be used several times) 1366s # --glib-min-required VERSION 1366s # Minimum version of GLib to be supported by the 1366s # outputted code (default: 2.30) 1366s # --glib-max-allowed VERSION 1366s # Maximum version of GLib to be used by the outputted 1366s # code (default: current GLib version) 1366s # --symbol-decorator SYMBOL_DECORATOR 1366s # Macro used to decorate a symbol in the outputted 1366s # header, possibly to export symbols 1366s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1366s # Additional header required for decorator specified by 1366s # --symbol-decorator 1366s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1366s # Additional define required for decorator specified by 1366s # --symbol-decorator 1366s # --extension-path EXTENSION_PATH 1366s # Path to a gdbus-codegen Python extension file 1366s # (unstable API) 1366s # --generate-c-code OUTFILES 1366s # Generate C code in OUTFILES.[ch] 1366s # --header Generate C headers 1366s # --body Generate C code 1366s # --interface-info-header 1366s # Generate GDBusInterfaceInfo C header 1366s # --interface-info-body 1366s # Generate GDBusInterfaceInfo C code 1366s # --output FILE Write output into the specified file 1366s # --output-directory OUTDIR 1366s # Location to output generated files 1366s # Error: 1366s ok 13 __main__.TestCodegen.test_generate_docbook 1366s # gdbus-codegen: /usr/bin/gdbus-codegen 1366s # tmpdir: /tmp/tmpc2gp3hjb 1366s # /tmp/tmpc2gp3hjb/tmpbgwkhny4.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2gp3hjb/tmpbgwkhny4.xml', '--generate-docbook', 'test'] 1366s # Return code: 0 1366s # Output: 1366s # 1366s # Error: 1366s ok 14 __main__.TestCodegen.test_generate_md 1366s # gdbus-codegen: /usr/bin/gdbus-codegen 1366s # tmpdir: /tmp/tmp30vjmewd 1366s # /tmp/tmp30vjmewd/tmpquuj9kxh.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp30vjmewd/tmpquuj9kxh.xml', '--generate-md', 'test'] 1366s # Return code: 0 1366s # Output: 1366s # 1366s # Error: 1366s ok 15 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1366s # gdbus-codegen: /usr/bin/gdbus-codegen 1366s # tmpdir: /tmp/tmpnzvdywsg 1366s # /tmp/tmpnzvdywsg/tmpr_eiaxmg.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzvdywsg/tmpr_eiaxmg.xml', '--output', '-', '--body'] 1366s # Return code: 0 1366s # Output: 1366s # /* 1366s # * This file is generated by gdbus-codegen, do not modify it. 1366s # * 1366s # * The license of this code is the same as for the D-Bus interface description 1366s # * it was derived from. Note that it links to GLib, so must comply with the 1366s # * LGPL linking clauses. 1366s # */ 1366s # 1366s # #ifdef HAVE_CONFIG_H 1366s # # include "config.h" 1366s # #endif 1366s # 1366s # #include 1366s # #ifdef G_OS_UNIX 1366s # # include 1366s # #endif 1366s # 1366s # #ifdef G_ENABLE_DEBUG 1366s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1366s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1366s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1366s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1366s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1366s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1366s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1366s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1366s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1366s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1366s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1366s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1366s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1366s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1366s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1366s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1366s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1366s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1366s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1366s # #else /* !G_ENABLE_DEBUG */ 1366s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1366s # * Do not access GValues directly in your code. Instead, use the 1366s # * g_value_get_*() functions 1366s # */ 1366s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1366s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1366s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1366s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1366s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1366s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1366s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1366s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1366s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1366s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1366s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1366s # #endif /* !G_ENABLE_DEBUG */ 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusArgInfo parent_struct; 1366s # gboolean use_gvariant; 1366s # } _ExtendedGDBusArgInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusMethodInfo parent_struct; 1366s # const gchar *signal_name; 1366s # gboolean pass_fdlist; 1366s # } _ExtendedGDBusMethodInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusSignalInfo parent_struct; 1366s # const gchar *signal_name; 1366s # } _ExtendedGDBusSignalInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusPropertyInfo parent_struct; 1366s # const gchar *hyphen_name; 1366s # guint use_gvariant : 1; 1366s # guint emits_changed_signal : 1; 1366s # } _ExtendedGDBusPropertyInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusInterfaceInfo parent_struct; 1366s # const gchar *hyphen_name; 1366s # } _ExtendedGDBusInterfaceInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info; 1366s # guint prop_id; 1366s # GValue orig_value; /* the value before the change */ 1366s # } ChangedProperty; 1366s # 1366s # static void 1366s # _changed_property_free (ChangedProperty *data) 1366s # { 1366s # g_value_unset (&data->orig_value); 1366s # g_free (data); 1366s # } 1366s # 1366s # static gboolean 1366s # _g_strv_equal0 (gchar **a, gchar **b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # guint n; 1366s # if (a == NULL && b == NULL) 1366s # { 1366s # ret = TRUE; 1366s # goto out; 1366s # } 1366s # if (a == NULL || b == NULL) 1366s # goto out; 1366s # if (g_strv_length (a) != g_strv_length (b)) 1366s # goto out; 1366s # for (n = 0; a[n] != NULL; n++) 1366s # if (g_strcmp0 (a[n], b[n]) != 0) 1366s # goto out; 1366s # ret = TRUE; 1366s # out: 1366s # return ret; 1366s # } 1366s # 1366s # static gboolean 1366s # _g_variant_equal0 (GVariant *a, GVariant *b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # if (a == NULL && b == NULL) 1366s # { 1366s # ret = TRUE; 1366s # goto out; 1366s # } 1366s # if (a == NULL || b == NULL) 1366s # goto out; 1366s # ret = g_variant_equal (a, b); 1366s # out: 1366s # return ret; 1366s # } 1366s # 1366s # G_GNUC_UNUSED static gboolean 1366s # _g_value_equal (const GValue *a, const GValue *b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1366s # switch (G_VALUE_TYPE (a)) 1366s # { 1366s # case G_TYPE_BOOLEAN: 1366s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1366s # break; 1366s # case G_TYPE_UCHAR: 1366s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1366s # break; 1366s # case G_TYPE_INT: 1366s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1366s # break; 1366s # case G_TYPE_UINT: 1366s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1366s # break; 1366s # case G_TYPE_INT64: 1366s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1366s # break; 1366s # case G_TYPE_UINT64: 1366s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1366s # break; 1366s # case G_TYPE_DOUBLE: 1366s # { 1366s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1366s # gdouble da = g_value_get_double (a); 1366s # gdouble db = g_value_get_double (b); 1366s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1366s # } 1366s # break; 1366s # case G_TYPE_STRING: 1366s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1366s # break; 1366s # case G_TYPE_VARIANT: 1366s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1366s # break; 1366s # default: 1366s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1366s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1366s # else 1366s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1366s # break; 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # static void 1366s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1366s # GClosure *closure, 1366s # GValue *return_value, 1366s # unsigned int n_param_values, 1366s # const GValue *param_values, 1366s # void *invocation_hint G_GNUC_UNUSED, 1366s # void *marshal_data) 1366s # { 1366s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1366s # (void *data1, 1366s # GDBusMethodInvocation *arg_method_invocation, 1366s # void *data2); 1366s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1366s # GCClosure *cc = (GCClosure*) closure; 1366s # void *data1, *data2; 1366s # gboolean v_return; 1366s # 1366s # g_return_if_fail (return_value != NULL); 1366s # g_return_if_fail (n_param_values == 2); 1366s # 1366s # if (G_CCLOSURE_SWAP_DATA (closure)) 1366s # { 1366s # data1 = closure->data; 1366s # data2 = g_value_peek_pointer (param_values + 0); 1366s # } 1366s # else 1366s # { 1366s # data1 = g_value_peek_pointer (param_values + 0); 1366s # data2 = closure->data; 1366s # } 1366s # 1366s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1366s # (marshal_data ? marshal_data : cc->callback); 1366s # 1366s # v_return = 1366s # callback (data1, 1366s # g_marshal_value_peek_object (param_values + 1), 1366s # data2); 1366s # 1366s # g_value_set_boolean (return_value, v_return); 1366s # } 1366s # 1366s # /* ------------------------------------------------------------------------ 1366s # * Code for interface org.project.CallableIface 1366s # * ------------------------------------------------------------------------ 1366s # */ 1366s # 1366s # /** 1366s # * SECTION:OrgProjectCallableIface 1366s # * @title: OrgProjectCallableIface 1366s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1366s # * 1366s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1366s # */ 1366s # 1366s # /* ---- Introspection data for org.project.CallableIface ---- */ 1366s # 1366s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1366s # { 1366s # { 1366s # -1, 1366s # (gchar *) "SimpleMethod", 1366s # NULL, 1366s # NULL, 1366s # NULL 1366s # }, 1366s # "handle-simple-method", 1366s # FALSE 1366s # }; 1366s # 1366s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1366s # { 1366s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1366s # NULL 1366s # }; 1366s # 1366s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1366s # { 1366s # { 1366s # -1, 1366s # (gchar *) "org.project.CallableIface", 1366s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1366s # NULL, 1366s # NULL, 1366s # NULL 1366s # }, 1366s # "org-project-callable-iface", 1366s # }; 1366s # 1366s # 1366s # /** 1366s # * org_project_callable_iface_interface_info: 1366s # * 1366s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1366s # * 1366s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1366s # */ 1366s # GDBusInterfaceInfo * 1366s # org_project_callable_iface_interface_info (void) 1366s # { 1366s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_override_properties: 1366s # * @klass: The class structure for a #GObject derived class. 1366s # * @property_id_begin: The property id to assign to the first overridden property. 1366s # * 1366s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1366s # * The properties are overridden in the order they are defined. 1366s # * 1366s # * Returns: The last property id. 1366s # */ 1366s # guint 1366s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1366s # { 1366s # return property_id_begin - 1; 1366s # } 1366s # 1366s # 1366s # inline static void 1366s # org_project_callable_iface_method_marshal_simple_method ( 1366s # GClosure *closure, 1366s # GValue *return_value, 1366s # unsigned int n_param_values, 1366s # const GValue *param_values, 1366s # void *invocation_hint, 1366s # void *marshal_data) 1366s # { 1366s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1366s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1366s # } 1366s # 1366s # 1366s # /** 1366s # * OrgProjectCallableIface: 1366s # * 1366s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1366s # */ 1366s # 1366s # /** 1366s # * OrgProjectCallableIfaceIface: 1366s # * @parent_iface: The parent interface. 1366s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1366s # * 1366s # * Virtual table for the D-Bus interface org.project.CallableIface. 1366s # */ 1366s # 1366s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1366s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1366s # 1366s # static void 1366s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1366s # { 1366s # /* GObject signals for incoming D-Bus method calls: */ 1366s # /** 1366s # * OrgProjectCallableIface::handle-simple-method: 1366s # * @object: A #OrgProjectCallableIface. 1366s # * @invocation: A #GDBusMethodInvocation. 1366s # * 1366s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1366s # * 1366s # * 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. 1366s # * 1366s # * 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. 1366s # */ 1366s # g_signal_new ("handle-simple-method", 1366s # G_TYPE_FROM_INTERFACE (iface), 1366s # G_SIGNAL_RUN_LAST, 1366s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1366s # g_signal_accumulator_true_handled, 1366s # NULL, 1366s # org_project_callable_iface_method_marshal_simple_method, 1366s # G_TYPE_BOOLEAN, 1366s # 1, 1366s # G_TYPE_DBUS_METHOD_INVOCATION); 1366s # 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_call_simple_method: 1366s # * @proxy: A #OrgProjectCallableIfaceProxy. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1366s # * 1366s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1366s # */ 1366s # void 1366s # org_project_callable_iface_call_simple_method ( 1366s # OrgProjectCallableIface *proxy, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1366s # "SimpleMethod", 1366s # g_variant_new ("()"), 1366s # G_DBUS_CALL_FLAGS_NONE, 1366s # -1, 1366s # cancellable, 1366s # callback, 1366s # user_data); 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_call_simple_method_finish: 1366s # * @proxy: A #OrgProjectCallableIfaceProxy. 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1366s # * @error: Return location for error or %NULL. 1366s # * 1366s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1366s # * 1366s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1366s # */ 1366s # gboolean 1366s # org_project_callable_iface_call_simple_method_finish ( 1366s # OrgProjectCallableIface *proxy, 1366s # GAsyncResult *res, 1366s # GError **error) 1366s # { 1366s # GVariant *_ret; 1366s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1366s # if (_ret == NULL) 1366s # goto _out; 1366s # g_variant_get (_ret, 1366s # "()"); 1366s # g_variant_unref (_ret); 1366s # _out: 1366s # return _ret != NULL; 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_call_simple_method_sync: 1366s # * @proxy: A #OrgProjectCallableIfaceProxy. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @error: Return location for error or %NULL. 1366s # * 1366s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1366s # * 1366s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1366s # * 1366s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1366s # */ 1366s # gboolean 1366s # org_project_callable_iface_call_simple_method_sync ( 1366s # OrgProjectCallableIface *proxy, 1366s # GCancellable *cancellable, 1366s # GError **error) 1366s # { 1366s # GVariant *_ret; 1366s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1366s # "SimpleMethod", 1366s # g_variant_new ("()"), 1366s # G_DBUS_CALL_FLAGS_NONE, 1366s # -1, 1366s # cancellable, 1366s # error); 1366s # if (_ret == NULL) 1366s # goto _out; 1366s # g_variant_get (_ret, 1366s # "()"); 1366s # g_variant_unref (_ret); 1366s # _out: 1366s # return _ret != NULL; 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_complete_simple_method: 1366s # * @object: A #OrgProjectCallableIface. 1366s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1366s # * 1366s # * 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. 1366s # * 1366s # * This method will free @invocation, you cannot use it afterwards. 1366s # */ 1366s # void 1366s # org_project_callable_iface_complete_simple_method ( 1366s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1366s # GDBusMethodInvocation *invocation) 1366s # { 1366s # g_dbus_method_invocation_return_value (invocation, 1366s # g_variant_new ("()")); 1366s # } 1366s # 1366s # /* ------------------------------------------------------------------------ */ 1366s # 1366s # /** 1366s # * OrgProjectCallableIfaceProxy: 1366s # * 1366s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1366s # */ 1366s # 1366s # /** 1366s # * OrgProjectCallableIfaceProxyClass: 1366s # * @parent_class: The parent class. 1366s # * 1366s # * Class structure for #OrgProjectCallableIfaceProxy. 1366s # */ 1366s # 1366s # struct _OrgProjectCallableIfaceProxyPrivate 1366s # { 1366s # GData *qdata; 1366s # }; 1366s # 1366s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1366s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1366s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1366s # 1366s # #else 1366s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1366s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1366s # 1366s # #endif 1366s # static void 1366s # org_project_callable_iface_proxy_finalize (GObject *object) 1366s # { 1366s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1366s # g_datalist_clear (&proxy->priv->qdata); 1366s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1366s # guint prop_id G_GNUC_UNUSED, 1366s # GValue *value G_GNUC_UNUSED, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1366s # guint prop_id G_GNUC_UNUSED, 1366s # const GValue *value G_GNUC_UNUSED, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1366s # const gchar *sender_name G_GNUC_UNUSED, 1366s # const gchar *signal_name, 1366s # GVariant *parameters) 1366s # { 1366s # _ExtendedGDBusSignalInfo *info; 1366s # GVariantIter iter; 1366s # GVariant *child; 1366s # GValue *paramv; 1366s # gsize num_params; 1366s # gsize n; 1366s # guint signal_id; 1366s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1366s # if (info == NULL) 1366s # return; 1366s # num_params = g_variant_n_children (parameters); 1366s # paramv = g_new0 (GValue, num_params + 1); 1366s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1366s # g_value_set_object (¶mv[0], proxy); 1366s # g_variant_iter_init (&iter, parameters); 1366s # n = 1; 1366s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1366s # { 1366s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1366s # if (arg_info->use_gvariant) 1366s # { 1366s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1366s # g_value_set_variant (¶mv[n], child); 1366s # n++; 1366s # } 1366s # else 1366s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1366s # g_variant_unref (child); 1366s # } 1366s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1366s # g_signal_emitv (paramv, signal_id, 0, NULL); 1366s # for (n = 0; n < num_params + 1; n++) 1366s # g_value_unset (¶mv[n]); 1366s # g_free (paramv); 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1366s # GVariant *changed_properties, 1366s # const gchar *const *invalidated_properties) 1366s # { 1366s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1366s # guint n; 1366s # const gchar *key; 1366s # GVariantIter *iter; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # g_variant_get (changed_properties, "a{sv}", &iter); 1366s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1366s # { 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1366s # g_datalist_remove_data (&proxy->priv->qdata, key); 1366s # if (info != NULL) 1366s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1366s # } 1366s # g_variant_iter_free (iter); 1366s # for (n = 0; invalidated_properties[n] != NULL; n++) 1366s # { 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1366s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1366s # if (info != NULL) 1366s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1366s # } 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1366s # { 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1366s # #else 1366s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1366s # #endif 1366s # 1366s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1366s # { 1366s # GObjectClass *gobject_class; 1366s # GDBusProxyClass *proxy_class; 1366s # 1366s # gobject_class = G_OBJECT_CLASS (klass); 1366s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1366s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1366s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1366s # 1366s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1366s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1366s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1366s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1366s # #endif 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_proxy_new: 1366s # * @connection: A #GDBusConnection. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1366s # * 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1366s # * 1366s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1366s # */ 1366s # void 1366s # org_project_callable_iface_proxy_new ( 1366s # GDBusConnection *connection, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # 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); 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_proxy_new_finish: 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # OrgProjectCallableIface * 1366s # org_project_callable_iface_proxy_new_finish ( 1366s # GAsyncResult *res, 1366s # GError **error) 1366s # { 1366s # GObject *ret; 1366s # GObject *source_object; 1366s # source_object = g_async_result_get_source_object (res); 1366s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1366s # g_object_unref (source_object); 1366s # if (ret != NULL) 1366s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_proxy_new_sync: 1366s # * @connection: A #GDBusConnection. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1366s # * 1366s # * The calling thread is blocked until a reply is received. 1366s # * 1366s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # OrgProjectCallableIface * 1366s # org_project_callable_iface_proxy_new_sync ( 1366s # GDBusConnection *connection, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GError **error) 1366s # { 1366s # GInitable *ret; 1366s # 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); 1366s # if (ret != NULL) 1366s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # 1366s # /** 1366s # * org_project_callable_iface_proxy_new_for_bus: 1366s # * @bus_type: A #GBusType. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: A bus name (well-known or unique). 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1366s # * 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1366s # * 1366s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1366s # */ 1366s # void 1366s # org_project_callable_iface_proxy_new_for_bus ( 1366s # GBusType bus_type, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # 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); 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_proxy_new_for_bus_finish: 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # OrgProjectCallableIface * 1366s # org_project_callable_iface_proxy_new_for_bus_finish ( 1366s # GAsyncResult *res, 1366s # GError **error) 1366s # { 1366s # GObject *ret; 1366s # GObject *source_object; 1366s # source_object = g_async_result_get_source_object (res); 1366s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1366s # g_object_unref (source_object); 1366s # if (ret != NULL) 1366s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_proxy_new_for_bus_sync: 1366s # * @bus_type: A #GBusType. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: A bus name (well-known or unique). 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1366s # * 1366s # * The calling thread is blocked until a reply is received. 1366s # * 1366s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # OrgProjectCallableIface * 1366s # org_project_callable_iface_proxy_new_for_bus_sync ( 1366s # GBusType bus_type, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GError **error) 1366s # { 1366s # GInitable *ret; 1366s # 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); 1366s # if (ret != NULL) 1366s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # 1366s # /* ------------------------------------------------------------------------ */ 1366s # 1366s # /** 1366s # * OrgProjectCallableIfaceSkeleton: 1366s # * 1366s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1366s # */ 1366s # 1366s # /** 1366s # * OrgProjectCallableIfaceSkeletonClass: 1366s # * @parent_class: The parent class. 1366s # * 1366s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1366s # */ 1366s # 1366s # struct _OrgProjectCallableIfaceSkeletonPrivate 1366s # { 1366s # GValue *properties; 1366s # GList *changed_properties; 1366s # GSource *changed_properties_idle_source; 1366s # GMainContext *context; 1366s # GMutex lock; 1366s # }; 1366s # 1366s # static void 1366s # _org_project_callable_iface_skeleton_handle_method_call ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name, 1366s # const gchar *method_name, 1366s # GVariant *parameters, 1366s # GDBusMethodInvocation *invocation, 1366s # gpointer user_data) 1366s # { 1366s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1366s # _ExtendedGDBusMethodInfo *info; 1366s # GVariantIter iter; 1366s # GVariant *child; 1366s # GValue *paramv; 1366s # gsize num_params; 1366s # guint num_extra; 1366s # gsize n; 1366s # guint signal_id; 1366s # GValue return_value = G_VALUE_INIT; 1366s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1366s # g_assert (info != NULL); 1366s # num_params = g_variant_n_children (parameters); 1366s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1366s # n = 0; 1366s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1366s # g_value_set_object (¶mv[n++], skeleton); 1366s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1366s # g_value_set_object (¶mv[n++], invocation); 1366s # if (info->pass_fdlist) 1366s # { 1366s # #ifdef G_OS_UNIX 1366s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1366s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1366s # #else 1366s # g_assert_not_reached (); 1366s # #endif 1366s # } 1366s # g_variant_iter_init (&iter, parameters); 1366s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1366s # { 1366s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1366s # if (arg_info->use_gvariant) 1366s # { 1366s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1366s # g_value_set_variant (¶mv[n], child); 1366s # n++; 1366s # } 1366s # else 1366s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1366s # g_variant_unref (child); 1366s # } 1366s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1366s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1366s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1366s # if (!g_value_get_boolean (&return_value)) 1366s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1366s # g_value_unset (&return_value); 1366s # for (n = 0; n < num_params + num_extra; n++) 1366s # g_value_unset (¶mv[n]); 1366s # g_free (paramv); 1366s # } 1366s # 1366s # static GVariant * 1366s # _org_project_callable_iface_skeleton_handle_get_property ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name G_GNUC_UNUSED, 1366s # const gchar *property_name, 1366s # GError **error, 1366s # gpointer user_data) 1366s # { 1366s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1366s # GValue value = G_VALUE_INIT; 1366s # GParamSpec *pspec; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # GVariant *ret; 1366s # ret = NULL; 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1366s # g_assert (info != NULL); 1366s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1366s # if (pspec == NULL) 1366s # { 1366s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1366s # } 1366s # else 1366s # { 1366s # g_value_init (&value, pspec->value_type); 1366s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1366s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1366s # g_value_unset (&value); 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # static gboolean 1366s # _org_project_callable_iface_skeleton_handle_set_property ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name G_GNUC_UNUSED, 1366s # const gchar *property_name, 1366s # GVariant *variant, 1366s # GError **error, 1366s # gpointer user_data) 1366s # { 1366s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1366s # GValue value = G_VALUE_INIT; 1366s # GParamSpec *pspec; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # gboolean ret; 1366s # ret = FALSE; 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1366s # g_assert (info != NULL); 1366s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1366s # if (pspec == NULL) 1366s # { 1366s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1366s # } 1366s # else 1366s # { 1366s # if (info->use_gvariant) 1366s # g_value_set_variant (&value, variant); 1366s # else 1366s # g_dbus_gvariant_to_gvalue (variant, &value); 1366s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1366s # g_value_unset (&value); 1366s # ret = TRUE; 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1366s # { 1366s # _org_project_callable_iface_skeleton_handle_method_call, 1366s # _org_project_callable_iface_skeleton_handle_get_property, 1366s # _org_project_callable_iface_skeleton_handle_set_property, 1366s # {NULL} 1366s # }; 1366s # 1366s # static GDBusInterfaceInfo * 1366s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1366s # { 1366s # return org_project_callable_iface_interface_info (); 1366s # } 1366s # 1366s # static GDBusInterfaceVTable * 1366s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1366s # { 1366s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1366s # } 1366s # 1366s # static GVariant * 1366s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1366s # { 1366s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1366s # 1366s # GVariantBuilder builder; 1366s # guint n; 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1366s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1366s # #else 1366s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1366s # #endif 1366s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1366s # goto out; 1366s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1366s # { 1366s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1366s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1366s # { 1366s # GVariant *value; 1366s # 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); 1366s # if (value != NULL) 1366s # { 1366s # g_variant_take_ref (value); 1366s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1366s # g_variant_unref (value); 1366s # } 1366s # } 1366s # } 1366s # out: 1366s # return g_variant_builder_end (&builder); 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1366s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1366s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1366s # 1366s # #else 1366s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1366s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1366s # 1366s # #endif 1366s # static void 1366s # org_project_callable_iface_skeleton_finalize (GObject *object) 1366s # { 1366s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1366s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # /* coverity[missing_lock : SUPPRESS] */ 1366s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1366s # #else 1366s # if (skeleton->priv->changed_properties_idle_source != NULL) 1366s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1366s # skeleton->priv->changed_properties_idle_source = NULL; 1366s # #endif 1366s # g_main_context_unref (skeleton->priv->context); 1366s # g_mutex_clear (&skeleton->priv->lock); 1366s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1366s # { 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1366s # #else 1366s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1366s # #endif 1366s # 1366s # g_mutex_init (&skeleton->priv->lock); 1366s # skeleton->priv->context = g_main_context_ref_thread_default (); 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1366s # { 1366s # GObjectClass *gobject_class; 1366s # GDBusInterfaceSkeletonClass *skeleton_class; 1366s # 1366s # gobject_class = G_OBJECT_CLASS (klass); 1366s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1366s # 1366s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1366s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1366s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1366s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1366s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1366s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1366s # #endif 1366s # } 1366s # 1366s # static void 1366s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # /** 1366s # * org_project_callable_iface_skeleton_new: 1366s # * 1366s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1366s # */ 1366s # OrgProjectCallableIface * 1366s # org_project_callable_iface_skeleton_new (void) 1366s # { 1366s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1366s # } 1366s # 1366s # /* ------------------------------------------------------------------------ 1366s # * Code for interface org.project.OtherCallableIface 1366s # * ------------------------------------------------------------------------ 1366s # */ 1366s # 1366s # /** 1366s # * SECTION:OrgProjectOtherCallableIface 1366s # * @title: OrgProjectOtherCallableIface 1366s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1366s # * 1366s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1366s # */ 1366s # 1366s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1366s # 1366s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1366s # { 1366s # { 1366s # -1, 1366s # (gchar *) "SimpleMethod", 1366s # NULL, 1366s # NULL, 1366s # NULL 1366s # }, 1366s # "handle-simple-method", 1366s # FALSE 1366s # }; 1366s # 1366s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1366s # { 1366s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1366s # NULL 1366s # }; 1366s # 1366s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1366s # { 1366s # { 1366s # -1, 1366s # (gchar *) "org.project.OtherCallableIface", 1366s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1366s # NULL, 1366s # NULL, 1366s # NULL 1366s # }, 1366s # "org-project-other-callable-iface", 1366s # }; 1366s # 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_interface_info: 1366s # * 1366s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1366s # * 1366s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1366s # */ 1366s # GDBusInterfaceInfo * 1366s # org_project_other_callable_iface_interface_info (void) 1366s # { 1366s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_override_properties: 1366s # * @klass: The class structure for a #GObject derived class. 1366s # * @property_id_begin: The property id to assign to the first overridden property. 1366s # * 1366s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1366s # * The properties are overridden in the order they are defined. 1366s # * 1366s # * Returns: The last property id. 1366s # */ 1366s # guint 1366s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1366s # { 1366s # return property_id_begin - 1; 1366s # } 1366s # 1366s # 1366s # inline static void 1366s # org_project_other_callable_iface_method_marshal_simple_method ( 1366s # GClosure *closure, 1366s # GValue *return_value, 1366s # unsigned int n_param_values, 1366s # const GValue *param_values, 1366s # void *invocation_hint, 1366s # void *marshal_data) 1366s # { 1366s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1366s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1366s # } 1366s # 1366s # 1366s # /** 1366s # * OrgProjectOtherCallableIface: 1366s # * 1366s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1366s # */ 1366s # 1366s # /** 1366s # * OrgProjectOtherCallableIfaceIface: 1366s # * @parent_iface: The parent interface. 1366s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1366s # * 1366s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1366s # */ 1366s # 1366s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1366s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1366s # 1366s # static void 1366s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1366s # { 1366s # /* GObject signals for incoming D-Bus method calls: */ 1366s # /** 1366s # * OrgProjectOtherCallableIface::handle-simple-method: 1366s # * @object: A #OrgProjectOtherCallableIface. 1366s # * @invocation: A #GDBusMethodInvocation. 1366s # * 1366s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1366s # * 1366s # * 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. 1366s # * 1366s # * 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. 1366s # */ 1366s # g_signal_new ("handle-simple-method", 1366s # G_TYPE_FROM_INTERFACE (iface), 1366s # G_SIGNAL_RUN_LAST, 1366s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1366s # g_signal_accumulator_true_handled, 1366s # NULL, 1366s # org_project_other_callable_iface_method_marshal_simple_method, 1366s # G_TYPE_BOOLEAN, 1366s # 1, 1366s # G_TYPE_DBUS_METHOD_INVOCATION); 1366s # 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_call_simple_method: 1366s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1366s # * 1366s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1366s # */ 1366s # void 1366s # org_project_other_callable_iface_call_simple_method ( 1366s # OrgProjectOtherCallableIface *proxy, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1366s # "SimpleMethod", 1366s # g_variant_new ("()"), 1366s # G_DBUS_CALL_FLAGS_NONE, 1366s # -1, 1366s # cancellable, 1366s # callback, 1366s # user_data); 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_call_simple_method_finish: 1366s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1366s # * @error: Return location for error or %NULL. 1366s # * 1366s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1366s # * 1366s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1366s # */ 1366s # gboolean 1366s # org_project_other_callable_iface_call_simple_method_finish ( 1366s # OrgProjectOtherCallableIface *proxy, 1366s # GAsyncResult *res, 1366s # GError **error) 1366s # { 1366s # GVariant *_ret; 1366s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1366s # if (_ret == NULL) 1366s # goto _out; 1366s # g_variant_get (_ret, 1366s # "()"); 1366s # g_variant_unref (_ret); 1366s # _out: 1366s # return _ret != NULL; 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_call_simple_method_sync: 1366s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @error: Return location for error or %NULL. 1366s # * 1366s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1366s # * 1366s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1366s # * 1366s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1366s # */ 1366s # gboolean 1366s # org_project_other_callable_iface_call_simple_method_sync ( 1366s # OrgProjectOtherCallableIface *proxy, 1366s # GCancellable *cancellable, 1366s # GError **error) 1366s # { 1366s # GVariant *_ret; 1366s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1366s # "SimpleMethod", 1366s # g_variant_new ("()"), 1366s # G_DBUS_CALL_FLAGS_NONE, 1366s # -1, 1366s # cancellable, 1366s # error); 1366s # if (_ret == NULL) 1366s # goto _out; 1366s # g_variant_get (_ret, 1366s # "()"); 1366s # g_variant_unref (_ret); 1366s # _out: 1366s # return _ret != NULL; 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_complete_simple_method: 1366s # * @object: A #OrgProjectOtherCallableIface. 1366s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1366s # * 1366s # * 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. 1366s # * 1366s # * This method will free @invocation, you cannot use it afterwards. 1366s # */ 1366s # void 1366s # org_project_other_callable_iface_complete_simple_method ( 1366s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1366s # GDBusMethodInvocation *invocation) 1366s # { 1366s # g_dbus_method_invocation_return_value (invocation, 1366s # g_variant_new ("()")); 1366s # } 1366s # 1366s # /* ------------------------------------------------------------------------ */ 1366s # 1366s # /** 1366s # * OrgProjectOtherCallableIfaceProxy: 1366s # * 1366s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1366s # */ 1366s # 1366s # /** 1366s # * OrgProjectOtherCallableIfaceProxyClass: 1366s # * @parent_class: The parent class. 1366s # * 1366s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1366s # */ 1366s # 1366s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1366s # { 1366s # GData *qdata; 1366s # }; 1366s # 1366s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1366s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1366s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1366s # 1366s # #else 1366s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1366s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1366s # 1366s # #endif 1366s # static void 1366s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1366s # { 1366s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1366s # g_datalist_clear (&proxy->priv->qdata); 1366s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1366s # guint prop_id G_GNUC_UNUSED, 1366s # GValue *value G_GNUC_UNUSED, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1366s # guint prop_id G_GNUC_UNUSED, 1366s # const GValue *value G_GNUC_UNUSED, 1366s # GParamSpec *pspec G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1366s # const gchar *sender_name G_GNUC_UNUSED, 1366s # const gchar *signal_name, 1366s # GVariant *parameters) 1366s # { 1366s # _ExtendedGDBusSignalInfo *info; 1366s # GVariantIter iter; 1366s # GVariant *child; 1366s # GValue *paramv; 1366s # gsize num_params; 1366s # gsize n; 1366s # guint signal_id; 1366s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1366s # if (info == NULL) 1366s # return; 1366s # num_params = g_variant_n_children (parameters); 1366s # paramv = g_new0 (GValue, num_params + 1); 1366s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1366s # g_value_set_object (¶mv[0], proxy); 1366s # g_variant_iter_init (&iter, parameters); 1366s # n = 1; 1366s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1366s # { 1366s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1366s # if (arg_info->use_gvariant) 1366s # { 1366s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1366s # g_value_set_variant (¶mv[n], child); 1366s # n++; 1366s # } 1366s # else 1366s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1366s # g_variant_unref (child); 1366s # } 1366s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1366s # g_signal_emitv (paramv, signal_id, 0, NULL); 1366s # for (n = 0; n < num_params + 1; n++) 1366s # g_value_unset (¶mv[n]); 1366s # g_free (paramv); 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1366s # GVariant *changed_properties, 1366s # const gchar *const *invalidated_properties) 1366s # { 1366s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1366s # guint n; 1366s # const gchar *key; 1366s # GVariantIter *iter; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # g_variant_get (changed_properties, "a{sv}", &iter); 1366s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1366s # { 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1366s # g_datalist_remove_data (&proxy->priv->qdata, key); 1366s # if (info != NULL) 1366s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1366s # } 1366s # g_variant_iter_free (iter); 1366s # for (n = 0; invalidated_properties[n] != NULL; n++) 1366s # { 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1366s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1366s # if (info != NULL) 1366s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1366s # } 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1366s # { 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1366s # #else 1366s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1366s # #endif 1366s # 1366s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1366s # { 1366s # GObjectClass *gobject_class; 1366s # GDBusProxyClass *proxy_class; 1366s # 1366s # gobject_class = G_OBJECT_CLASS (klass); 1366s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1366s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1366s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1366s # 1366s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1366s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1366s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1366s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1366s # #endif 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_proxy_new: 1366s # * @connection: A #GDBusConnection. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1366s # * 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1366s # * 1366s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1366s # */ 1366s # void 1366s # org_project_other_callable_iface_proxy_new ( 1366s # GDBusConnection *connection, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # 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); 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_proxy_new_finish: 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # OrgProjectOtherCallableIface * 1366s # org_project_other_callable_iface_proxy_new_finish ( 1366s # GAsyncResult *res, 1366s # GError **error) 1366s # { 1366s # GObject *ret; 1366s # GObject *source_object; 1366s # source_object = g_async_result_get_source_object (res); 1366s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1366s # g_object_unref (source_object); 1366s # if (ret != NULL) 1366s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_proxy_new_sync: 1366s # * @connection: A #GDBusConnection. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1366s # * 1366s # * The calling thread is blocked until a reply is received. 1366s # * 1366s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # OrgProjectOtherCallableIface * 1366s # org_project_other_callable_iface_proxy_new_sync ( 1366s # GDBusConnection *connection, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GError **error) 1366s # { 1366s # GInitable *ret; 1366s # 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); 1366s # if (ret != NULL) 1366s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_proxy_new_for_bus: 1366s # * @bus_type: A #GBusType. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: A bus name (well-known or unique). 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1366s # * 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1366s # * 1366s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1366s # */ 1366s # void 1366s # org_project_other_callable_iface_proxy_new_for_bus ( 1366s # GBusType bus_type, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # 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); 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # OrgProjectOtherCallableIface * 1366s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1366s # GAsyncResult *res, 1366s # GError **error) 1366s # { 1366s # GObject *ret; 1366s # GObject *source_object; 1366s # source_object = g_async_result_get_source_object (res); 1366s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1366s # g_object_unref (source_object); 1366s # if (ret != NULL) 1366s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1366s # * @bus_type: A #GBusType. 1366s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1366s # * @name: A bus name (well-known or unique). 1366s # * @object_path: An object path. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @error: Return location for error or %NULL 1366s # * 1366s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1366s # * 1366s # * The calling thread is blocked until a reply is received. 1366s # * 1366s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1366s # */ 1366s # OrgProjectOtherCallableIface * 1366s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1366s # GBusType bus_type, 1366s # GDBusProxyFlags flags, 1366s # const gchar *name, 1366s # const gchar *object_path, 1366s # GCancellable *cancellable, 1366s # GError **error) 1366s # { 1366s # GInitable *ret; 1366s # 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); 1366s # if (ret != NULL) 1366s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1366s # else 1366s # return NULL; 1366s # } 1366s # 1366s # 1366s # /* ------------------------------------------------------------------------ */ 1366s # 1366s # /** 1366s # * OrgProjectOtherCallableIfaceSkeleton: 1366s # * 1366s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1366s # */ 1366s # 1366s # /** 1366s # * OrgProjectOtherCallableIfaceSkeletonClass: 1366s # * @parent_class: The parent class. 1366s # * 1366s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1366s # */ 1366s # 1366s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1366s # { 1366s # GValue *properties; 1366s # GList *changed_properties; 1366s # GSource *changed_properties_idle_source; 1366s # GMainContext *context; 1366s # GMutex lock; 1366s # }; 1366s # 1366s # static void 1366s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name, 1366s # const gchar *method_name, 1366s # GVariant *parameters, 1366s # GDBusMethodInvocation *invocation, 1366s # gpointer user_data) 1366s # { 1366s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1366s # _ExtendedGDBusMethodInfo *info; 1366s # GVariantIter iter; 1366s # GVariant *child; 1366s # GValue *paramv; 1366s # gsize num_params; 1366s # guint num_extra; 1366s # gsize n; 1366s # guint signal_id; 1366s # GValue return_value = G_VALUE_INIT; 1366s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1366s # g_assert (info != NULL); 1366s # num_params = g_variant_n_children (parameters); 1366s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1366s # n = 0; 1366s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1366s # g_value_set_object (¶mv[n++], skeleton); 1366s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1366s # g_value_set_object (¶mv[n++], invocation); 1366s # if (info->pass_fdlist) 1366s # { 1366s # #ifdef G_OS_UNIX 1366s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1366s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1366s # #else 1366s # g_assert_not_reached (); 1366s # #endif 1366s # } 1366s # g_variant_iter_init (&iter, parameters); 1366s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1366s # { 1366s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1366s # if (arg_info->use_gvariant) 1366s # { 1366s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1366s # g_value_set_variant (¶mv[n], child); 1366s # n++; 1366s # } 1366s # else 1366s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1366s # g_variant_unref (child); 1366s # } 1366s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1366s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1366s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1366s # if (!g_value_get_boolean (&return_value)) 1366s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1366s # g_value_unset (&return_value); 1366s # for (n = 0; n < num_params + num_extra; n++) 1366s # g_value_unset (¶mv[n]); 1366s # g_free (paramv); 1366s # } 1366s # 1366s # static GVariant * 1366s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name G_GNUC_UNUSED, 1366s # const gchar *property_name, 1366s # GError **error, 1366s # gpointer user_data) 1366s # { 1366s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1366s # GValue value = G_VALUE_INIT; 1366s # GParamSpec *pspec; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # GVariant *ret; 1366s # ret = NULL; 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1366s # g_assert (info != NULL); 1366s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1366s # if (pspec == NULL) 1366s # { 1366s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1366s # } 1366s # else 1366s # { 1366s # g_value_init (&value, pspec->value_type); 1366s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1366s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1366s # g_value_unset (&value); 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # static gboolean 1366s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1366s # GDBusConnection *connection G_GNUC_UNUSED, 1366s # const gchar *sender G_GNUC_UNUSED, 1366s # const gchar *object_path G_GNUC_UNUSED, 1366s # const gchar *interface_name G_GNUC_UNUSED, 1366s # const gchar *property_name, 1366s # GVariant *variant, 1366s # GError **error, 1366s # gpointer user_data) 1366s # { 1366s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1366s # GValue value = G_VALUE_INIT; 1366s # GParamSpec *pspec; 1366s # _ExtendedGDBusPropertyInfo *info; 1366s # gboolean ret; 1366s # ret = FALSE; 1366s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1366s # g_assert (info != NULL); 1366s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1366s # if (pspec == NULL) 1366s # { 1366s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1366s # } 1366s # else 1366s # { 1366s # if (info->use_gvariant) 1366s # g_value_set_variant (&value, variant); 1366s # else 1366s # g_dbus_gvariant_to_gvalue (variant, &value); 1366s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1366s # g_value_unset (&value); 1366s # ret = TRUE; 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1366s # { 1366s # _org_project_other_callable_iface_skeleton_handle_method_call, 1366s # _org_project_other_callable_iface_skeleton_handle_get_property, 1366s # _org_project_other_callable_iface_skeleton_handle_set_property, 1366s # {NULL} 1366s # }; 1366s # 1366s # static GDBusInterfaceInfo * 1366s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1366s # { 1366s # return org_project_other_callable_iface_interface_info (); 1366s # } 1366s # 1366s # static GDBusInterfaceVTable * 1366s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1366s # { 1366s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1366s # } 1366s # 1366s # static GVariant * 1366s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1366s # { 1366s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1366s # 1366s # GVariantBuilder builder; 1366s # guint n; 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1366s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1366s # #else 1366s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1366s # #endif 1366s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1366s # goto out; 1366s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1366s # { 1366s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1366s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1366s # { 1366s # GVariant *value; 1366s # 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); 1366s # if (value != NULL) 1366s # { 1366s # g_variant_take_ref (value); 1366s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1366s # g_variant_unref (value); 1366s # } 1366s # } 1366s # } 1366s # out: 1366s # return g_variant_builder_end (&builder); 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1366s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1366s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1366s # 1366s # #else 1366s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1366s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1366s # 1366s # #endif 1366s # static void 1366s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1366s # { 1366s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1366s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # /* coverity[missing_lock : SUPPRESS] */ 1366s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1366s # #else 1366s # if (skeleton->priv->changed_properties_idle_source != NULL) 1366s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1366s # skeleton->priv->changed_properties_idle_source = NULL; 1366s # #endif 1366s # g_main_context_unref (skeleton->priv->context); 1366s # g_mutex_clear (&skeleton->priv->lock); 1366s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1366s # { 1366s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1366s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1366s # #else 1366s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1366s # #endif 1366s # 1366s # g_mutex_init (&skeleton->priv->lock); 1366s # skeleton->priv->context = g_main_context_ref_thread_default (); 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1366s # { 1366s # GObjectClass *gobject_class; 1366s # GDBusInterfaceSkeletonClass *skeleton_class; 1366s # 1366s # gobject_class = G_OBJECT_CLASS (klass); 1366s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1366s # 1366s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1366s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1366s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1366s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1366s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1366s # 1366s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1366s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1366s # #endif 1366s # } 1366s # 1366s # static void 1366s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1366s # { 1366s # } 1366s # 1366s # /** 1366s # * org_project_other_callable_iface_skeleton_new: 1366s # * 1366s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1366s # * 1366s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1366s # */ 1366s # OrgProjectOtherCallableIface * 1366s # org_project_other_callable_iface_skeleton_new (void) 1366s # { 1366s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1366s # } 1366s # Error: 1366s ok 16 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1366s # gdbus-codegen: /usr/bin/gdbus-codegen 1366s # tmpdir: /tmp/tmpu8cn396d 1366s # /tmp/tmpu8cn396d/tmptjtuu_fv.xml: 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # 1366s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8cn396d/tmptjtuu_fv.xml', '--output', '-', '--body'] 1366s # Return code: 0 1366s # Output: 1366s # /* 1366s # * This file is generated by gdbus-codegen, do not modify it. 1366s # * 1366s # * The license of this code is the same as for the D-Bus interface description 1366s # * it was derived from. Note that it links to GLib, so must comply with the 1366s # * LGPL linking clauses. 1366s # */ 1366s # 1366s # #ifdef HAVE_CONFIG_H 1366s # # include "config.h" 1366s # #endif 1366s # 1366s # #include 1366s # #ifdef G_OS_UNIX 1366s # # include 1366s # #endif 1366s # 1366s # #ifdef G_ENABLE_DEBUG 1366s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1366s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1366s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1366s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1366s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1366s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1366s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1366s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1366s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1366s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1366s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1366s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1366s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1366s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1366s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1366s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1366s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1366s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1366s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1366s # #else /* !G_ENABLE_DEBUG */ 1366s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1366s # * Do not access GValues directly in your code. Instead, use the 1366s # * g_value_get_*() functions 1366s # */ 1366s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1366s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1366s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1366s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1366s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1366s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1366s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1366s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1366s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1366s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1366s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1366s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1366s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1366s # #endif /* !G_ENABLE_DEBUG */ 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusArgInfo parent_struct; 1366s # gboolean use_gvariant; 1366s # } _ExtendedGDBusArgInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusMethodInfo parent_struct; 1366s # const gchar *signal_name; 1366s # gboolean pass_fdlist; 1366s # } _ExtendedGDBusMethodInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusSignalInfo parent_struct; 1366s # const gchar *signal_name; 1366s # } _ExtendedGDBusSignalInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusPropertyInfo parent_struct; 1366s # const gchar *hyphen_name; 1366s # guint use_gvariant : 1; 1366s # guint emits_changed_signal : 1; 1366s # } _ExtendedGDBusPropertyInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # GDBusInterfaceInfo parent_struct; 1366s # const gchar *hyphen_name; 1366s # } _ExtendedGDBusInterfaceInfo; 1366s # 1366s # typedef struct 1366s # { 1366s # const _ExtendedGDBusPropertyInfo *info; 1366s # guint prop_id; 1366s # GValue orig_value; /* the value before the change */ 1366s # } ChangedProperty; 1366s # 1366s # static void 1366s # _changed_property_free (ChangedProperty *data) 1366s # { 1366s # g_value_unset (&data->orig_value); 1366s # g_free (data); 1366s # } 1366s # 1366s # static gboolean 1366s # _g_strv_equal0 (gchar **a, gchar **b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # guint n; 1366s # if (a == NULL && b == NULL) 1366s # { 1366s # ret = TRUE; 1366s # goto out; 1366s # } 1366s # if (a == NULL || b == NULL) 1366s # goto out; 1366s # if (g_strv_length (a) != g_strv_length (b)) 1366s # goto out; 1366s # for (n = 0; a[n] != NULL; n++) 1366s # if (g_strcmp0 (a[n], b[n]) != 0) 1366s # goto out; 1366s # ret = TRUE; 1366s # out: 1366s # return ret; 1366s # } 1366s # 1366s # static gboolean 1366s # _g_variant_equal0 (GVariant *a, GVariant *b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # if (a == NULL && b == NULL) 1366s # { 1366s # ret = TRUE; 1366s # goto out; 1366s # } 1366s # if (a == NULL || b == NULL) 1366s # goto out; 1366s # ret = g_variant_equal (a, b); 1366s # out: 1366s # return ret; 1366s # } 1366s # 1366s # G_GNUC_UNUSED static gboolean 1366s # _g_value_equal (const GValue *a, const GValue *b) 1366s # { 1366s # gboolean ret = FALSE; 1366s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1366s # switch (G_VALUE_TYPE (a)) 1366s # { 1366s # case G_TYPE_BOOLEAN: 1366s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1366s # break; 1366s # case G_TYPE_UCHAR: 1366s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1366s # break; 1366s # case G_TYPE_INT: 1366s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1366s # break; 1366s # case G_TYPE_UINT: 1366s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1366s # break; 1366s # case G_TYPE_INT64: 1366s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1366s # break; 1366s # case G_TYPE_UINT64: 1366s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1366s # break; 1366s # case G_TYPE_DOUBLE: 1366s # { 1366s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1366s # gdouble da = g_value_get_double (a); 1366s # gdouble db = g_value_get_double (b); 1366s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1366s # } 1366s # break; 1366s # case G_TYPE_STRING: 1366s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1366s # break; 1366s # case G_TYPE_VARIANT: 1366s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1366s # break; 1366s # default: 1366s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1366s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1366s # else 1366s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1366s # break; 1366s # } 1366s # return ret; 1366s # } 1366s # 1366s # static void 1366s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1366s # GClosure *closure, 1366s # GValue *return_value, 1366s # unsigned int n_param_values, 1366s # const GValue *param_values, 1366s # void *invocation_hint G_GNUC_UNUSED, 1366s # void *marshal_data) 1366s # { 1366s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1366s # (void *data1, 1366s # GDBusMethodInvocation *arg_method_invocation, 1366s # gboolean arg_arg_b, 1366s # void *data2); 1366s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1366s # GCClosure *cc = (GCClosure*) closure; 1366s # void *data1, *data2; 1366s # gboolean v_return; 1366s # 1366s # g_return_if_fail (return_value != NULL); 1366s # g_return_if_fail (n_param_values == 3); 1366s # 1366s # if (G_CCLOSURE_SWAP_DATA (closure)) 1366s # { 1366s # data1 = closure->data; 1366s # data2 = g_value_peek_pointer (param_values + 0); 1366s # } 1366s # else 1366s # { 1366s # data1 = g_value_peek_pointer (param_values + 0); 1366s # data2 = closure->data; 1366s # } 1366s # 1366s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1366s # (marshal_data ? marshal_data : cc->callback); 1366s # 1366s # v_return = 1366s # callback (data1, 1366s # g_marshal_value_peek_object (param_values + 1), 1366s # g_marshal_value_peek_boolean (param_values + 2), 1366s # data2); 1366s # 1366s # g_value_set_boolean (return_value, v_return); 1366s # } 1366s # 1366s # /* ------------------------------------------------------------------------ 1366s # * Code for interface org.project.UsefulInterface 1366s # * ------------------------------------------------------------------------ 1366s # */ 1366s # 1366s # /** 1366s # * SECTION:OrgProjectUsefulInterface 1366s # * @title: OrgProjectUsefulInterface 1366s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1366s # * 1366s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1366s # */ 1366s # 1366s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1366s # 1366s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1366s # { 1366s # { 1366s # -1, 1366s # (gchar *) "arg_b", 1366s # (gchar *) "b", 1366s # NULL 1366s # }, 1366s # FALSE 1366s # }; 1366s # 1366s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1366s # { 1366s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1366s # NULL 1366s # }; 1366s # 1366s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1366s # { 1366s # { 1366s # -1, 1366s # (gchar *) "SingleArgMethodB", 1366s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1366s # NULL, 1366s # NULL 1366s # }, 1366s # "handle-single-arg-method-b", 1366s # FALSE 1366s # }; 1366s # 1366s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1366s # { 1366s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1366s # NULL 1366s # }; 1366s # 1366s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1366s # { 1366s # { 1366s # -1, 1366s # (gchar *) "org.project.UsefulInterface", 1366s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1366s # NULL, 1366s # NULL, 1366s # NULL 1366s # }, 1366s # "org-project-useful-interface", 1366s # }; 1366s # 1366s # 1366s # /** 1366s # * org_project_useful_interface_interface_info: 1366s # * 1366s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1366s # * 1366s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1366s # */ 1366s # GDBusInterfaceInfo * 1366s # org_project_useful_interface_interface_info (void) 1366s # { 1366s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1366s # } 1366s # 1366s # /** 1366s # * org_project_useful_interface_override_properties: 1366s # * @klass: The class structure for a #GObject derived class. 1366s # * @property_id_begin: The property id to assign to the first overridden property. 1366s # * 1366s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1366s # * The properties are overridden in the order they are defined. 1366s # * 1366s # * Returns: The last property id. 1366s # */ 1366s # guint 1366s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1366s # { 1366s # return property_id_begin - 1; 1366s # } 1366s # 1366s # 1366s # inline static void 1366s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1366s # GClosure *closure, 1366s # GValue *return_value, 1366s # unsigned int n_param_values, 1366s # const GValue *param_values, 1366s # void *invocation_hint, 1366s # void *marshal_data) 1366s # { 1366s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1366s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1366s # } 1366s # 1366s # 1366s # /** 1366s # * OrgProjectUsefulInterface: 1366s # * 1366s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1366s # */ 1366s # 1366s # /** 1366s # * OrgProjectUsefulInterfaceIface: 1366s # * @parent_iface: The parent interface. 1366s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1366s # * 1366s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1366s # */ 1366s # 1366s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1366s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1366s # 1366s # static void 1366s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1366s # { 1366s # /* GObject signals for incoming D-Bus method calls: */ 1366s # /** 1366s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1366s # * @object: A #OrgProjectUsefulInterface. 1366s # * @invocation: A #GDBusMethodInvocation. 1366s # * @arg_arg_b: Argument passed by remote caller. 1366s # * 1366s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1366s # * 1366s # * 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. 1366s # * 1366s # * 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. 1366s # */ 1366s # g_signal_new ("handle-single-arg-method-b", 1366s # G_TYPE_FROM_INTERFACE (iface), 1366s # G_SIGNAL_RUN_LAST, 1366s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1366s # g_signal_accumulator_true_handled, 1366s # NULL, 1366s # org_project_useful_interface_method_marshal_single_arg_method_b, 1366s # G_TYPE_BOOLEAN, 1366s # 2, 1366s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1366s # 1366s # } 1366s # 1366s # /** 1366s # * org_project_useful_interface_call_single_arg_method_b: 1366s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1366s # * @arg_arg_b: Argument to pass with the method invocation. 1366s # * @cancellable: (nullable): A #GCancellable or %NULL. 1366s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1366s # * @user_data: User data to pass to @callback. 1366s # * 1366s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1366s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1366s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1366s # * 1366s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1366s # */ 1366s # void 1366s # org_project_useful_interface_call_single_arg_method_b ( 1366s # OrgProjectUsefulInterface *proxy, 1366s # gboolean arg_arg_b, 1366s # GCancellable *cancellable, 1366s # GAsyncReadyCallback callback, 1366s # gpointer user_data) 1366s # { 1366s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1366s # "SingleArgMethodB", 1366s # g_variant_new ("(b)", 1366s # arg_arg_b), 1366s # G_DBUS_CALL_FLAGS_NONE, 1366s # -1, 1366s # cancellable, 1366s # callback, 1366s # user_data); 1366s # } 1366s # 1366s # /** 1366s # * org_project_useful_interface_call_single_arg_method_b_finish: 1366s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1366s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1366s # * @error: Return location for error or %NULL. 1366s # * 1366s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1366s # * 1366s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1366s # */ 1366s # gboolean 1366s # org_project_useful_interface_call_single_arg_method_b_finish ( 1366s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_b_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_b: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_b_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gboolean arg_arg_b, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodB", 1367s # g_variant_new ("(b)", 1367s # arg_arg_b), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_b: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_b ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmpu8cn396d/tmpirkau7v0.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8cn396d/tmpirkau7v0.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # guchar arg_arg_y, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_uchar (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_y", 1367s # (gchar *) "y", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodY", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-y", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_y: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-y", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_y, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_y: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_y: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_y ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guchar arg_arg_y, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodY", 1367s # g_variant_new ("(y)", 1367s # arg_arg_y), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_y_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_y_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_y_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_y: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_y_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guchar arg_arg_y, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodY", 1367s # g_variant_new ("(y)", 1367s # arg_arg_y), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_y: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_y ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmpu8cn396d/tmp5c8tt818.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8cn396d/tmp5c8tt818.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # gint16 arg_arg_n, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_int (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_n", 1367s # (gchar *) "n", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodN", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-n", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_n: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-n", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_n, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_n: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_n: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_n ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gint16 arg_arg_n, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodN", 1367s # g_variant_new ("(n)", 1367s # arg_arg_n), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_n_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_n_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_n_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_n: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_n_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gint16 arg_arg_n, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodN", 1367s # g_variant_new ("(n)", 1367s # arg_arg_n), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_n: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_n ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmpu8cn396d/tmpos3u8fe_.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8cn396d/tmpos3u8fe_.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # guint16 arg_arg_q, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_uint (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_q", 1367s # (gchar *) "q", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodQ", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-q", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_q: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-q", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_q, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_q: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_q: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_q ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guint16 arg_arg_q, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodQ", 1367s # g_variant_new ("(q)", 1367s # arg_arg_q), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_q_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_q_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_q_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_q: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_q_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guint16 arg_arg_q, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodQ", 1367s # g_variant_new ("(q)", 1367s # arg_arg_q), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_q: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_q ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmpu8cn396d/tmphn1kojcb.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8cn396d/tmphn1kojcb.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # gint arg_arg_i, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_int (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_i", 1367s # (gchar *) "i", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodI", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-i", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_i: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-i", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_i, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_i: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_i: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_i ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gint arg_arg_i, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodI", 1367s # g_variant_new ("(i)", 1367s # arg_arg_i), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_i_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_i_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_i_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_i: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_i_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gint arg_arg_i, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodI", 1367s # g_variant_new ("(i)", 1367s # arg_arg_i), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_i: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_i ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmpu8cn396d/tmpjhvwkytv.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8cn396d/tmpjhvwkytv.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # guint arg_arg_u, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_uint (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_u", 1367s # (gchar *) "u", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodU", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-u", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_u: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-u", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_u, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_u: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_u: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_u ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guint arg_arg_u, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodU", 1367s # g_variant_new ("(u)", 1367s # arg_arg_u), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_u_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_u_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_u_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_u: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_u_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guint arg_arg_u, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodU", 1367s # g_variant_new ("(u)", 1367s # arg_arg_u), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_u: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_u ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmpu8cn396d/tmphmoc8mp2.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8cn396d/tmphmoc8mp2.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # gint64 arg_arg_x, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_int64 (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_x", 1367s # (gchar *) "x", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodX", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-x", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_x: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-x", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_x, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_x: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_x: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_x ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gint64 arg_arg_x, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodX", 1367s # g_variant_new ("(x)", 1367s # arg_arg_x), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_x_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_x_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_x_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_x: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_x_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gint64 arg_arg_x, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodX", 1367s # g_variant_new ("(x)", 1367s # arg_arg_x), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_x: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_x ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmpu8cn396d/tmp4byv4j26.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8cn396d/tmp4byv4j26.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # guint64 arg_arg_t, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_uint64 (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_t", 1367s # (gchar *) "t", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodT", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-t", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_t: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-t", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_t, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_t: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_t: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_t ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guint64 arg_arg_t, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodT", 1367s # g_variant_new ("(t)", 1367s # arg_arg_t), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_t_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_t_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_t_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_t: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_t_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guint64 arg_arg_t, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodT", 1367s # g_variant_new ("(t)", 1367s # arg_arg_t), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_t: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_t ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmpu8cn396d/tmpkkbuf99q.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8cn396d/tmpkkbuf99q.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # gdouble arg_arg_d, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_double (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_d", 1367s # (gchar *) "d", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodD", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-d", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_d: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-d", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_d, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_d: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_d: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_d ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gdouble arg_arg_d, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodD", 1367s # g_variant_new ("(d)", 1367s # arg_arg_d), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_d_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_d_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_d_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_d: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_d_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gdouble arg_arg_d, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodD", 1367s # g_variant_new ("(d)", 1367s # arg_arg_d), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_d: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_d ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmpu8cn396d/tmp9uuza205.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8cn396d/tmp9uuza205.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # const gchar *arg_arg_s, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_string (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_s", 1367s # (gchar *) "s", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodS", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-s", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_s: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-s", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_s, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_s: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_s: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_s ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *arg_arg_s, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodS", 1367s # g_variant_new ("(s)", 1367s # arg_arg_s), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_s_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_s_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_s_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_s: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_s_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *arg_arg_s, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodS", 1367s # g_variant_new ("(s)", 1367s # arg_arg_s), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_s: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_s ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmpu8cn396d/tmp_c741ev6.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8cn396d/tmp_c741ev6.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # const gchar *arg_arg_o, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_string (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_o", 1367s # (gchar *) "o", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodO", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-o", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_o: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-o", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_o, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_o: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_o: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_o ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *arg_arg_o, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodO", 1367s # g_variant_new ("(o)", 1367s # arg_arg_o), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_o_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_o_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_o_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_o: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_o_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *arg_arg_o, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodO", 1367s # g_variant_new ("(o)", 1367s # arg_arg_o), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_o: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_o ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmpu8cn396d/tmp26zvcxer.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8cn396d/tmp26zvcxer.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # const gchar *arg_arg_g, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_string (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_g", 1367s # (gchar *) "g", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodG", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-g", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_g: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-g", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_g, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_g: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_g: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_g ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *arg_arg_g, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodG", 1367s # g_variant_new ("(g)", 1367s # arg_arg_g), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_g_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_g_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_g_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_g: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_g_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *arg_arg_g, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodG", 1367s # g_variant_new ("(g)", 1367s # arg_arg_g), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_g: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_g ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmpu8cn396d/tmpznzgycw5.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8cn396d/tmpznzgycw5.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # GVariant *arg_arg_h, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_variant (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_h", 1367s # (gchar *) "h", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodH", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-h", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_h: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-h", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_h, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_h: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_h: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_h ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GVariant *arg_arg_h, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodH", 1367s # g_variant_new ("(@h)", 1367s # arg_arg_h), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_h_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_h_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_h_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_h: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_h_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GVariant *arg_arg_h, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodH", 1367s # g_variant_new ("(@h)", 1367s # arg_arg_h), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_h: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_h ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmpu8cn396d/tmpmi7nkhtw.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8cn396d/tmpmi7nkhtw.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # const gchar *arg_arg_ay, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_string (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_ay", 1367s # (gchar *) "ay", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodAy", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-ay", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_ay: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-ay", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_ay: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_ay: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_ay ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *arg_arg_ay, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAy", 1367s # g_variant_new ("(^ay)", 1367s # arg_arg_ay), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_ay: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *arg_arg_ay, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAy", 1367s # g_variant_new ("(^ay)", 1367s # arg_arg_ay), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_ay: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_ay ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmpu8cn396d/tmpbsy_s2zq.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8cn396d/tmpbsy_s2zq.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # const gchar *const *arg_arg_as, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_boxed (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_as", 1367s # (gchar *) "as", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodAs", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-as", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_as: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-as", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_as, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_as: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_as: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_as ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *const *arg_arg_as, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAs", 1367s # g_variant_new ("(^as)", 1367s # arg_arg_as), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_as_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_as_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_as_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_as: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_as_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *const *arg_arg_as, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAs", 1367s # g_variant_new ("(^as)", 1367s # arg_arg_as), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_as: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_as ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmpu8cn396d/tmpxf0tc54w.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8cn396d/tmpxf0tc54w.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # const gchar *const *arg_arg_ao, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_boxed (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_ao", 1367s # (gchar *) "ao", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodAo", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-ao", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_ao: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-ao", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_ao: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_ao: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_ao ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *const *arg_arg_ao, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAo", 1367s # g_variant_new ("(^ao)", 1367s # arg_arg_ao), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_ao: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *const *arg_arg_ao, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAo", 1367s # g_variant_new ("(^ao)", 1367s # arg_arg_ao), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_ao: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_ao ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmpu8cn396d/tmpkv7cvnx_.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8cn396d/tmpkv7cvnx_.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # const gchar *const *arg_arg_aay, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_boxed (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_aay", 1367s # (gchar *) "aay", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodAay", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-aay", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_aay: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-aay", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_aay: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_aay: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_aay ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *const *arg_arg_aay, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAay", 1367s # g_variant_new ("(^aay)", 1367s # arg_arg_aay), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_aay: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # const gchar *const *arg_arg_aay, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAay", 1367s # g_variant_new ("(^aay)", 1367s # arg_arg_aay), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_aay: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_aay ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmpu8cn396d/tmpnc8kt8w_.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8cn396d/tmpnc8kt8w_.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # GVariant *arg_arg_asv, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 3); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # g_marshal_value_peek_variant (param_values + 2), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_asv", 1367s # (gchar *) "a{sv}", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodAsv", 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-asv", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * @arg_arg_asv: Argument passed by remote caller. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-asv", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1367s # G_TYPE_BOOLEAN, 1367s # 2, 1367s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_asv: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_asv: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_asv ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GVariant *arg_arg_asv, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAsv", 1367s # g_variant_new ("(@a{sv})", 1367s # arg_arg_asv), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @arg_arg_asv: Argument to pass with the method invocation. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GVariant *arg_arg_asv, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAsv", 1367s # g_variant_new ("(@a{sv})", 1367s # arg_arg_asv), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "()"); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_asv: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_asv ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("()")); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # Executing: glib/codegen.py.test 1367s ok 17 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1367s # gdbus-codegen: /usr/bin/gdbus-codegen 1367s # tmpdir: /tmp/tmps161vwk2 1367s # /tmp/tmps161vwk2/tmp_5fk39ha.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps161vwk2/tmp_5fk39ha.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 2); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_b", 1367s # (gchar *) "b", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodB", 1367s # NULL, 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-b", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-b", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_b, 1367s # G_TYPE_BOOLEAN, 1367s # 1, 1367s # G_TYPE_DBUS_METHOD_INVOCATION); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_b: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_b ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodB", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_b_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_b_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gboolean* out_arg_b, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(b)", 1367s # out_arg_b); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_b_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_b_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gboolean* out_arg_b, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodB", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(b)", 1367s # out_arg_b); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_b: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * @arg_b: Parameter to return. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_b ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation, 1367s # gboolean arg_b) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("(b)", 1367s # arg_b)); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmps161vwk2/tmp_0lm0_t3.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps161vwk2/tmp_0lm0_t3.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 2); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_y", 1367s # (gchar *) "y", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodY", 1367s # NULL, 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-y", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-y", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_y, 1367s # G_TYPE_BOOLEAN, 1367s # 1, 1367s # G_TYPE_DBUS_METHOD_INVOCATION); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_y: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_y ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodY", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_y_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_y_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guchar* out_arg_y, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(y)", 1367s # out_arg_y); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_y_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_y_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guchar* out_arg_y, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodY", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(y)", 1367s # out_arg_y); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_y: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * @arg_y: Parameter to return. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_y ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation, 1367s # guchar arg_y) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("(y)", 1367s # arg_y)); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmps161vwk2/tmp7oq7bo98.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps161vwk2/tmp7oq7bo98.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 2); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_n", 1367s # (gchar *) "n", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodN", 1367s # NULL, 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-n", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-n", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_n, 1367s # G_TYPE_BOOLEAN, 1367s # 1, 1367s # G_TYPE_DBUS_METHOD_INVOCATION); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_n: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_n ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodN", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_n_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_n_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gint16* out_arg_n, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(n)", 1367s # out_arg_n); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_n_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_n_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gint16* out_arg_n, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodN", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(n)", 1367s # out_arg_n); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_n: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * @arg_n: Parameter to return. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_n ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation, 1367s # gint16 arg_n) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("(n)", 1367s # arg_n)); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmps161vwk2/tmpi0kc___r.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps161vwk2/tmpi0kc___r.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 2); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_q", 1367s # (gchar *) "q", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodQ", 1367s # NULL, 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-q", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-q", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_q, 1367s # G_TYPE_BOOLEAN, 1367s # 1, 1367s # G_TYPE_DBUS_METHOD_INVOCATION); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_q: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_q ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodQ", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_q_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_q_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guint16* out_arg_q, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(q)", 1367s # out_arg_q); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_q_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_q_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guint16* out_arg_q, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodQ", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(q)", 1367s # out_arg_q); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_q: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * @arg_q: Parameter to return. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_q ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation, 1367s # guint16 arg_q) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("(q)", 1367s # arg_q)); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmps161vwk2/tmph_i21n1y.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps161vwk2/tmph_i21n1y.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 2); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_i", 1367s # (gchar *) "i", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodI", 1367s # NULL, 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-i", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-i", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_i, 1367s # G_TYPE_BOOLEAN, 1367s # 1, 1367s # G_TYPE_DBUS_METHOD_INVOCATION); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_i: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_i ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodI", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_i_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_i_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gint* out_arg_i, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(i)", 1367s # out_arg_i); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_i_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_i_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gint* out_arg_i, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodI", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(i)", 1367s # out_arg_i); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_i: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * @arg_i: Parameter to return. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_i ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation, 1367s # gint arg_i) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("(i)", 1367s # arg_i)); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmps161vwk2/tmp2f9_b57g.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps161vwk2/tmp2f9_b57g.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 2); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_u", 1367s # (gchar *) "u", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodU", 1367s # NULL, 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-u", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-u", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_u, 1367s # G_TYPE_BOOLEAN, 1367s # 1, 1367s # G_TYPE_DBUS_METHOD_INVOCATION); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_u: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_u ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodU", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_u_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_u_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guint* out_arg_u, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(u)", 1367s # out_arg_u); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_u_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_u_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guint* out_arg_u, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodU", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(u)", 1367s # out_arg_u); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_u: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * @arg_u: Parameter to return. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_u ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation, 1367s # guint arg_u) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("(u)", 1367s # arg_u)); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmps161vwk2/tmps7qv5fab.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps161vwk2/tmps7qv5fab.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 2); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_x", 1367s # (gchar *) "x", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodX", 1367s # NULL, 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-x", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-x", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_x, 1367s # G_TYPE_BOOLEAN, 1367s # 1, 1367s # G_TYPE_DBUS_METHOD_INVOCATION); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_x: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_x ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodX", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_x_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_x_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gint64* out_arg_x, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(x)", 1367s # out_arg_x); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_x_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_x_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gint64* out_arg_x, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodX", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(x)", 1367s # out_arg_x); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_x: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * @arg_x: Parameter to return. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_x ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation, 1367s # gint64 arg_x) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("(x)", 1367s # arg_x)); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmps161vwk2/tmpax22___y.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps161vwk2/tmpax22___y.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 2); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_t", 1367s # (gchar *) "t", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodT", 1367s # NULL, 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-t", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-t", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_t, 1367s # G_TYPE_BOOLEAN, 1367s # 1, 1367s # G_TYPE_DBUS_METHOD_INVOCATION); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_t: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_t ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodT", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_t_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_t_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guint64* out_arg_t, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(t)", 1367s # out_arg_t); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_t_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_t_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # guint64* out_arg_t, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodT", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(t)", 1367s # out_arg_t); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_t: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * @arg_t: Parameter to return. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_t ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation, 1367s # guint64 arg_t) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("(t)", 1367s # arg_t)); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmps161vwk2/tmpckmot1sz.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps161vwk2/tmpckmot1sz.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 2); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_d", 1367s # (gchar *) "d", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodD", 1367s # NULL, 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-d", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-d", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_d, 1367s # G_TYPE_BOOLEAN, 1367s # 1, 1367s # G_TYPE_DBUS_METHOD_INVOCATION); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_d: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_d ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodD", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_d_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_d_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gdouble* out_arg_d, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(d)", 1367s # out_arg_d); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_d_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_d_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gdouble* out_arg_d, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodD", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(d)", 1367s # out_arg_d); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_d: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * @arg_d: Parameter to return. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_d ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation, 1367s # gdouble arg_d) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("(d)", 1367s # arg_d)); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmps161vwk2/tmppc0u9758.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps161vwk2/tmppc0u9758.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 2); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_s", 1367s # (gchar *) "s", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodS", 1367s # NULL, 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-s", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-s", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_s, 1367s # G_TYPE_BOOLEAN, 1367s # 1, 1367s # G_TYPE_DBUS_METHOD_INVOCATION); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_s: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_s ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodS", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_s_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_s_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gchar ** out_arg_s, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(s)", 1367s # out_arg_s); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_s_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_s_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gchar ** out_arg_s, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodS", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(s)", 1367s # out_arg_s); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_s: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * @arg_s: Parameter to return. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_s ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation, 1367s # const gchar *arg_s) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("(s)", 1367s # arg_s)); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmps161vwk2/tmp599k82_m.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps161vwk2/tmp599k82_m.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 2); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_o", 1367s # (gchar *) "o", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodO", 1367s # NULL, 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-o", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-o", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_o, 1367s # G_TYPE_BOOLEAN, 1367s # 1, 1367s # G_TYPE_DBUS_METHOD_INVOCATION); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_o: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_o ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodO", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_o_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_o_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gchar ** out_arg_o, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(o)", 1367s # out_arg_o); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_o_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_o_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gchar ** out_arg_o, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodO", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(o)", 1367s # out_arg_o); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_o: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * @arg_o: Parameter to return. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_o ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation, 1367s # const gchar *arg_o) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("(o)", 1367s # arg_o)); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmps161vwk2/tmpq31ihmvr.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps161vwk2/tmpq31ihmvr.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 2); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_g", 1367s # (gchar *) "g", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodG", 1367s # NULL, 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-g", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-g", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_g, 1367s # G_TYPE_BOOLEAN, 1367s # 1, 1367s # G_TYPE_DBUS_METHOD_INVOCATION); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_g: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_g ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodG", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_g_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_g_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gchar ** out_arg_g, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(g)", 1367s # out_arg_g); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_g_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_g_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gchar ** out_arg_g, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodG", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(g)", 1367s # out_arg_g); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_g: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * @arg_g: Parameter to return. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_g ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation, 1367s # const gchar *arg_g) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("(g)", 1367s # arg_g)); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmps161vwk2/tmp5fikyyf7.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps161vwk2/tmp5fikyyf7.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 2); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_h", 1367s # (gchar *) "h", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodH", 1367s # NULL, 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-h", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-h", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_h, 1367s # G_TYPE_BOOLEAN, 1367s # 1, 1367s # G_TYPE_DBUS_METHOD_INVOCATION); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_h: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_h ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodH", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_h_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_h_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GVariant ** out_arg_h, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(@h)", 1367s # out_arg_h); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_h_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_h_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GVariant ** out_arg_h, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodH", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(@h)", 1367s # out_arg_h); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_h: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * @arg_h: Parameter to return. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_h ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation, 1367s # GVariant *arg_h) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("(@h)", 1367s # arg_h)); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmps161vwk2/tmp26fermfb.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps161vwk2/tmp26fermfb.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 2); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_ay", 1367s # (gchar *) "ay", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodAy", 1367s # NULL, 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-ay", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-ay", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1367s # G_TYPE_BOOLEAN, 1367s # 1, 1367s # G_TYPE_DBUS_METHOD_INVOCATION); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_ay: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_ay ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAy", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gchar ** out_arg_ay, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(^ay)", 1367s # out_arg_ay); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gchar ** out_arg_ay, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAy", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(^ay)", 1367s # out_arg_ay); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_ay: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * @arg_ay: Parameter to return. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_ay ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation, 1367s # const gchar *arg_ay) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("(^ay)", 1367s # arg_ay)); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_sync ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeleton: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceSkeletonClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1367s # { 1367s # GValue *properties; 1367s # GList *changed_properties; 1367s # GSource *changed_properties_idle_source; 1367s # GMainContext *context; 1367s # GMutex lock; 1367s # }; 1367s # 1367s # static void 1367s # _org_project_useful_interface_skeleton_handle_method_call ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name, 1367s # const gchar *method_name, 1367s # GVariant *parameters, 1367s # GDBusMethodInvocation *invocation, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # _ExtendedGDBusMethodInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # guint num_extra; 1367s # gsize n; 1367s # guint signal_id; 1367s # GValue return_value = G_VALUE_INIT; 1367s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1367s # g_assert (info != NULL); 1367s # num_params = g_variant_n_children (parameters); 1367s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1367s # n = 0; 1367s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[n++], skeleton); 1367s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1367s # g_value_set_object (¶mv[n++], invocation); 1367s # if (info->pass_fdlist) 1367s # { 1367s # #ifdef G_OS_UNIX 1367s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1367s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1367s # #else 1367s # g_assert_not_reached (); 1367s # #endif 1367s # } 1367s # g_variant_iter_init (&iter, parameters); 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1367s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1367s # if (!g_value_get_boolean (&return_value)) 1367s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1367s # g_value_unset (&return_value); 1367s # for (n = 0; n < num_params + num_extra; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static GVariant * 1367s # _org_project_useful_interface_skeleton_handle_get_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # GVariant *ret; 1367s # ret = NULL; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # g_value_init (&value, pspec->value_type); 1367s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1367s # g_value_unset (&value); 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _org_project_useful_interface_skeleton_handle_set_property ( 1367s # GDBusConnection *connection G_GNUC_UNUSED, 1367s # const gchar *sender G_GNUC_UNUSED, 1367s # const gchar *object_path G_GNUC_UNUSED, 1367s # const gchar *interface_name G_GNUC_UNUSED, 1367s # const gchar *property_name, 1367s # GVariant *variant, 1367s # GError **error, 1367s # gpointer user_data) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1367s # GValue value = G_VALUE_INIT; 1367s # GParamSpec *pspec; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # gboolean ret; 1367s # ret = FALSE; 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1367s # g_assert (info != NULL); 1367s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1367s # if (pspec == NULL) 1367s # { 1367s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1367s # } 1367s # else 1367s # { 1367s # if (info->use_gvariant) 1367s # g_value_set_variant (&value, variant); 1367s # else 1367s # g_dbus_gvariant_to_gvalue (variant, &value); 1367s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1367s # g_value_unset (&value); 1367s # ret = TRUE; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1367s # { 1367s # _org_project_useful_interface_skeleton_handle_method_call, 1367s # _org_project_useful_interface_skeleton_handle_get_property, 1367s # _org_project_useful_interface_skeleton_handle_set_property, 1367s # {NULL} 1367s # }; 1367s # 1367s # static GDBusInterfaceInfo * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return org_project_useful_interface_interface_info (); 1367s # } 1367s # 1367s # static GDBusInterfaceVTable * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1367s # { 1367s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1367s # } 1367s # 1367s # static GVariant * 1367s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1367s # 1367s # GVariantBuilder builder; 1367s # guint n; 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1367s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #else 1367s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1367s # #endif 1367s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1367s # goto out; 1367s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1367s # { 1367s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1367s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1367s # { 1367s # GVariant *value; 1367s # 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); 1367s # if (value != NULL) 1367s # { 1367s # g_variant_take_ref (value); 1367s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1367s # g_variant_unref (value); 1367s # } 1367s # } 1367s # } 1367s # out: 1367s # return g_variant_builder_end (&builder); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_skeleton_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1367s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # /* coverity[missing_lock : SUPPRESS] */ 1367s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1367s # #else 1367s # if (skeleton->priv->changed_properties_idle_source != NULL) 1367s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1367s # skeleton->priv->changed_properties_idle_source = NULL; 1367s # #endif 1367s # g_main_context_unref (skeleton->priv->context); 1367s # g_mutex_clear (&skeleton->priv->lock); 1367s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1367s # #else 1367s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1367s # #endif 1367s # 1367s # g_mutex_init (&skeleton->priv->lock); 1367s # skeleton->priv->context = g_main_context_ref_thread_default (); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusInterfaceSkeletonClass *skeleton_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1367s # 1367s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1367s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1367s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1367s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1367s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_skeleton_new: 1367s # * 1367s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_skeleton_new (void) 1367s # { 1367s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1367s # } 1367s # Error: 1367s # 1367s # /tmp/tmps161vwk2/tmpn8b8bamj.xml: 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # 1367s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps161vwk2/tmpn8b8bamj.xml', '--output', '-', '--body'] 1367s # Return code: 0 1367s # Output: 1367s # /* 1367s # * This file is generated by gdbus-codegen, do not modify it. 1367s # * 1367s # * The license of this code is the same as for the D-Bus interface description 1367s # * it was derived from. Note that it links to GLib, so must comply with the 1367s # * LGPL linking clauses. 1367s # */ 1367s # 1367s # #ifdef HAVE_CONFIG_H 1367s # # include "config.h" 1367s # #endif 1367s # 1367s # #include 1367s # #ifdef G_OS_UNIX 1367s # # include 1367s # #endif 1367s # 1367s # #ifdef G_ENABLE_DEBUG 1367s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1367s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1367s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1367s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1367s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1367s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1367s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1367s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1367s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1367s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1367s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1367s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1367s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1367s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1367s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1367s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1367s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1367s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1367s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1367s # #else /* !G_ENABLE_DEBUG */ 1367s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1367s # * Do not access GValues directly in your code. Instead, use the 1367s # * g_value_get_*() functions 1367s # */ 1367s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1367s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1367s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1367s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1367s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1367s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1367s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1367s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1367s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1367s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1367s # #endif /* !G_ENABLE_DEBUG */ 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusArgInfo parent_struct; 1367s # gboolean use_gvariant; 1367s # } _ExtendedGDBusArgInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusMethodInfo parent_struct; 1367s # const gchar *signal_name; 1367s # gboolean pass_fdlist; 1367s # } _ExtendedGDBusMethodInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusSignalInfo parent_struct; 1367s # const gchar *signal_name; 1367s # } _ExtendedGDBusSignalInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusPropertyInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # guint use_gvariant : 1; 1367s # guint emits_changed_signal : 1; 1367s # } _ExtendedGDBusPropertyInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # GDBusInterfaceInfo parent_struct; 1367s # const gchar *hyphen_name; 1367s # } _ExtendedGDBusInterfaceInfo; 1367s # 1367s # typedef struct 1367s # { 1367s # const _ExtendedGDBusPropertyInfo *info; 1367s # guint prop_id; 1367s # GValue orig_value; /* the value before the change */ 1367s # } ChangedProperty; 1367s # 1367s # static void 1367s # _changed_property_free (ChangedProperty *data) 1367s # { 1367s # g_value_unset (&data->orig_value); 1367s # g_free (data); 1367s # } 1367s # 1367s # static gboolean 1367s # _g_strv_equal0 (gchar **a, gchar **b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # guint n; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # if (g_strv_length (a) != g_strv_length (b)) 1367s # goto out; 1367s # for (n = 0; a[n] != NULL; n++) 1367s # if (g_strcmp0 (a[n], b[n]) != 0) 1367s # goto out; 1367s # ret = TRUE; 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # static gboolean 1367s # _g_variant_equal0 (GVariant *a, GVariant *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # if (a == NULL && b == NULL) 1367s # { 1367s # ret = TRUE; 1367s # goto out; 1367s # } 1367s # if (a == NULL || b == NULL) 1367s # goto out; 1367s # ret = g_variant_equal (a, b); 1367s # out: 1367s # return ret; 1367s # } 1367s # 1367s # G_GNUC_UNUSED static gboolean 1367s # _g_value_equal (const GValue *a, const GValue *b) 1367s # { 1367s # gboolean ret = FALSE; 1367s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1367s # switch (G_VALUE_TYPE (a)) 1367s # { 1367s # case G_TYPE_BOOLEAN: 1367s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1367s # break; 1367s # case G_TYPE_UCHAR: 1367s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1367s # break; 1367s # case G_TYPE_INT: 1367s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1367s # break; 1367s # case G_TYPE_UINT: 1367s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1367s # break; 1367s # case G_TYPE_INT64: 1367s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1367s # break; 1367s # case G_TYPE_UINT64: 1367s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1367s # break; 1367s # case G_TYPE_DOUBLE: 1367s # { 1367s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1367s # gdouble da = g_value_get_double (a); 1367s # gdouble db = g_value_get_double (b); 1367s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1367s # } 1367s # break; 1367s # case G_TYPE_STRING: 1367s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1367s # break; 1367s # case G_TYPE_VARIANT: 1367s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1367s # break; 1367s # default: 1367s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1367s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1367s # else 1367s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1367s # break; 1367s # } 1367s # return ret; 1367s # } 1367s # 1367s # static void 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint G_GNUC_UNUSED, 1367s # void *marshal_data) 1367s # { 1367s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (void *data1, 1367s # GDBusMethodInvocation *arg_method_invocation, 1367s # void *data2); 1367s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1367s # GCClosure *cc = (GCClosure*) closure; 1367s # void *data1, *data2; 1367s # gboolean v_return; 1367s # 1367s # g_return_if_fail (return_value != NULL); 1367s # g_return_if_fail (n_param_values == 2); 1367s # 1367s # if (G_CCLOSURE_SWAP_DATA (closure)) 1367s # { 1367s # data1 = closure->data; 1367s # data2 = g_value_peek_pointer (param_values + 0); 1367s # } 1367s # else 1367s # { 1367s # data1 = g_value_peek_pointer (param_values + 0); 1367s # data2 = closure->data; 1367s # } 1367s # 1367s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1367s # (marshal_data ? marshal_data : cc->callback); 1367s # 1367s # v_return = 1367s # callback (data1, 1367s # g_marshal_value_peek_object (param_values + 1), 1367s # data2); 1367s # 1367s # g_value_set_boolean (return_value, v_return); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ 1367s # * Code for interface org.project.UsefulInterface 1367s # * ------------------------------------------------------------------------ 1367s # */ 1367s # 1367s # /** 1367s # * SECTION:OrgProjectUsefulInterface 1367s # * @title: OrgProjectUsefulInterface 1367s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1367s # * 1367s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1367s # */ 1367s # 1367s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1367s # 1367s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "arg_as", 1367s # (gchar *) "as", 1367s # NULL 1367s # }, 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "SingleArgMethodAs", 1367s # NULL, 1367s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1367s # NULL 1367s # }, 1367s # "handle-single-arg-method-as", 1367s # FALSE 1367s # }; 1367s # 1367s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1367s # { 1367s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1367s # NULL 1367s # }; 1367s # 1367s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1367s # { 1367s # { 1367s # -1, 1367s # (gchar *) "org.project.UsefulInterface", 1367s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1367s # NULL, 1367s # NULL, 1367s # NULL 1367s # }, 1367s # "org-project-useful-interface", 1367s # }; 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_interface_info: 1367s # * 1367s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1367s # * 1367s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1367s # */ 1367s # GDBusInterfaceInfo * 1367s # org_project_useful_interface_interface_info (void) 1367s # { 1367s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_override_properties: 1367s # * @klass: The class structure for a #GObject derived class. 1367s # * @property_id_begin: The property id to assign to the first overridden property. 1367s # * 1367s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1367s # * The properties are overridden in the order they are defined. 1367s # * 1367s # * Returns: The last property id. 1367s # */ 1367s # guint 1367s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1367s # { 1367s # return property_id_begin - 1; 1367s # } 1367s # 1367s # 1367s # inline static void 1367s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1367s # GClosure *closure, 1367s # GValue *return_value, 1367s # unsigned int n_param_values, 1367s # const GValue *param_values, 1367s # void *invocation_hint, 1367s # void *marshal_data) 1367s # { 1367s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1367s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1367s # } 1367s # 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterface: 1367s # * 1367s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceIface: 1367s # * @parent_iface: The parent interface. 1367s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1367s # * 1367s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1367s # */ 1367s # 1367s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1367s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1367s # 1367s # static void 1367s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1367s # { 1367s # /* GObject signals for incoming D-Bus method calls: */ 1367s # /** 1367s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: A #GDBusMethodInvocation. 1367s # * 1367s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1367s # * 1367s # * 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. 1367s # * 1367s # * 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. 1367s # */ 1367s # g_signal_new ("handle-single-arg-method-as", 1367s # G_TYPE_FROM_INTERFACE (iface), 1367s # G_SIGNAL_RUN_LAST, 1367s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1367s # g_signal_accumulator_true_handled, 1367s # NULL, 1367s # org_project_useful_interface_method_marshal_single_arg_method_as, 1367s # G_TYPE_BOOLEAN, 1367s # 1, 1367s # G_TYPE_DBUS_METHOD_INVOCATION); 1367s # 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_as: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1367s # */ 1367s # void 1367s # org_project_useful_interface_call_single_arg_method_as ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAs", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # callback, 1367s # user_data); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_as_finish: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_as_finish ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gchar *** out_arg_as, 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(^as)", 1367s # out_arg_as); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_call_single_arg_method_as_sync: 1367s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1367s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL. 1367s # * 1367s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1367s # * 1367s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1367s # */ 1367s # gboolean 1367s # org_project_useful_interface_call_single_arg_method_as_sync ( 1367s # OrgProjectUsefulInterface *proxy, 1367s # gchar *** out_arg_as, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GVariant *_ret; 1367s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1367s # "SingleArgMethodAs", 1367s # g_variant_new ("()"), 1367s # G_DBUS_CALL_FLAGS_NONE, 1367s # -1, 1367s # cancellable, 1367s # error); 1367s # if (_ret == NULL) 1367s # goto _out; 1367s # g_variant_get (_ret, 1367s # "(^as)", 1367s # out_arg_as); 1367s # g_variant_unref (_ret); 1367s # _out: 1367s # return _ret != NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_complete_single_arg_method_as: 1367s # * @object: A #OrgProjectUsefulInterface. 1367s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1367s # * @arg_as: Parameter to return. 1367s # * 1367s # * 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. 1367s # * 1367s # * This method will free @invocation, you cannot use it afterwards. 1367s # */ 1367s # void 1367s # org_project_useful_interface_complete_single_arg_method_as ( 1367s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1367s # GDBusMethodInvocation *invocation, 1367s # const gchar *const *arg_as) 1367s # { 1367s # g_dbus_method_invocation_return_value (invocation, 1367s # g_variant_new ("(^as)", 1367s # arg_as)); 1367s # } 1367s # 1367s # /* ------------------------------------------------------------------------ */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxy: 1367s # * 1367s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1367s # */ 1367s # 1367s # /** 1367s # * OrgProjectUsefulInterfaceProxyClass: 1367s # * @parent_class: The parent class. 1367s # * 1367s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1367s # */ 1367s # 1367s # struct _OrgProjectUsefulInterfaceProxyPrivate 1367s # { 1367s # GData *qdata; 1367s # }; 1367s # 1367s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #else 1367s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1367s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1367s # 1367s # #endif 1367s # static void 1367s # org_project_useful_interface_proxy_finalize (GObject *object) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1367s # g_datalist_clear (&proxy->priv->qdata); 1367s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1367s # guint prop_id G_GNUC_UNUSED, 1367s # const GValue *value G_GNUC_UNUSED, 1367s # GParamSpec *pspec G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1367s # const gchar *sender_name G_GNUC_UNUSED, 1367s # const gchar *signal_name, 1367s # GVariant *parameters) 1367s # { 1367s # _ExtendedGDBusSignalInfo *info; 1367s # GVariantIter iter; 1367s # GVariant *child; 1367s # GValue *paramv; 1367s # gsize num_params; 1367s # gsize n; 1367s # guint signal_id; 1367s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1367s # if (info == NULL) 1367s # return; 1367s # num_params = g_variant_n_children (parameters); 1367s # paramv = g_new0 (GValue, num_params + 1); 1367s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_value_set_object (¶mv[0], proxy); 1367s # g_variant_iter_init (&iter, parameters); 1367s # n = 1; 1367s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1367s # { 1367s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1367s # if (arg_info->use_gvariant) 1367s # { 1367s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1367s # g_value_set_variant (¶mv[n], child); 1367s # n++; 1367s # } 1367s # else 1367s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1367s # g_variant_unref (child); 1367s # } 1367s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1367s # g_signal_emitv (paramv, signal_id, 0, NULL); 1367s # for (n = 0; n < num_params + 1; n++) 1367s # g_value_unset (¶mv[n]); 1367s # g_free (paramv); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1367s # GVariant *changed_properties, 1367s # const gchar *const *invalidated_properties) 1367s # { 1367s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1367s # guint n; 1367s # const gchar *key; 1367s # GVariantIter *iter; 1367s # _ExtendedGDBusPropertyInfo *info; 1367s # g_variant_get (changed_properties, "a{sv}", &iter); 1367s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1367s # g_datalist_remove_data (&proxy->priv->qdata, key); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # g_variant_iter_free (iter); 1367s # for (n = 0; invalidated_properties[n] != NULL; n++) 1367s # { 1367s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1367s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1367s # if (info != NULL) 1367s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1367s # } 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1367s # { 1367s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1367s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1367s # #else 1367s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1367s # #endif 1367s # 1367s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1367s # { 1367s # GObjectClass *gobject_class; 1367s # GDBusProxyClass *proxy_class; 1367s # 1367s # gobject_class = G_OBJECT_CLASS (klass); 1367s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1367s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1367s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1367s # 1367s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1367s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1367s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1367s # 1367s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1367s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1367s # #endif 1367s # } 1367s # 1367s # static void 1367s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1367s # { 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_sync: 1367s # * @connection: A #GDBusConnection. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1367s # * 1367s # * The calling thread is blocked until a reply is received. 1367s # * 1367s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_sync ( 1367s # GDBusConnection *connection, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GError **error) 1367s # { 1367s # GInitable *ret; 1367s # 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); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus: 1367s # * @bus_type: A #GBusType. 1367s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1367s # * @name: A bus name (well-known or unique). 1367s # * @object_path: An object path. 1367s # * @cancellable: (nullable): A #GCancellable or %NULL. 1367s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1367s # * @user_data: User data to pass to @callback. 1367s # * 1367s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1367s # * 1367s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1367s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1367s # * 1367s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1367s # */ 1367s # void 1367s # org_project_useful_interface_proxy_new_for_bus ( 1367s # GBusType bus_type, 1367s # GDBusProxyFlags flags, 1367s # const gchar *name, 1367s # const gchar *object_path, 1367s # GCancellable *cancellable, 1367s # GAsyncReadyCallback callback, 1367s # gpointer user_data) 1367s # { 1367s # g_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); 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_finish: 1367s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1367s # * @error: Return location for error or %NULL 1367s # * 1367s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1367s # * 1367s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1367s # */ 1367s # OrgProjectUsefulInterface * 1367s # org_project_useful_interface_proxy_new_for_bus_finish ( 1367s # GAsyncResult *res, 1367s # GError **error) 1367s # { 1367s # GObject *ret; 1367s # GObject *source_object; 1367s # source_object = g_async_result_get_source_object (res); 1367s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1367s # g_object_unref (source_object); 1367s # if (ret != NULL) 1367s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1367s # else 1367s # return NULL; 1367s # } 1367s # 1367s # /** 1367s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1368s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #else 1368s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #endif 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # /* coverity[missing_lock : SUPPRESS] */ 1368s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1368s # #else 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # skeleton->priv->changed_properties_idle_source = NULL; 1368s # #endif 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # Error: 1368s # 1368s # /tmp/tmps161vwk2/tmpx785l6pb.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps161vwk2/tmpx785l6pb.xml', '--output', '-', '--body'] 1368s # Return code: 0 1368s # Output: 1368s # /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_ao", 1368s # (gchar *) "ao", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodAo", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-ao", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-ao", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_ao: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_ao ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodAo", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gchar *** out_arg_ao, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(^ao)", 1368s # out_arg_ao); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gchar *** out_arg_ao, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodAo", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(^ao)", 1368s # out_arg_ao); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_ao: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_ao: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_ao ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # const gchar *const *arg_ao) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(^ao)", 1368s # arg_ao)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1368s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #else 1368s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #endif 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # /* coverity[missing_lock : SUPPRESS] */ 1368s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1368s # #else 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # skeleton->priv->changed_properties_idle_source = NULL; 1368s # #endif 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # Error: 1368s # 1368s # /tmp/tmps161vwk2/tmp7lgqv_ku.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps161vwk2/tmp7lgqv_ku.xml', '--output', '-', '--body'] 1368s # Return code: 0 1368s # Output: 1368s # /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_aay", 1368s # (gchar *) "aay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodAay", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-aay", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-aay", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_aay: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_aay ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodAay", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gchar *** out_arg_aay, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(^aay)", 1368s # out_arg_aay); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # gchar *** out_arg_aay, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodAay", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(^aay)", 1368s # out_arg_aay); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_aay: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_aay: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_aay ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # const gchar *const *arg_aay) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(^aay)", 1368s # arg_aay)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1368s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #else 1368s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #endif 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # /* coverity[missing_lock : SUPPRESS] */ 1368s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1368s # #else 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # skeleton->priv->changed_properties_idle_source = NULL; 1368s # #endif 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # Error: 1368s # 1368s # /tmp/tmps161vwk2/tmp7sjlwui1.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps161vwk2/tmp7sjlwui1.xml', '--output', '-', '--body'] 1368s # Return code: 0 1368s # Output: 1368s # /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_asv", 1368s # (gchar *) "a{sv}", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgMethodAsv", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-single-arg-method-asv", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-single-arg-method-asv", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_asv: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_useful_interface_call_single_arg_method_asv ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodAsv", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GVariant ** out_arg_asv, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(@a{sv})", 1368s # out_arg_asv); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1368s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1368s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1368s # OrgProjectUsefulInterface *proxy, 1368s # GVariant ** out_arg_asv, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SingleArgMethodAsv", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(@a{sv})", 1368s # out_arg_asv); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_complete_single_arg_method_asv: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @arg_asv: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_useful_interface_complete_single_arg_method_asv ( 1368s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # GVariant *arg_asv) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(@a{sv})", 1368s # arg_asv)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1368s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #else 1368s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #endif 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # /* coverity[missing_lock : SUPPRESS] */ 1368s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1368s # #else 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # skeleton->priv->changed_properties_idle_source = NULL; 1368s # #endif 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # Error: 1368s ok 18 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1368s # gdbus-codegen: /usr/bin/gdbus-codegen 1368s # tmpdir: /tmp/tmp0hazhoff 1368s # /tmp/tmp0hazhoff/tmpxpg461po.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hazhoff/tmpxpg461po.xml', '--output', '-', '--body'] 1368s # Return code: 0 1368s # Output: 1368s # /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 20); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # g_marshal_value_peek_boolean (param_values + 2), 1368s # g_marshal_value_peek_uchar (param_values + 3), 1368s # g_marshal_value_peek_int (param_values + 4), 1368s # g_marshal_value_peek_uint (param_values + 5), 1368s # g_marshal_value_peek_int (param_values + 6), 1368s # g_marshal_value_peek_uint (param_values + 7), 1368s # g_marshal_value_peek_int64 (param_values + 8), 1368s # g_marshal_value_peek_uint64 (param_values + 9), 1368s # g_marshal_value_peek_double (param_values + 10), 1368s # g_marshal_value_peek_string (param_values + 11), 1368s # g_marshal_value_peek_string (param_values + 12), 1368s # g_marshal_value_peek_string (param_values + 13), 1368s # g_marshal_value_peek_variant (param_values + 14), 1368s # g_marshal_value_peek_string (param_values + 15), 1368s # g_marshal_value_peek_boxed (param_values + 16), 1368s # g_marshal_value_peek_boxed (param_values + 17), 1368s # g_marshal_value_peek_boxed (param_values + 18), 1368s # g_marshal_value_peek_variant (param_values + 19), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.CallableIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectCallableIface 1368s # * @title: OrgProjectCallableIface 1368s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.CallableIface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_b", 1368s # (gchar *) "b", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_y", 1368s # (gchar *) "y", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_n", 1368s # (gchar *) "n", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_q", 1368s # (gchar *) "q", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_i", 1368s # (gchar *) "i", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_u", 1368s # (gchar *) "u", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_x", 1368s # (gchar *) "x", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_t", 1368s # (gchar *) "t", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_d", 1368s # (gchar *) "d", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_s", 1368s # (gchar *) "s", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_o", 1368s # (gchar *) "o", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_g", 1368s # (gchar *) "g", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_h", 1368s # (gchar *) "h", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ay", 1368s # (gchar *) "ay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_as", 1368s # (gchar *) "as", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ao", 1368s # (gchar *) "ao", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_aay", 1368s # (gchar *) "aay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_asv", 1368s # (gchar *) "a{sv}", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1368s # { 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "MethodWithManyArgs", 1368s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "handle-method-with-many-args", 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_b", 1368s # (gchar *) "b", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_y", 1368s # (gchar *) "y", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_n", 1368s # (gchar *) "n", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_q", 1368s # (gchar *) "q", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_i", 1368s # (gchar *) "i", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_u", 1368s # (gchar *) "u", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_x", 1368s # (gchar *) "x", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_t", 1368s # (gchar *) "t", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_d", 1368s # (gchar *) "d", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_s", 1368s # (gchar *) "s", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_o", 1368s # (gchar *) "o", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_g", 1368s # (gchar *) "g", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_h", 1368s # (gchar *) "h", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ay", 1368s # (gchar *) "ay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_as", 1368s # (gchar *) "as", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ao", 1368s # (gchar *) "ao", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_aay", 1368s # (gchar *) "aay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_asv", 1368s # (gchar *) "a{sv}", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1368s # { 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SameMethodWithManyArgs", 1368s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "handle-same-method-with-many-args", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1368s # { 1368s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1368s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.CallableIface", 1368s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-callable-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_callable_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_callable_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_callable_iface_method_marshal_method_with_many_args ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _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, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _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, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectCallableIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1368s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.CallableIface. 1368s # */ 1368s # 1368s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectCallableIface::handle-method-with-many-args: 1368s # * @object: A #OrgProjectCallableIface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * @arg_an_b: Argument passed by remote caller. 1368s # * @arg_an_y: Argument passed by remote caller. 1368s # * @arg_an_n: Argument passed by remote caller. 1368s # * @arg_an_q: Argument passed by remote caller. 1368s # * @arg_an_i: Argument passed by remote caller. 1368s # * @arg_an_u: Argument passed by remote caller. 1368s # * @arg_an_x: Argument passed by remote caller. 1368s # * @arg_an_t: Argument passed by remote caller. 1368s # * @arg_an_d: Argument passed by remote caller. 1368s # * @arg_an_s: Argument passed by remote caller. 1368s # * @arg_an_o: Argument passed by remote caller. 1368s # * @arg_an_g: Argument passed by remote caller. 1368s # * @arg_an_h: Argument passed by remote caller. 1368s # * @arg_an_ay: Argument passed by remote caller. 1368s # * @arg_an_as: Argument passed by remote caller. 1368s # * @arg_an_ao: Argument passed by remote caller. 1368s # * @arg_an_aay: Argument passed by remote caller. 1368s # * @arg_an_asv: Argument passed by remote caller. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-method-with-many-args", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_callable_iface_method_marshal_method_with_many_args, 1368s # G_TYPE_BOOLEAN, 1368s # 19, 1368s # 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); 1368s # 1368s # /** 1368s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1368s # * @object: A #OrgProjectCallableIface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * @arg_an_b: Argument passed by remote caller. 1368s # * @arg_an_y: Argument passed by remote caller. 1368s # * @arg_an_n: Argument passed by remote caller. 1368s # * @arg_an_q: Argument passed by remote caller. 1368s # * @arg_an_i: Argument passed by remote caller. 1368s # * @arg_an_u: Argument passed by remote caller. 1368s # * @arg_an_x: Argument passed by remote caller. 1368s # * @arg_an_t: Argument passed by remote caller. 1368s # * @arg_an_d: Argument passed by remote caller. 1368s # * @arg_an_s: Argument passed by remote caller. 1368s # * @arg_an_o: Argument passed by remote caller. 1368s # * @arg_an_g: Argument passed by remote caller. 1368s # * @arg_an_h: Argument passed by remote caller. 1368s # * @arg_an_ay: Argument passed by remote caller. 1368s # * @arg_an_as: Argument passed by remote caller. 1368s # * @arg_an_ao: Argument passed by remote caller. 1368s # * @arg_an_aay: Argument passed by remote caller. 1368s # * @arg_an_asv: Argument passed by remote caller. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-same-method-with-many-args", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1368s # G_TYPE_BOOLEAN, 1368s # 19, 1368s # 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); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_call_method_with_many_args: 1368s # * @proxy: A #OrgProjectCallableIfaceProxy. 1368s # * @arg_an_b: Argument to pass with the method invocation. 1368s # * @arg_an_y: Argument to pass with the method invocation. 1368s # * @arg_an_n: Argument to pass with the method invocation. 1368s # * @arg_an_q: Argument to pass with the method invocation. 1368s # * @arg_an_i: Argument to pass with the method invocation. 1368s # * @arg_an_u: Argument to pass with the method invocation. 1368s # * @arg_an_x: Argument to pass with the method invocation. 1368s # * @arg_an_t: Argument to pass with the method invocation. 1368s # * @arg_an_d: Argument to pass with the method invocation. 1368s # * @arg_an_s: Argument to pass with the method invocation. 1368s # * @arg_an_o: Argument to pass with the method invocation. 1368s # * @arg_an_g: Argument to pass with the method invocation. 1368s # * @arg_an_h: Argument to pass with the method invocation. 1368s # * @arg_an_ay: Argument to pass with the method invocation. 1368s # * @arg_an_as: Argument to pass with the method invocation. 1368s # * @arg_an_ao: Argument to pass with the method invocation. 1368s # * @arg_an_aay: Argument to pass with the method invocation. 1368s # * @arg_an_asv: Argument to pass with the method invocation. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_callable_iface_call_method_with_many_args ( 1368s # OrgProjectCallableIface *proxy, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "MethodWithManyArgs", 1368s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # arg_an_b, 1368s # arg_an_y, 1368s # arg_an_n, 1368s # arg_an_q, 1368s # arg_an_i, 1368s # arg_an_u, 1368s # arg_an_x, 1368s # arg_an_t, 1368s # arg_an_d, 1368s # arg_an_s, 1368s # arg_an_o, 1368s # arg_an_g, 1368s # arg_an_h, 1368s # arg_an_ay, 1368s # arg_an_as, 1368s # arg_an_ao, 1368s # arg_an_aay, 1368s # arg_an_asv), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_call_method_with_many_args_finish: 1368s # * @proxy: A #OrgProjectCallableIfaceProxy. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_callable_iface_call_method_with_many_args_finish ( 1368s # OrgProjectCallableIface *proxy, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "()"); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_call_method_with_many_args_sync: 1368s # * @proxy: A #OrgProjectCallableIfaceProxy. 1368s # * @arg_an_b: Argument to pass with the method invocation. 1368s # * @arg_an_y: Argument to pass with the method invocation. 1368s # * @arg_an_n: Argument to pass with the method invocation. 1368s # * @arg_an_q: Argument to pass with the method invocation. 1368s # * @arg_an_i: Argument to pass with the method invocation. 1368s # * @arg_an_u: Argument to pass with the method invocation. 1368s # * @arg_an_x: Argument to pass with the method invocation. 1368s # * @arg_an_t: Argument to pass with the method invocation. 1368s # * @arg_an_d: Argument to pass with the method invocation. 1368s # * @arg_an_s: Argument to pass with the method invocation. 1368s # * @arg_an_o: Argument to pass with the method invocation. 1368s # * @arg_an_g: Argument to pass with the method invocation. 1368s # * @arg_an_h: Argument to pass with the method invocation. 1368s # * @arg_an_ay: Argument to pass with the method invocation. 1368s # * @arg_an_as: Argument to pass with the method invocation. 1368s # * @arg_an_ao: Argument to pass with the method invocation. 1368s # * @arg_an_aay: Argument to pass with the method invocation. 1368s # * @arg_an_asv: Argument to pass with the method invocation. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_callable_iface_call_method_with_many_args_sync ( 1368s # OrgProjectCallableIface *proxy, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "MethodWithManyArgs", 1368s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # arg_an_b, 1368s # arg_an_y, 1368s # arg_an_n, 1368s # arg_an_q, 1368s # arg_an_i, 1368s # arg_an_u, 1368s # arg_an_x, 1368s # arg_an_t, 1368s # arg_an_d, 1368s # arg_an_s, 1368s # arg_an_o, 1368s # arg_an_g, 1368s # arg_an_h, 1368s # arg_an_ay, 1368s # arg_an_as, 1368s # arg_an_ao, 1368s # arg_an_aay, 1368s # arg_an_asv), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "()"); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_call_same_method_with_many_args: 1368s # * @proxy: A #OrgProjectCallableIfaceProxy. 1368s # * @arg_an_b: Argument to pass with the method invocation. 1368s # * @arg_an_y: Argument to pass with the method invocation. 1368s # * @arg_an_n: Argument to pass with the method invocation. 1368s # * @arg_an_q: Argument to pass with the method invocation. 1368s # * @arg_an_i: Argument to pass with the method invocation. 1368s # * @arg_an_u: Argument to pass with the method invocation. 1368s # * @arg_an_x: Argument to pass with the method invocation. 1368s # * @arg_an_t: Argument to pass with the method invocation. 1368s # * @arg_an_d: Argument to pass with the method invocation. 1368s # * @arg_an_s: Argument to pass with the method invocation. 1368s # * @arg_an_o: Argument to pass with the method invocation. 1368s # * @arg_an_g: Argument to pass with the method invocation. 1368s # * @arg_an_h: Argument to pass with the method invocation. 1368s # * @arg_an_ay: Argument to pass with the method invocation. 1368s # * @arg_an_as: Argument to pass with the method invocation. 1368s # * @arg_an_ao: Argument to pass with the method invocation. 1368s # * @arg_an_aay: Argument to pass with the method invocation. 1368s # * @arg_an_asv: Argument to pass with the method invocation. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_callable_iface_call_same_method_with_many_args ( 1368s # OrgProjectCallableIface *proxy, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "SameMethodWithManyArgs", 1368s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # arg_an_b, 1368s # arg_an_y, 1368s # arg_an_n, 1368s # arg_an_q, 1368s # arg_an_i, 1368s # arg_an_u, 1368s # arg_an_x, 1368s # arg_an_t, 1368s # arg_an_d, 1368s # arg_an_s, 1368s # arg_an_o, 1368s # arg_an_g, 1368s # arg_an_h, 1368s # arg_an_ay, 1368s # arg_an_as, 1368s # arg_an_ao, 1368s # arg_an_aay, 1368s # arg_an_asv), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1368s # * @proxy: A #OrgProjectCallableIfaceProxy. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1368s # OrgProjectCallableIface *proxy, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "()"); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1368s # * @proxy: A #OrgProjectCallableIfaceProxy. 1368s # * @arg_an_b: Argument to pass with the method invocation. 1368s # * @arg_an_y: Argument to pass with the method invocation. 1368s # * @arg_an_n: Argument to pass with the method invocation. 1368s # * @arg_an_q: Argument to pass with the method invocation. 1368s # * @arg_an_i: Argument to pass with the method invocation. 1368s # * @arg_an_u: Argument to pass with the method invocation. 1368s # * @arg_an_x: Argument to pass with the method invocation. 1368s # * @arg_an_t: Argument to pass with the method invocation. 1368s # * @arg_an_d: Argument to pass with the method invocation. 1368s # * @arg_an_s: Argument to pass with the method invocation. 1368s # * @arg_an_o: Argument to pass with the method invocation. 1368s # * @arg_an_g: Argument to pass with the method invocation. 1368s # * @arg_an_h: Argument to pass with the method invocation. 1368s # * @arg_an_ay: Argument to pass with the method invocation. 1368s # * @arg_an_as: Argument to pass with the method invocation. 1368s # * @arg_an_ao: Argument to pass with the method invocation. 1368s # * @arg_an_aay: Argument to pass with the method invocation. 1368s # * @arg_an_asv: Argument to pass with the method invocation. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1368s # OrgProjectCallableIface *proxy, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "SameMethodWithManyArgs", 1368s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # arg_an_b, 1368s # arg_an_y, 1368s # arg_an_n, 1368s # arg_an_q, 1368s # arg_an_i, 1368s # arg_an_u, 1368s # arg_an_x, 1368s # arg_an_t, 1368s # arg_an_d, 1368s # arg_an_s, 1368s # arg_an_o, 1368s # arg_an_g, 1368s # arg_an_h, 1368s # arg_an_ay, 1368s # arg_an_as, 1368s # arg_an_ao, 1368s # arg_an_aay, 1368s # arg_an_asv), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "()"); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_complete_method_with_many_args: 1368s # * @object: A #OrgProjectCallableIface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_callable_iface_complete_method_with_many_args ( 1368s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("()")); 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_complete_same_method_with_many_args: 1368s # * @object: A #OrgProjectCallableIface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_callable_iface_complete_same_method_with_many_args ( 1368s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("()")); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceProxy: 1368s # * 1368s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectCallableIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectCallableIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_callable_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_callable_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_callable_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectCallableIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_callable_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_callable_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_callable_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1368s # { 1368s # _org_project_callable_iface_skeleton_handle_method_call, 1368s # _org_project_callable_iface_skeleton_handle_get_property, 1368s # _org_project_callable_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_callable_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1368s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #else 1368s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #endif 1368s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_callable_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # /* coverity[missing_lock : SUPPRESS] */ 1368s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1368s # #else 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # skeleton->priv->changed_properties_idle_source = NULL; 1368s # #endif 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.OtherCallableIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectOtherCallableIface 1368s # * @title: OrgProjectOtherCallableIface 1368s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_b", 1368s # (gchar *) "b", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_y", 1368s # (gchar *) "y", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_n", 1368s # (gchar *) "n", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_q", 1368s # (gchar *) "q", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_i", 1368s # (gchar *) "i", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_u", 1368s # (gchar *) "u", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_x", 1368s # (gchar *) "x", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_t", 1368s # (gchar *) "t", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_d", 1368s # (gchar *) "d", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_s", 1368s # (gchar *) "s", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_o", 1368s # (gchar *) "o", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_g", 1368s # (gchar *) "g", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_h", 1368s # (gchar *) "h", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ay", 1368s # (gchar *) "ay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_as", 1368s # (gchar *) "as", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ao", 1368s # (gchar *) "ao", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_aay", 1368s # (gchar *) "aay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_asv", 1368s # (gchar *) "a{sv}", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1368s # { 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "MethodWithManyArgs", 1368s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "handle-method-with-many-args", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1368s # { 1368s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.OtherCallableIface", 1368s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-other-callable-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_other_callable_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _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, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectOtherCallableIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectOtherCallableIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1368s # */ 1368s # 1368s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1368s # * @object: A #OrgProjectOtherCallableIface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * @arg_an_b: Argument passed by remote caller. 1368s # * @arg_an_y: Argument passed by remote caller. 1368s # * @arg_an_n: Argument passed by remote caller. 1368s # * @arg_an_q: Argument passed by remote caller. 1368s # * @arg_an_i: Argument passed by remote caller. 1368s # * @arg_an_u: Argument passed by remote caller. 1368s # * @arg_an_x: Argument passed by remote caller. 1368s # * @arg_an_t: Argument passed by remote caller. 1368s # * @arg_an_d: Argument passed by remote caller. 1368s # * @arg_an_s: Argument passed by remote caller. 1368s # * @arg_an_o: Argument passed by remote caller. 1368s # * @arg_an_g: Argument passed by remote caller. 1368s # * @arg_an_h: Argument passed by remote caller. 1368s # * @arg_an_ay: Argument passed by remote caller. 1368s # * @arg_an_as: Argument passed by remote caller. 1368s # * @arg_an_ao: Argument passed by remote caller. 1368s # * @arg_an_aay: Argument passed by remote caller. 1368s # * @arg_an_asv: Argument passed by remote caller. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-method-with-many-args", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1368s # G_TYPE_BOOLEAN, 1368s # 19, 1368s # 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); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_call_method_with_many_args: 1368s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1368s # * @arg_an_b: Argument to pass with the method invocation. 1368s # * @arg_an_y: Argument to pass with the method invocation. 1368s # * @arg_an_n: Argument to pass with the method invocation. 1368s # * @arg_an_q: Argument to pass with the method invocation. 1368s # * @arg_an_i: Argument to pass with the method invocation. 1368s # * @arg_an_u: Argument to pass with the method invocation. 1368s # * @arg_an_x: Argument to pass with the method invocation. 1368s # * @arg_an_t: Argument to pass with the method invocation. 1368s # * @arg_an_d: Argument to pass with the method invocation. 1368s # * @arg_an_s: Argument to pass with the method invocation. 1368s # * @arg_an_o: Argument to pass with the method invocation. 1368s # * @arg_an_g: Argument to pass with the method invocation. 1368s # * @arg_an_h: Argument to pass with the method invocation. 1368s # * @arg_an_ay: Argument to pass with the method invocation. 1368s # * @arg_an_as: Argument to pass with the method invocation. 1368s # * @arg_an_ao: Argument to pass with the method invocation. 1368s # * @arg_an_aay: Argument to pass with the method invocation. 1368s # * @arg_an_asv: Argument to pass with the method invocation. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_other_callable_iface_call_method_with_many_args ( 1368s # OrgProjectOtherCallableIface *proxy, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "MethodWithManyArgs", 1368s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # arg_an_b, 1368s # arg_an_y, 1368s # arg_an_n, 1368s # arg_an_q, 1368s # arg_an_i, 1368s # arg_an_u, 1368s # arg_an_x, 1368s # arg_an_t, 1368s # arg_an_d, 1368s # arg_an_s, 1368s # arg_an_o, 1368s # arg_an_g, 1368s # arg_an_h, 1368s # arg_an_ay, 1368s # arg_an_as, 1368s # arg_an_ao, 1368s # arg_an_aay, 1368s # arg_an_asv), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1368s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1368s # OrgProjectOtherCallableIface *proxy, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "()"); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1368s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1368s # * @arg_an_b: Argument to pass with the method invocation. 1368s # * @arg_an_y: Argument to pass with the method invocation. 1368s # * @arg_an_n: Argument to pass with the method invocation. 1368s # * @arg_an_q: Argument to pass with the method invocation. 1368s # * @arg_an_i: Argument to pass with the method invocation. 1368s # * @arg_an_u: Argument to pass with the method invocation. 1368s # * @arg_an_x: Argument to pass with the method invocation. 1368s # * @arg_an_t: Argument to pass with the method invocation. 1368s # * @arg_an_d: Argument to pass with the method invocation. 1368s # * @arg_an_s: Argument to pass with the method invocation. 1368s # * @arg_an_o: Argument to pass with the method invocation. 1368s # * @arg_an_g: Argument to pass with the method invocation. 1368s # * @arg_an_h: Argument to pass with the method invocation. 1368s # * @arg_an_ay: Argument to pass with the method invocation. 1368s # * @arg_an_as: Argument to pass with the method invocation. 1368s # * @arg_an_ao: Argument to pass with the method invocation. 1368s # * @arg_an_aay: Argument to pass with the method invocation. 1368s # * @arg_an_asv: Argument to pass with the method invocation. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1368s # OrgProjectOtherCallableIface *proxy, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "MethodWithManyArgs", 1368s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # arg_an_b, 1368s # arg_an_y, 1368s # arg_an_n, 1368s # arg_an_q, 1368s # arg_an_i, 1368s # arg_an_u, 1368s # arg_an_x, 1368s # arg_an_t, 1368s # arg_an_d, 1368s # arg_an_s, 1368s # arg_an_o, 1368s # arg_an_g, 1368s # arg_an_h, 1368s # arg_an_ay, 1368s # arg_an_as, 1368s # arg_an_ao, 1368s # arg_an_aay, 1368s # arg_an_asv), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "()"); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_complete_method_with_many_args: 1368s # * @object: A #OrgProjectOtherCallableIface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_other_callable_iface_complete_method_with_many_args ( 1368s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("()")); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectOtherCallableIfaceProxy: 1368s # * 1368s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectOtherCallableIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_other_callable_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherCallableIface * 1368s # org_project_other_callable_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherCallableIface * 1368s # org_project_other_callable_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_other_callable_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherCallableIface * 1368s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherCallableIface * 1368s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectOtherCallableIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectOtherCallableIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1368s # { 1368s # _org_project_other_callable_iface_skeleton_handle_method_call, 1368s # _org_project_other_callable_iface_skeleton_handle_get_property, 1368s # _org_project_other_callable_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_other_callable_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1368s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #else 1368s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #endif 1368s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # /* coverity[missing_lock : SUPPRESS] */ 1368s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1368s # #else 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # skeleton->priv->changed_properties_idle_source = NULL; 1368s # #endif 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_callable_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectOtherCallableIface * 1368s # org_project_other_callable_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1368s # } 1368s # Error: 1368s ok 19 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1368s # gdbus-codegen: /usr/bin/gdbus-codegen 1368s # tmpdir: /tmp/tmp6s91uukm 1368s # /tmp/tmp6s91uukm/tmpvbzcsulk.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6s91uukm/tmpvbzcsulk.xml', '--output', '-', '--body'] 1368s # Return code: 0 1368s # Output: 1368s # /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.CallableIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectCallableIface 1368s # * @title: OrgProjectCallableIface 1368s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for org.project.CallableIface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_b", 1368s # (gchar *) "b", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_y", 1368s # (gchar *) "y", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_n", 1368s # (gchar *) "n", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_q", 1368s # (gchar *) "q", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_i", 1368s # (gchar *) "i", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_u", 1368s # (gchar *) "u", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_x", 1368s # (gchar *) "x", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_t", 1368s # (gchar *) "t", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_d", 1368s # (gchar *) "d", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_s", 1368s # (gchar *) "s", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_o", 1368s # (gchar *) "o", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_g", 1368s # (gchar *) "g", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_h", 1368s # (gchar *) "h", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ay", 1368s # (gchar *) "ay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_as", 1368s # (gchar *) "as", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ao", 1368s # (gchar *) "ao", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_aay", 1368s # (gchar *) "aay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_asv", 1368s # (gchar *) "a{sv}", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1368s # { 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1368s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "MethodWithManyArgs", 1368s # NULL, 1368s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-method-with-many-args", 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1368s # { 1368s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.CallableIface", 1368s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-callable-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_callable_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_callable_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_callable_iface_method_marshal_method_with_many_args ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectCallableIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.CallableIface. 1368s # */ 1368s # 1368s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * OrgProjectCallableIface::handle-method-with-many-args: 1368s # * @object: A #OrgProjectCallableIface. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-method-with-many-args", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # org_project_callable_iface_method_marshal_method_with_many_args, 1368s # G_TYPE_BOOLEAN, 1368s # 1, 1368s # G_TYPE_DBUS_METHOD_INVOCATION); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_call_method_with_many_args: 1368s # * @proxy: A #OrgProjectCallableIfaceProxy. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # org_project_callable_iface_call_method_with_many_args ( 1368s # OrgProjectCallableIface *proxy, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1368s # "MethodWithManyArgs", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_call_method_with_many_args_finish: 1368s # * @proxy: A #OrgProjectCallableIfaceProxy. 1368s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_callable_iface_call_method_with_many_args_finish ( 1368s # OrgProjectCallableIface *proxy, 1368s # gboolean* out_an_b, 1368s # guchar* out_an_y, 1368s # gint16* out_an_n, 1368s # guint16* out_an_q, 1368s # gint* out_an_i, 1368s # guint* out_an_u, 1368s # gint64* out_an_x, 1368s # guint64* out_an_t, 1368s # gdouble* out_an_d, 1368s # gchar ** out_an_s, 1368s # gchar ** out_an_o, 1368s # gchar ** out_an_g, 1368s # GVariant ** out_an_h, 1368s # gchar ** out_an_ay, 1368s # gchar *** out_an_as, 1368s # gchar *** out_an_ao, 1368s # gchar *** out_an_aay, 1368s # GVariant ** out_an_asv, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # out_an_b, 1368s # out_an_y, 1368s # out_an_n, 1368s # out_an_q, 1368s # out_an_i, 1368s # out_an_u, 1368s # out_an_x, 1368s # out_an_t, 1368s # out_an_d, 1368s # out_an_s, 1368s # out_an_o, 1368s # out_an_g, 1368s # out_an_h, 1368s # out_an_ay, 1368s # out_an_as, 1368s # out_an_ao, 1368s # out_an_aay, 1368s # out_an_asv); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_call_method_with_many_args_sync: 1368s # * @proxy: A #OrgProjectCallableIfaceProxy. 1368s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1368s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # org_project_callable_iface_call_method_with_many_args_sync ( 1368s # OrgProjectCallableIface *proxy, 1368s # gboolean* out_an_b, 1368s # guchar* out_an_y, 1368s # gint16* out_an_n, 1368s # guint16* out_an_q, 1368s # gint* out_an_i, 1368s # guint* out_an_u, 1368s # gint64* out_an_x, 1368s # guint64* out_an_t, 1368s # gdouble* out_an_d, 1368s # gchar ** out_an_s, 1368s # gchar ** out_an_o, 1368s # gchar ** out_an_g, 1368s # GVariant ** out_an_h, 1368s # gchar ** out_an_ay, 1368s # gchar *** out_an_as, 1368s # gchar *** out_an_ao, 1368s # gchar *** out_an_aay, 1368s # GVariant ** out_an_asv, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1368s # "MethodWithManyArgs", 1368s # g_variant_new ("()"), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # out_an_b, 1368s # out_an_y, 1368s # out_an_n, 1368s # out_an_q, 1368s # out_an_i, 1368s # out_an_u, 1368s # out_an_x, 1368s # out_an_t, 1368s # out_an_d, 1368s # out_an_s, 1368s # out_an_o, 1368s # out_an_g, 1368s # out_an_h, 1368s # out_an_ay, 1368s # out_an_as, 1368s # out_an_ao, 1368s # out_an_aay, 1368s # out_an_asv); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_complete_method_with_many_args: 1368s # * @object: A #OrgProjectCallableIface. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @an_b: Parameter to return. 1368s # * @an_y: Parameter to return. 1368s # * @an_n: Parameter to return. 1368s # * @an_q: Parameter to return. 1368s # * @an_i: Parameter to return. 1368s # * @an_u: Parameter to return. 1368s # * @an_x: Parameter to return. 1368s # * @an_t: Parameter to return. 1368s # * @an_d: Parameter to return. 1368s # * @an_s: Parameter to return. 1368s # * @an_o: Parameter to return. 1368s # * @an_g: Parameter to return. 1368s # * @an_h: Parameter to return. 1368s # * @an_ay: Parameter to return. 1368s # * @an_as: Parameter to return. 1368s # * @an_ao: Parameter to return. 1368s # * @an_aay: Parameter to return. 1368s # * @an_asv: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # org_project_callable_iface_complete_method_with_many_args ( 1368s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # gboolean an_b, 1368s # guchar an_y, 1368s # gint16 an_n, 1368s # guint16 an_q, 1368s # gint an_i, 1368s # guint an_u, 1368s # gint64 an_x, 1368s # guint64 an_t, 1368s # gdouble an_d, 1368s # const gchar *an_s, 1368s # const gchar *an_o, 1368s # const gchar *an_g, 1368s # GVariant *an_h, 1368s # const gchar *an_ay, 1368s # const gchar *const *an_as, 1368s # const gchar *const *an_ao, 1368s # const gchar *const *an_aay, 1368s # GVariant *an_asv) 1368s # { 1368s # g_dbus_method_invocation_return_value (invocation, 1368s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # an_b, 1368s # an_y, 1368s # an_n, 1368s # an_q, 1368s # an_i, 1368s # an_u, 1368s # an_x, 1368s # an_t, 1368s # an_d, 1368s # an_s, 1368s # an_o, 1368s # an_g, 1368s # an_h, 1368s # an_ay, 1368s # an_as, 1368s # an_ao, 1368s # an_aay, 1368s # an_asv)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceProxy: 1368s # * 1368s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectCallableIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectCallableIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_callable_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_callable_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_callable_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectCallableIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectCallableIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_callable_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_callable_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_callable_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1368s # { 1368s # _org_project_callable_iface_skeleton_handle_method_call, 1368s # _org_project_callable_iface_skeleton_handle_get_property, 1368s # _org_project_callable_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_callable_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1368s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #else 1368s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #endif 1368s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_callable_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # /* coverity[missing_lock : SUPPRESS] */ 1368s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1368s # #else 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # skeleton->priv->changed_properties_idle_source = NULL; 1368s # #endif 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_callable_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectCallableIface * 1368s # org_project_callable_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1368s # } 1368s # Error: 1368s ok 20 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1368s # gdbus-codegen: /usr/bin/gdbus-codegen 1368s # tmpdir: /tmp/tmpkvc19u1m 1368s # /tmp/tmpkvc19u1m/tmp_kmwc6s9.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkvc19u1m/tmp_kmwc6s9.xml', '--output', '-', '--body'] 1368s # Return code: 0 1368s # Output: 1368s # /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1368s # (void *data1, 1368s # GDBusMethodInvocation *arg_method_invocation, 1368s # GUnixFDList *arg_fd_list, 1368s # const gchar *arg_greeting, 1368s # void *data2); 1368s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # gboolean v_return; 1368s # 1368s # g_return_if_fail (return_value != NULL); 1368s # g_return_if_fail (n_param_values == 4); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # v_return = 1368s # callback (data1, 1368s # g_marshal_value_peek_object (param_values + 1), 1368s # g_marshal_value_peek_object (param_values + 2), 1368s # g_marshal_value_peek_string (param_values + 3), 1368s # data2); 1368s # 1368s # g_value_set_boolean (return_value, v_return); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface test.FDPassing 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:TestFDPassing 1368s # * @title: TestFDPassing 1368s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1368s # * 1368s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1368s # */ 1368s # 1368s # /* ---- Introspection data for test.FDPassing ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "greeting", 1368s # (gchar *) "s", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1368s # { 1368s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "response", 1368s # (gchar *) "s", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1368s # { 1368s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "HelloFD", 1368s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1368s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "handle-hello-fd", 1368s # TRUE 1368s # }; 1368s # 1368s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1368s # { 1368s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "test.FDPassing", 1368s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1368s # NULL, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "test-fdpassing", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * test_fdpassing_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # test_fdpassing_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # test_fdpassing_method_marshal_hello_fd ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * TestFDPassing: 1368s # * 1368s # * Abstract interface type for the D-Bus interface test.FDPassing. 1368s # */ 1368s # 1368s # /** 1368s # * TestFDPassingIface: 1368s # * @parent_iface: The parent interface. 1368s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1368s # * 1368s # * Virtual table for the D-Bus interface test.FDPassing. 1368s # */ 1368s # 1368s # typedef TestFDPassingIface TestFDPassingInterface; 1368s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # test_fdpassing_default_init (TestFDPassingIface *iface) 1368s # { 1368s # /* GObject signals for incoming D-Bus method calls: */ 1368s # /** 1368s # * TestFDPassing::handle-hello-fd: 1368s # * @object: A #TestFDPassing. 1368s # * @invocation: A #GDBusMethodInvocation. 1368s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1368s # * @arg_greeting: Argument passed by remote caller. 1368s # * 1368s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1368s # * 1368s # * 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. 1368s # * 1368s # * 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. 1368s # */ 1368s # g_signal_new ("handle-hello-fd", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1368s # g_signal_accumulator_true_handled, 1368s # NULL, 1368s # test_fdpassing_method_marshal_hello_fd, 1368s # G_TYPE_BOOLEAN, 1368s # 3, 1368s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_call_hello_fd: 1368s # * @proxy: A #TestFDPassingProxy. 1368s # * @arg_greeting: Argument to pass with the method invocation. 1368s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1368s # * 1368s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1368s # */ 1368s # void 1368s # test_fdpassing_call_hello_fd ( 1368s # TestFDPassing *proxy, 1368s # const gchar *arg_greeting, 1368s # GUnixFDList *fd_list, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1368s # "HelloFD", 1368s # g_variant_new ("(s)", 1368s # arg_greeting), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # fd_list, 1368s # cancellable, 1368s # callback, 1368s # user_data); 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_call_hello_fd_finish: 1368s # * @proxy: A #TestFDPassingProxy. 1368s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # test_fdpassing_call_hello_fd_finish ( 1368s # TestFDPassing *proxy, 1368s # gchar ** out_response, 1368s # GUnixFDList **out_fd_list, 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(s)", 1368s # out_response); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_call_hello_fd_sync: 1368s # * @proxy: A #TestFDPassingProxy. 1368s # * @arg_greeting: Argument to pass with the method invocation. 1368s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1368s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1368s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL. 1368s # * 1368s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1368s # * 1368s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1368s # * 1368s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1368s # */ 1368s # gboolean 1368s # test_fdpassing_call_hello_fd_sync ( 1368s # TestFDPassing *proxy, 1368s # const gchar *arg_greeting, 1368s # GUnixFDList *fd_list, 1368s # gchar ** out_response, 1368s # GUnixFDList **out_fd_list, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GVariant *_ret; 1368s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1368s # "HelloFD", 1368s # g_variant_new ("(s)", 1368s # arg_greeting), 1368s # G_DBUS_CALL_FLAGS_NONE, 1368s # -1, 1368s # fd_list, 1368s # out_fd_list, 1368s # cancellable, 1368s # error); 1368s # if (_ret == NULL) 1368s # goto _out; 1368s # g_variant_get (_ret, 1368s # "(s)", 1368s # out_response); 1368s # g_variant_unref (_ret); 1368s # _out: 1368s # return _ret != NULL; 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_complete_hello_fd: 1368s # * @object: A #TestFDPassing. 1368s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1368s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1368s # * @response: Parameter to return. 1368s # * 1368s # * 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. 1368s # * 1368s # * This method will free @invocation, you cannot use it afterwards. 1368s # */ 1368s # void 1368s # test_fdpassing_complete_hello_fd ( 1368s # TestFDPassing *object G_GNUC_UNUSED, 1368s # GDBusMethodInvocation *invocation, 1368s # GUnixFDList *fd_list, 1368s # const gchar *response) 1368s # { 1368s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1368s # g_variant_new ("(s)", 1368s # response), 1368s # fd_list); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * TestFDPassingProxy: 1368s # * 1368s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * TestFDPassingProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #TestFDPassingProxy. 1368s # */ 1368s # 1368s # struct _TestFDPassingProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (TestFDPassingProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # test_fdpassing_proxy_finalize (GObject *object) 1368s # { 1368s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1368s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1368s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1368s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # test_fdpassing_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with test_fdpassing_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # TestFDPassing * 1368s # test_fdpassing_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return TEST_FDPASSING (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # TestFDPassing * 1368s # test_fdpassing_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return TEST_FDPASSING (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * test_fdpassing_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # test_fdpassing_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # TestFDPassing * 1368s # test_fdpassing_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return TEST_FDPASSING (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # TestFDPassing * 1368s # test_fdpassing_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return TEST_FDPASSING (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * TestFDPassingSkeleton: 1368s # * 1368s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * TestFDPassingSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #TestFDPassingSkeleton. 1368s # */ 1368s # 1368s # struct _TestFDPassingSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _test_fdpassing_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _test_fdpassing_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _test_fdpassing_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1368s # { 1368s # _test_fdpassing_skeleton_handle_method_call, 1368s # _test_fdpassing_skeleton_handle_get_property, 1368s # _test_fdpassing_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return test_fdpassing_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1368s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #else 1368s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #endif 1368s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # test_fdpassing_skeleton_finalize (GObject *object) 1368s # { 1368s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # /* coverity[missing_lock : SUPPRESS] */ 1368s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1368s # #else 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # skeleton->priv->changed_properties_idle_source = NULL; 1368s # #endif 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * test_fdpassing_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1368s # * 1368s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1368s # */ 1368s # TestFDPassing * 1368s # test_fdpassing_skeleton_new (void) 1368s # { 1368s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1368s # } 1368s # Error: 1368s ok 21 __main__.TestCodegen.test_generate_rst 1368s # gdbus-codegen: /usr/bin/gdbus-codegen 1368s # tmpdir: /tmp/tmp8czsqgwi 1368s # /tmp/tmp8czsqgwi/tmpkf28ote1.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8czsqgwi/tmpkf28ote1.xml', '--generate-rst', 'test'] 1368s # Return code: 0 1368s # Output: 1368s # 1368s # Error: 1368s ok 22 __main__.TestCodegen.test_generate_rst_method 1368s # gdbus-codegen: /usr/bin/gdbus-codegen 1368s # tmpdir: /tmp/tmpen88e9bk 1368s # /tmp/tmpen88e9bk/tmpwkasze4u.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpen88e9bk/tmpwkasze4u.xml', '--generate-rst', 'test'] 1368s # Return code: 0 1368s # Output: 1368s # 1368s # Error: 1368s ok 23 __main__.TestCodegen.test_generate_rst_property 1368s # gdbus-codegen: /usr/bin/gdbus-codegen 1368s # tmpdir: /tmp/tmpg4_7yfec 1368s # /tmp/tmpg4_7yfec/tmpskfgeu8e.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpg4_7yfec/tmpskfgeu8e.xml', '--generate-rst', 'test'] 1368s # Return code: 0 1368s # Output: 1368s # 1368s # Error: 1368s ok 24 __main__.TestCodegen.test_generate_rst_signal 1368s # gdbus-codegen: /usr/bin/gdbus-codegen 1368s # tmpdir: /tmp/tmpebf27b_h 1368s # /tmp/tmpebf27b_h/tmpvdd7yj81.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpebf27b_h/tmpvdd7yj81.xml', '--generate-rst', 'test'] 1368s # Return code: 0 1368s # Output: 1368s # 1368s # Error: 1368s ok 25 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1368s # gdbus-codegen: /usr/bin/gdbus-codegen 1368s # tmpdir: /tmp/tmpmf1e3bg1 1368s # /tmp/tmpmf1e3bg1/tmp1z2bcils.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmf1e3bg1/tmp1z2bcils.xml', '--output', '-', '--body'] 1368s # Return code: 0 1368s # Output: 1368s # /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1368s # GClosure *closure, 1368s # GValue *return_value G_GNUC_UNUSED, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1368s # (void *data1, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv, 1368s # void *data2); 1368s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # 1368s # g_return_if_fail (n_param_values == 19); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # callback (data1, 1368s # g_marshal_value_peek_boolean (param_values + 1), 1368s # g_marshal_value_peek_uchar (param_values + 2), 1368s # g_marshal_value_peek_int (param_values + 3), 1368s # g_marshal_value_peek_uint (param_values + 4), 1368s # g_marshal_value_peek_int (param_values + 5), 1368s # g_marshal_value_peek_uint (param_values + 6), 1368s # g_marshal_value_peek_int64 (param_values + 7), 1368s # g_marshal_value_peek_uint64 (param_values + 8), 1368s # g_marshal_value_peek_double (param_values + 9), 1368s # g_marshal_value_peek_string (param_values + 10), 1368s # g_marshal_value_peek_string (param_values + 11), 1368s # g_marshal_value_peek_string (param_values + 12), 1368s # g_marshal_value_peek_variant (param_values + 13), 1368s # g_marshal_value_peek_string (param_values + 14), 1368s # g_marshal_value_peek_boxed (param_values + 15), 1368s # g_marshal_value_peek_boxed (param_values + 16), 1368s # g_marshal_value_peek_boxed (param_values + 17), 1368s # g_marshal_value_peek_variant (param_values + 18), 1368s # data2); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.SignalingIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectSignalingIface 1368s # * @title: OrgProjectSignalingIface 1368s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1368s # */ 1368s # 1368s # enum 1368s # { 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1368s # }; 1368s # 1368s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1368s # 1368s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_b", 1368s # (gchar *) "b", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_y", 1368s # (gchar *) "y", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_n", 1368s # (gchar *) "n", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_q", 1368s # (gchar *) "q", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_i", 1368s # (gchar *) "i", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_u", 1368s # (gchar *) "u", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_x", 1368s # (gchar *) "x", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_t", 1368s # (gchar *) "t", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_d", 1368s # (gchar *) "d", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_s", 1368s # (gchar *) "s", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_o", 1368s # (gchar *) "o", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_g", 1368s # (gchar *) "g", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_h", 1368s # (gchar *) "h", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ay", 1368s # (gchar *) "ay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_as", 1368s # (gchar *) "as", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ao", 1368s # (gchar *) "ao", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_aay", 1368s # (gchar *) "aay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_asv", 1368s # (gchar *) "a{sv}", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SignalWithManyArgs", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "signal-with-many-args" 1368s # }; 1368s # 1368s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.SignalingIface", 1368s # NULL, 1368s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-signaling-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_signaling_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # /* GObject signals for received D-Bus signals: */ 1368s # /** 1368s # * OrgProjectSignalingIface::signal-with-many-args: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_b: Argument. 1368s # * @arg_an_y: Argument. 1368s # * @arg_an_n: Argument. 1368s # * @arg_an_q: Argument. 1368s # * @arg_an_i: Argument. 1368s # * @arg_an_u: Argument. 1368s # * @arg_an_x: Argument. 1368s # * @arg_an_t: Argument. 1368s # * @arg_an_d: Argument. 1368s # * @arg_an_s: Argument. 1368s # * @arg_an_o: Argument. 1368s # * @arg_an_g: Argument. 1368s # * @arg_an_h: Argument. 1368s # * @arg_an_ay: Argument. 1368s # * @arg_an_as: Argument. 1368s # * @arg_an_ao: Argument. 1368s # * @arg_an_aay: Argument. 1368s # * @arg_an_asv: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1368s # g_signal_new ("signal-with-many-args", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1368s # G_TYPE_NONE, 1368s # 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); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_signal_with_many_args: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_b: Argument to pass with the signal. 1368s # * @arg_an_y: Argument to pass with the signal. 1368s # * @arg_an_n: Argument to pass with the signal. 1368s # * @arg_an_q: Argument to pass with the signal. 1368s # * @arg_an_i: Argument to pass with the signal. 1368s # * @arg_an_u: Argument to pass with the signal. 1368s # * @arg_an_x: Argument to pass with the signal. 1368s # * @arg_an_t: Argument to pass with the signal. 1368s # * @arg_an_d: Argument to pass with the signal. 1368s # * @arg_an_s: Argument to pass with the signal. 1368s # * @arg_an_o: Argument to pass with the signal. 1368s # * @arg_an_g: Argument to pass with the signal. 1368s # * @arg_an_h: Argument to pass with the signal. 1368s # * @arg_an_ay: Argument to pass with the signal. 1368s # * @arg_an_as: Argument to pass with the signal. 1368s # * @arg_an_ao: Argument to pass with the signal. 1368s # * @arg_an_aay: Argument to pass with the signal. 1368s # * @arg_an_asv: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SignalWithManyArgs" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_signal_with_many_args ( 1368s # OrgProjectSignalingIface *object, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxy: 1368s # * 1368s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_signaling_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_signaling_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_signaling_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1368s # { 1368s # _org_project_signaling_iface_skeleton_handle_method_call, 1368s # _org_project_signaling_iface_skeleton_handle_get_property, 1368s # _org_project_signaling_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_signaling_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1368s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #else 1368s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #endif 1368s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1368s # OrgProjectSignalingIface *object, 1368s # gboolean arg_an_b, 1368s # guchar arg_an_y, 1368s # gint16 arg_an_n, 1368s # guint16 arg_an_q, 1368s # gint arg_an_i, 1368s # guint arg_an_u, 1368s # gint64 arg_an_x, 1368s # guint64 arg_an_t, 1368s # gdouble arg_an_d, 1368s # const gchar *arg_an_s, 1368s # const gchar *arg_an_o, 1368s # const gchar *arg_an_g, 1368s # GVariant *arg_an_h, 1368s # const gchar *arg_an_ay, 1368s # const gchar *const *arg_an_as, 1368s # const gchar *const *arg_an_ao, 1368s # const gchar *const *arg_an_aay, 1368s # GVariant *arg_an_asv) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1368s # arg_an_b, 1368s # arg_an_y, 1368s # arg_an_n, 1368s # arg_an_q, 1368s # arg_an_i, 1368s # arg_an_u, 1368s # arg_an_x, 1368s # arg_an_t, 1368s # arg_an_d, 1368s # arg_an_s, 1368s # arg_an_o, 1368s # arg_an_g, 1368s # arg_an_h, 1368s # arg_an_ay, 1368s # arg_an_as, 1368s # arg_an_ao, 1368s # arg_an_aay, 1368s # arg_an_asv)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # /* coverity[missing_lock : SUPPRESS] */ 1368s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1368s # #else 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # skeleton->priv->changed_properties_idle_source = NULL; 1368s # #endif 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1368s # } 1368s # Error: 1368s ok 26 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1368s # gdbus-codegen: /usr/bin/gdbus-codegen 1368s # tmpdir: /tmp/tmppfhk4to5 1368s # /tmp/tmppfhk4to5/tmpxn36qkxv.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppfhk4to5/tmpxn36qkxv.xml', '--output', '-', '--body'] 1368s # Return code: 0 1368s # Output: 1368s # /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_VOID__INT64 ( 1368s # GClosure *closure, 1368s # GValue *return_value G_GNUC_UNUSED, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1368s # (void *data1, 1368s # gint64 arg_an_x, 1368s # void *data2); 1368s # _GDbusCodegenMarshalVoid_Int64Func callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # callback (data1, 1368s # g_marshal_value_peek_int64 (param_values + 1), 1368s # data2); 1368s # } 1368s # 1368s # static void 1368s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1368s # GClosure *closure, 1368s # GValue *return_value G_GNUC_UNUSED, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint G_GNUC_UNUSED, 1368s # void *marshal_data) 1368s # { 1368s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1368s # (void *data1, 1368s # guint64 arg_an_t, 1368s # void *data2); 1368s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1368s # GCClosure *cc = (GCClosure*) closure; 1368s # void *data1, *data2; 1368s # 1368s # g_return_if_fail (n_param_values == 2); 1368s # 1368s # if (G_CCLOSURE_SWAP_DATA (closure)) 1368s # { 1368s # data1 = closure->data; 1368s # data2 = g_value_peek_pointer (param_values + 0); 1368s # } 1368s # else 1368s # { 1368s # data1 = g_value_peek_pointer (param_values + 0); 1368s # data2 = closure->data; 1368s # } 1368s # 1368s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1368s # (marshal_data ? marshal_data : cc->callback); 1368s # 1368s # callback (data1, 1368s # g_marshal_value_peek_uint64 (param_values + 1), 1368s # data2); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.SignalingIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectSignalingIface 1368s # * @title: OrgProjectSignalingIface 1368s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1368s # */ 1368s # 1368s # enum 1368s # { 1368s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1368s # }; 1368s # 1368s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1368s # 1368s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "NoArgSignal", 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "no-arg-signal" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_b", 1368s # (gchar *) "b", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalB", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-b" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_y", 1368s # (gchar *) "y", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalY", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-y" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_n", 1368s # (gchar *) "n", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalN", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-n" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_q", 1368s # (gchar *) "q", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalQ", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-q" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_i", 1368s # (gchar *) "i", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalI", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-i" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_u", 1368s # (gchar *) "u", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalU", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-u" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_x", 1368s # (gchar *) "x", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalX", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-x" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_t", 1368s # (gchar *) "t", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalT", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-t" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_d", 1368s # (gchar *) "d", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalD", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-d" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_s", 1368s # (gchar *) "s", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalS", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-s" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_o", 1368s # (gchar *) "o", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalO", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-o" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_g", 1368s # (gchar *) "g", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalG", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-g" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_h", 1368s # (gchar *) "h", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalH", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-h" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ay", 1368s # (gchar *) "ay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalAY", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-ay" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_as", 1368s # (gchar *) "as", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalAS", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-as" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_ao", 1368s # (gchar *) "ao", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalAO", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-ao" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_aay", 1368s # (gchar *) "aay", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalAAY", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-aay" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "an_asv", 1368s # (gchar *) "a{sv}", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalASV", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-asv" 1368s # }; 1368s # 1368s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.SignalingIface", 1368s # NULL, 1368s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-signaling-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_signaling_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VOID (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__UCHAR (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__INT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__UINT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__INT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__UINT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__DOUBLE (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__STRING (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__STRING (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__STRING (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VARIANT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__STRING (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__BOXED (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__BOXED (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__BOXED (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VARIANT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1368s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1368s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1368s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1368s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1368s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1368s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1368s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1368s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1368s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1368s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1368s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1368s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1368s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1368s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1368s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1368s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1368s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1368s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # /* GObject signals for received D-Bus signals: */ 1368s # /** 1368s # * OrgProjectSignalingIface::no-arg-signal: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1368s # g_signal_new ("no-arg-signal", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1368s # G_TYPE_NONE, 1368s # 0); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-b: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_b: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1368s # g_signal_new ("single-arg-signal-b", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_BOOLEAN); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-y: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_y: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1368s # g_signal_new ("single-arg-signal-y", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_UCHAR); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-n: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_n: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1368s # g_signal_new ("single-arg-signal-n", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_INT); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-q: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_q: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1368s # g_signal_new ("single-arg-signal-q", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_UINT); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-i: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_i: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1368s # g_signal_new ("single-arg-signal-i", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_INT); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-u: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_u: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1368s # g_signal_new ("single-arg-signal-u", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_UINT); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-x: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_x: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1368s # g_signal_new ("single-arg-signal-x", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_INT64); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-t: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_t: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1368s # g_signal_new ("single-arg-signal-t", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_UINT64); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-d: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_d: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1368s # g_signal_new ("single-arg-signal-d", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_DOUBLE); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-s: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_s: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1368s # g_signal_new ("single-arg-signal-s", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_STRING); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-o: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_o: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1368s # g_signal_new ("single-arg-signal-o", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_STRING); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-g: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_g: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1368s # g_signal_new ("single-arg-signal-g", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_STRING); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-h: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_h: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1368s # g_signal_new ("single-arg-signal-h", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_VARIANT); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-ay: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_ay: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1368s # g_signal_new ("single-arg-signal-ay", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_STRING); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-as: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_as: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1368s # g_signal_new ("single-arg-signal-as", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_STRV); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-ao: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_ao: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1368s # g_signal_new ("single-arg-signal-ao", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_STRV); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-aay: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_aay: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1368s # g_signal_new ("single-arg-signal-aay", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_STRV); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-asv: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_asv: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1368s # g_signal_new ("single-arg-signal-asv", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_VARIANT); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_no_arg_signal: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * 1368s # * Emits the "NoArgSignal" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_no_arg_signal ( 1368s # OrgProjectSignalingIface *object) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_b: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_b: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalB" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_b ( 1368s # OrgProjectSignalingIface *object, 1368s # gboolean arg_an_b) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_y: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_y: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalY" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_y ( 1368s # OrgProjectSignalingIface *object, 1368s # guchar arg_an_y) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_n: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_n: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalN" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_n ( 1368s # OrgProjectSignalingIface *object, 1368s # gint16 arg_an_n) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_q: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_q: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalQ" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_q ( 1368s # OrgProjectSignalingIface *object, 1368s # guint16 arg_an_q) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_i: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_i: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalI" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_i ( 1368s # OrgProjectSignalingIface *object, 1368s # gint arg_an_i) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_u: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_u: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalU" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_u ( 1368s # OrgProjectSignalingIface *object, 1368s # guint arg_an_u) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_x: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_x: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalX" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_x ( 1368s # OrgProjectSignalingIface *object, 1368s # gint64 arg_an_x) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_t: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_t: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalT" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_t ( 1368s # OrgProjectSignalingIface *object, 1368s # guint64 arg_an_t) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_d: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_d: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalD" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_d ( 1368s # OrgProjectSignalingIface *object, 1368s # gdouble arg_an_d) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_s: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_s: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalS" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_s ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *arg_an_s) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_o: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_o: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalO" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_o ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *arg_an_o) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_g: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_g: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalG" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_g ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *arg_an_g) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_h: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_h: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalH" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_h ( 1368s # OrgProjectSignalingIface *object, 1368s # GVariant *arg_an_h) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_ay: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalAY" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *arg_an_ay) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_as: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_as: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalAS" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_as ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *const *arg_an_as) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_ao: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalAO" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *const *arg_an_ao) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_aay: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *const *arg_an_aay) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_an_asv: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalASV" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1368s # OrgProjectSignalingIface *object, 1368s # GVariant *arg_an_asv) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxy: 1368s # * 1368s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_signaling_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_signaling_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_signaling_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1368s # { 1368s # _org_project_signaling_iface_skeleton_handle_method_call, 1368s # _org_project_signaling_iface_skeleton_handle_get_property, 1368s # _org_project_signaling_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_signaling_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1368s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #else 1368s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #endif 1368s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1368s # OrgProjectSignalingIface *object) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1368s # OrgProjectSignalingIface *object, 1368s # gboolean arg_an_b) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1368s # arg_an_b)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1368s # OrgProjectSignalingIface *object, 1368s # guchar arg_an_y) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1368s # arg_an_y)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1368s # OrgProjectSignalingIface *object, 1368s # gint16 arg_an_n) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1368s # arg_an_n)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1368s # OrgProjectSignalingIface *object, 1368s # guint16 arg_an_q) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1368s # arg_an_q)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1368s # OrgProjectSignalingIface *object, 1368s # gint arg_an_i) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1368s # arg_an_i)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1368s # OrgProjectSignalingIface *object, 1368s # guint arg_an_u) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1368s # arg_an_u)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1368s # OrgProjectSignalingIface *object, 1368s # gint64 arg_an_x) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1368s # arg_an_x)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1368s # OrgProjectSignalingIface *object, 1368s # guint64 arg_an_t) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1368s # arg_an_t)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1368s # OrgProjectSignalingIface *object, 1368s # gdouble arg_an_d) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1368s # arg_an_d)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *arg_an_s) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1368s # arg_an_s)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *arg_an_o) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1368s # arg_an_o)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *arg_an_g) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1368s # arg_an_g)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1368s # OrgProjectSignalingIface *object, 1368s # GVariant *arg_an_h) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1368s # arg_an_h)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *arg_an_ay) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1368s # arg_an_ay)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *const *arg_an_as) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1368s # arg_an_as)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *const *arg_an_ao) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1368s # arg_an_ao)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1368s # OrgProjectSignalingIface *object, 1368s # const gchar *const *arg_an_aay) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1368s # arg_an_aay)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1368s # OrgProjectSignalingIface *object, 1368s # GVariant *arg_an_asv) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1368s # arg_an_asv)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # /* coverity[missing_lock : SUPPRESS] */ 1368s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1368s # #else 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # skeleton->priv->changed_properties_idle_source = NULL; 1368s # #endif 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1368s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1368s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1368s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1368s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1368s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1368s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1368s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1368s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1368s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1368s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1368s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1368s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1368s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1368s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1368s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1368s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1368s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1368s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1368s # } 1368s # Error: 1368s ok 27 __main__.TestCodegen.test_generate_signal_id_simple_signal 1368s # gdbus-codegen: /usr/bin/gdbus-codegen 1368s # tmpdir: /tmp/tmpz5u331gc 1368s # /tmp/tmpz5u331gc/tmpmer08xb8.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz5u331gc/tmpmer08xb8.xml', '--output', '-', '--body'] 1368s # Return code: 0 1368s # Output: 1368s # /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.UsefulInterface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectUsefulInterface 1368s # * @title: OrgProjectUsefulInterface 1368s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1368s # */ 1368s # 1368s # enum 1368s # { 1368s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1368s # }; 1368s # 1368s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1368s # 1368s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SimpleSignal", 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "simple-signal" 1368s # }; 1368s # 1368s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1368s # { 1368s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.UsefulInterface", 1368s # NULL, 1368s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-useful-interface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_useful_interface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_useful_interface_signal_marshal_simple_signal ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VOID (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1368s # */ 1368s # 1368s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # /* GObject signals for received D-Bus signals: */ 1368s # /** 1368s # * OrgProjectUsefulInterface::simple-signal: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1368s # g_signal_new ("simple-signal", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1368s # NULL, 1368s # NULL, 1368s # org_project_useful_interface_signal_marshal_simple_signal, 1368s # G_TYPE_NONE, 1368s # 0); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_emit_simple_signal: 1368s # * @object: A #OrgProjectUsefulInterface. 1368s # * 1368s # * Emits the "SimpleSignal" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_useful_interface_emit_simple_signal ( 1368s # OrgProjectUsefulInterface *object) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxy: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1368s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1368s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_useful_interface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # g_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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeleton: 1368s # * 1368s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectUsefulInterfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_useful_interface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_useful_interface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_useful_interface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1368s # { 1368s # _org_project_useful_interface_skeleton_handle_method_call, 1368s # _org_project_useful_interface_skeleton_handle_get_property, 1368s # _org_project_useful_interface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_useful_interface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1368s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #else 1368s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #endif 1368s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # _org_project_useful_interface_on_signal_simple_signal ( 1368s # OrgProjectUsefulInterface *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_useful_interface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # /* coverity[missing_lock : SUPPRESS] */ 1368s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1368s # #else 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # skeleton->priv->changed_properties_idle_source = NULL; 1368s # #endif 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1368s # { 1368s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1368s # } 1368s # 1368s # /** 1368s # * org_project_useful_interface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectUsefulInterface * 1368s # org_project_useful_interface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.OtherIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectOtherIface 1368s # * @title: OrgProjectOtherIface 1368s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1368s # */ 1368s # 1368s # enum 1368s # { 1368s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1368s # }; 1368s # 1368s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1368s # 1368s # /* ---- Introspection data for org.project.OtherIface ---- */ 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SimpleSignal", 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "simple-signal" 1368s # }; 1368s # 1368s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1368s # { 1368s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.OtherIface", 1368s # NULL, 1368s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-other-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_other_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_other_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_other_iface_signal_marshal_simple_signal ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VOID (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectOtherIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectOtherIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.OtherIface. 1368s # */ 1368s # 1368s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1368s # { 1368s # /* GObject signals for received D-Bus signals: */ 1368s # /** 1368s # * OrgProjectOtherIface::simple-signal: 1368s # * @object: A #OrgProjectOtherIface. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1368s # g_signal_new ("simple-signal", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1368s # NULL, 1368s # NULL, 1368s # org_project_other_iface_signal_marshal_simple_signal, 1368s # G_TYPE_NONE, 1368s # 0); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_iface_emit_simple_signal: 1368s # * @object: A #OrgProjectOtherIface. 1368s # * 1368s # * Emits the "SimpleSignal" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_other_iface_emit_simple_signal ( 1368s # OrgProjectOtherIface *object) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectOtherIfaceProxy: 1368s # * 1368s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectOtherIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectOtherIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectOtherIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_other_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_other_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherIface * 1368s # org_project_other_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherIface * 1368s # org_project_other_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_other_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_other_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherIface * 1368s # org_project_other_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherIface * 1368s # org_project_other_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectOtherIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectOtherIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectOtherIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_other_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_other_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_other_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1368s # { 1368s # _org_project_other_iface_skeleton_handle_method_call, 1368s # _org_project_other_iface_skeleton_handle_get_property, 1368s # _org_project_other_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_other_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1368s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #else 1368s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #endif 1368s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # _org_project_other_iface_on_signal_simple_signal ( 1368s # OrgProjectOtherIface *object) 1368s # { 1368s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_other_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # /* coverity[missing_lock : SUPPRESS] */ 1368s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1368s # #else 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # skeleton->priv->changed_properties_idle_source = NULL; 1368s # #endif 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1368s # { 1368s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectOtherIface * 1368s # org_project_other_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1368s # } 1368s # Error: 1368s ok 28 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1368s # gdbus-codegen: /usr/bin/gdbus-codegen 1368s # tmpdir: /tmp/tmp4dg53axa 1368s # /tmp/tmp4dg53axa/tmpvztcvlew.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4dg53axa/tmpvztcvlew.xml', '--output', '-', '--body'] 1368s # Return code: 0 1368s # Output: 1368s # /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.SignalingIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectSignalingIface 1368s # * @title: OrgProjectSignalingIface 1368s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1368s # */ 1368s # 1368s # enum 1368s # { 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1368s # }; 1368s # 1368s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1368s # 1368s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SimpleSignal", 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "simple-signal" 1368s # }; 1368s # 1368s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.SignalingIface", 1368s # NULL, 1368s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-signaling-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_signaling_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_simple_signal ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VOID (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # /* GObject signals for received D-Bus signals: */ 1368s # /** 1368s # * OrgProjectSignalingIface::simple-signal: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1368s # g_signal_new ("simple-signal", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_simple_signal, 1368s # G_TYPE_NONE, 1368s # 0); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_simple_signal: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * 1368s # * Emits the "SimpleSignal" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_simple_signal ( 1368s # OrgProjectSignalingIface *object) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxy: 1368s # * 1368s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_signaling_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_signaling_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_signaling_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1368s # { 1368s # _org_project_signaling_iface_skeleton_handle_method_call, 1368s # _org_project_signaling_iface_skeleton_handle_get_property, 1368s # _org_project_signaling_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_signaling_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1368s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #else 1368s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #endif 1368s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_simple_signal ( 1368s # OrgProjectSignalingIface *object) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # /* coverity[missing_lock : SUPPRESS] */ 1368s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1368s # #else 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # skeleton->priv->changed_properties_idle_source = NULL; 1368s # #endif 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.OtherSignalingIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectOtherSignalingIface 1368s # * @title: OrgProjectOtherSignalingIface 1368s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1368s # */ 1368s # 1368s # enum 1368s # { 1368s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1368s # }; 1368s # 1368s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1368s # 1368s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SimpleSignal", 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "simple-signal" 1368s # }; 1368s # 1368s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1368s # { 1368s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.OtherSignalingIface", 1368s # NULL, 1368s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-other-signaling-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_other_signaling_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VOID (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectOtherSignalingIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectOtherSignalingIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1368s # */ 1368s # 1368s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1368s # { 1368s # /* GObject signals for received D-Bus signals: */ 1368s # /** 1368s # * OrgProjectOtherSignalingIface::simple-signal: 1368s # * @object: A #OrgProjectOtherSignalingIface. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1368s # g_signal_new ("simple-signal", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1368s # NULL, 1368s # NULL, 1368s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1368s # G_TYPE_NONE, 1368s # 0); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_emit_simple_signal: 1368s # * @object: A #OrgProjectOtherSignalingIface. 1368s # * 1368s # * Emits the "SimpleSignal" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_other_signaling_iface_emit_simple_signal ( 1368s # OrgProjectOtherSignalingIface *object) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectOtherSignalingIfaceProxy: 1368s # * 1368s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectOtherSignalingIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_other_signaling_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherSignalingIface * 1368s # org_project_other_signaling_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherSignalingIface * 1368s # org_project_other_signaling_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_other_signaling_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherSignalingIface * 1368s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectOtherSignalingIface * 1368s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectOtherSignalingIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1368s # { 1368s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1368s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1368s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_other_signaling_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1368s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #else 1368s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #endif 1368s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1368s # OrgProjectOtherSignalingIface *object) 1368s # { 1368s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # /* coverity[missing_lock : SUPPRESS] */ 1368s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1368s # #else 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # skeleton->priv->changed_properties_idle_source = NULL; 1368s # #endif 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1368s # { 1368s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1368s # } 1368s # 1368s # /** 1368s # * org_project_other_signaling_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectOtherSignalingIface * 1368s # org_project_other_signaling_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1368s # } 1368s # Error: 1368s ok 29 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1368s # gdbus-codegen: /usr/bin/gdbus-codegen 1368s # tmpdir: /tmp/tmphasscs2x 1368s # /tmp/tmphasscs2x/tmpfxevyo_9.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphasscs2x/tmpfxevyo_9.xml', '--output', '-', '--body'] 1368s # Return code: 0 1368s # Output: 1368s # /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.SignalingIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectSignalingIface 1368s # * @title: OrgProjectSignalingIface 1368s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1368s # */ 1368s # 1368s # enum 1368s # { 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1368s # }; 1368s # 1368s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1368s # 1368s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SimpleSignal", 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "simple-signal" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_b", 1368s # (gchar *) "b", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalB", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-b" 1368s # }; 1368s # 1368s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.SignalingIface", 1368s # NULL, 1368s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-signaling-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_signaling_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_simple_signal ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VOID (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1368s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # /* GObject signals for received D-Bus signals: */ 1368s # /** 1368s # * OrgProjectSignalingIface::simple-signal: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1368s # g_signal_new ("simple-signal", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_simple_signal, 1368s # G_TYPE_NONE, 1368s # 0); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-b: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_arg_b: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1368s # g_signal_new ("single-arg-signal-b", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_BOOLEAN); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_simple_signal: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * 1368s # * Emits the "SimpleSignal" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_simple_signal ( 1368s # OrgProjectSignalingIface *object) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_b: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_arg_b: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalB" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_b ( 1368s # OrgProjectSignalingIface *object, 1368s # gboolean arg_arg_b) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxy: 1368s # * 1368s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_signaling_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_signaling_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_signaling_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1368s # { 1368s # _org_project_signaling_iface_skeleton_handle_method_call, 1368s # _org_project_signaling_iface_skeleton_handle_get_property, 1368s # _org_project_signaling_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_signaling_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1368s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #else 1368s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #endif 1368s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_simple_signal ( 1368s # OrgProjectSignalingIface *object) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1368s # OrgProjectSignalingIface *object, 1368s # gboolean arg_arg_b) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1368s # arg_arg_b)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # /* coverity[missing_lock : SUPPRESS] */ 1368s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1368s # #else 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # skeleton->priv->changed_properties_idle_source = NULL; 1368s # #endif 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1368s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1368s # } 1368s # Error: 1368s # 1368s # /tmp/tmphasscs2x/tmp6nllbupi.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphasscs2x/tmp6nllbupi.xml', '--output', '-', '--body'] 1368s # Return code: 0 1368s # Output: 1368s # /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.SignalingIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectSignalingIface 1368s # * @title: OrgProjectSignalingIface 1368s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1368s # */ 1368s # 1368s # enum 1368s # { 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1368s # }; 1368s # 1368s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1368s # 1368s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SimpleSignal", 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "simple-signal" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_y", 1368s # (gchar *) "y", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalY", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-y" 1368s # }; 1368s # 1368s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.SignalingIface", 1368s # NULL, 1368s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-signaling-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_signaling_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_simple_signal ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VOID (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__UCHAR (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1368s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # /* GObject signals for received D-Bus signals: */ 1368s # /** 1368s # * OrgProjectSignalingIface::simple-signal: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1368s # g_signal_new ("simple-signal", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_simple_signal, 1368s # G_TYPE_NONE, 1368s # 0); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-y: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_arg_y: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1368s # g_signal_new ("single-arg-signal-y", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_UCHAR); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_simple_signal: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * 1368s # * Emits the "SimpleSignal" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_simple_signal ( 1368s # OrgProjectSignalingIface *object) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_y: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_arg_y: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalY" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_y ( 1368s # OrgProjectSignalingIface *object, 1368s # guchar arg_arg_y) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxy: 1368s # * 1368s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_signaling_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_signaling_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_signaling_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1368s # { 1368s # _org_project_signaling_iface_skeleton_handle_method_call, 1368s # _org_project_signaling_iface_skeleton_handle_get_property, 1368s # _org_project_signaling_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_signaling_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1368s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #else 1368s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #endif 1368s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_simple_signal ( 1368s # OrgProjectSignalingIface *object) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1368s # OrgProjectSignalingIface *object, 1368s # guchar arg_arg_y) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1368s # arg_arg_y)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # /* coverity[missing_lock : SUPPRESS] */ 1368s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1368s # #else 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # skeleton->priv->changed_properties_idle_source = NULL; 1368s # #endif 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1368s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1368s # } 1368s # Error: 1368s # 1368s # /tmp/tmphasscs2x/tmp6pyvx8r4.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphasscs2x/tmp6pyvx8r4.xml', '--output', '-', '--body'] 1368s # Return code: 0 1368s # Output: 1368s # /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.SignalingIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectSignalingIface 1368s # * @title: OrgProjectSignalingIface 1368s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1368s # */ 1368s # 1368s # enum 1368s # { 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1368s # }; 1368s # 1368s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1368s # 1368s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SimpleSignal", 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "simple-signal" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_n", 1368s # (gchar *) "n", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalN", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-n" 1368s # }; 1368s # 1368s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.SignalingIface", 1368s # NULL, 1368s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-signaling-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_signaling_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_simple_signal ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VOID (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__INT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1368s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # /* GObject signals for received D-Bus signals: */ 1368s # /** 1368s # * OrgProjectSignalingIface::simple-signal: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1368s # g_signal_new ("simple-signal", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_simple_signal, 1368s # G_TYPE_NONE, 1368s # 0); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-n: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_arg_n: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1368s # g_signal_new ("single-arg-signal-n", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_INT); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_simple_signal: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * 1368s # * Emits the "SimpleSignal" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_simple_signal ( 1368s # OrgProjectSignalingIface *object) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_n: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_arg_n: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalN" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_n ( 1368s # OrgProjectSignalingIface *object, 1368s # gint16 arg_arg_n) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxy: 1368s # * 1368s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_signaling_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_signaling_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_signaling_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1368s # { 1368s # _org_project_signaling_iface_skeleton_handle_method_call, 1368s # _org_project_signaling_iface_skeleton_handle_get_property, 1368s # _org_project_signaling_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_signaling_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1368s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #else 1368s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #endif 1368s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_simple_signal ( 1368s # OrgProjectSignalingIface *object) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1368s # OrgProjectSignalingIface *object, 1368s # gint16 arg_arg_n) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1368s # arg_arg_n)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # /* coverity[missing_lock : SUPPRESS] */ 1368s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1368s # #else 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # skeleton->priv->changed_properties_idle_source = NULL; 1368s # #endif 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1368s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1368s # } 1368s # Error: 1368s # 1368s # /tmp/tmphasscs2x/tmptwfseih8.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphasscs2x/tmptwfseih8.xml', '--output', '-', '--body'] 1368s # Return code: 0 1368s # Output: 1368s # /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.SignalingIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectSignalingIface 1368s # * @title: OrgProjectSignalingIface 1368s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1368s # */ 1368s # 1368s # enum 1368s # { 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1368s # }; 1368s # 1368s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1368s # 1368s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SimpleSignal", 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "simple-signal" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_q", 1368s # (gchar *) "q", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalQ", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-q" 1368s # }; 1368s # 1368s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.SignalingIface", 1368s # NULL, 1368s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-signaling-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_signaling_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_simple_signal ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VOID (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__UINT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1368s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # /* GObject signals for received D-Bus signals: */ 1368s # /** 1368s # * OrgProjectSignalingIface::simple-signal: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1368s # g_signal_new ("simple-signal", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_simple_signal, 1368s # G_TYPE_NONE, 1368s # 0); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-q: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_arg_q: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1368s # g_signal_new ("single-arg-signal-q", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_UINT); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_simple_signal: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * 1368s # * Emits the "SimpleSignal" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_simple_signal ( 1368s # OrgProjectSignalingIface *object) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_q: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_arg_q: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalQ" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_q ( 1368s # OrgProjectSignalingIface *object, 1368s # guint16 arg_arg_q) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxy: 1368s # * 1368s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_signaling_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_signaling_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # g_value_init (&value, pspec->value_type); 1368s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1368s # g_value_unset (&value); 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _org_project_signaling_iface_skeleton_handle_set_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GVariant *variant, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # gboolean ret; 1368s # ret = FALSE; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1368s # else 1368s # { 1368s # if (info->use_gvariant) 1368s # g_value_set_variant (&value, variant); 1368s # else 1368s # g_dbus_gvariant_to_gvalue (variant, &value); 1368s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1368s # g_value_unset (&value); 1368s # ret = TRUE; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1368s # { 1368s # _org_project_signaling_iface_skeleton_handle_method_call, 1368s # _org_project_signaling_iface_skeleton_handle_get_property, 1368s # _org_project_signaling_iface_skeleton_handle_set_property, 1368s # {NULL} 1368s # }; 1368s # 1368s # static GDBusInterfaceInfo * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return org_project_signaling_iface_interface_info (); 1368s # } 1368s # 1368s # static GDBusInterfaceVTable * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1368s # { 1368s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1368s # } 1368s # 1368s # static GVariant * 1368s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1368s # 1368s # GVariantBuilder builder; 1368s # guint n; 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1368s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #else 1368s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1368s # #endif 1368s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1368s # goto out; 1368s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1368s # { 1368s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1368s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1368s # { 1368s # GVariant *value; 1368s # 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); 1368s # if (value != NULL) 1368s # { 1368s # g_variant_take_ref (value); 1368s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1368s # g_variant_unref (value); 1368s # } 1368s # } 1368s # } 1368s # out: 1368s # return g_variant_builder_end (&builder); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_simple_signal ( 1368s # OrgProjectSignalingIface *object) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void 1368s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1368s # OrgProjectSignalingIface *object, 1368s # guint16 arg_arg_q) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # 1368s # GList *connections, *l; 1368s # GVariant *signal_variant; 1368s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1368s # 1368s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1368s # arg_arg_q)); 1368s # for (l = connections; l != NULL; l = l->next) 1368s # { 1368s # GDBusConnection *connection = l->data; 1368s # g_dbus_connection_emit_signal (connection, 1368s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1368s # signal_variant, NULL); 1368s # } 1368s # g_variant_unref (signal_variant); 1368s # g_list_free_full (connections, g_object_unref); 1368s # } 1368s # 1368s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1368s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # /* coverity[missing_lock : SUPPRESS] */ 1368s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1368s # #else 1368s # if (skeleton->priv->changed_properties_idle_source != NULL) 1368s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1368s # skeleton->priv->changed_properties_idle_source = NULL; 1368s # #endif 1368s # g_main_context_unref (skeleton->priv->context); 1368s # g_mutex_clear (&skeleton->priv->lock); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1368s # #else 1368s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1368s # #endif 1368s # 1368s # g_mutex_init (&skeleton->priv->lock); 1368s # skeleton->priv->context = g_main_context_ref_thread_default (); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusInterfaceSkeletonClass *skeleton_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1368s # 1368s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1368s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1368s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1368s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1368s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1368s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_skeleton_new: 1368s # * 1368s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_skeleton_new (void) 1368s # { 1368s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1368s # } 1368s # Error: 1368s # 1368s # /tmp/tmphasscs2x/tmp7kuffxtw.xml: 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # 1368s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphasscs2x/tmp7kuffxtw.xml', '--output', '-', '--body'] 1368s # Return code: 0 1368s # Output: 1368s # /* 1368s # * This file is generated by gdbus-codegen, do not modify it. 1368s # * 1368s # * The license of this code is the same as for the D-Bus interface description 1368s # * it was derived from. Note that it links to GLib, so must comply with the 1368s # * LGPL linking clauses. 1368s # */ 1368s # 1368s # #ifdef HAVE_CONFIG_H 1368s # # include "config.h" 1368s # #endif 1368s # 1368s # #include 1368s # #ifdef G_OS_UNIX 1368s # # include 1368s # #endif 1368s # 1368s # #ifdef G_ENABLE_DEBUG 1368s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1368s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1368s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1368s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1368s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1368s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1368s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1368s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1368s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1368s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1368s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1368s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1368s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1368s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1368s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1368s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1368s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1368s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1368s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1368s # #else /* !G_ENABLE_DEBUG */ 1368s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1368s # * Do not access GValues directly in your code. Instead, use the 1368s # * g_value_get_*() functions 1368s # */ 1368s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1368s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1368s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1368s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1368s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1368s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1368s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1368s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1368s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1368s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1368s # #endif /* !G_ENABLE_DEBUG */ 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusArgInfo parent_struct; 1368s # gboolean use_gvariant; 1368s # } _ExtendedGDBusArgInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusMethodInfo parent_struct; 1368s # const gchar *signal_name; 1368s # gboolean pass_fdlist; 1368s # } _ExtendedGDBusMethodInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusSignalInfo parent_struct; 1368s # const gchar *signal_name; 1368s # } _ExtendedGDBusSignalInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusPropertyInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # guint use_gvariant : 1; 1368s # guint emits_changed_signal : 1; 1368s # } _ExtendedGDBusPropertyInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # GDBusInterfaceInfo parent_struct; 1368s # const gchar *hyphen_name; 1368s # } _ExtendedGDBusInterfaceInfo; 1368s # 1368s # typedef struct 1368s # { 1368s # const _ExtendedGDBusPropertyInfo *info; 1368s # guint prop_id; 1368s # GValue orig_value; /* the value before the change */ 1368s # } ChangedProperty; 1368s # 1368s # static void 1368s # _changed_property_free (ChangedProperty *data) 1368s # { 1368s # g_value_unset (&data->orig_value); 1368s # g_free (data); 1368s # } 1368s # 1368s # static gboolean 1368s # _g_strv_equal0 (gchar **a, gchar **b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # guint n; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # if (g_strv_length (a) != g_strv_length (b)) 1368s # goto out; 1368s # for (n = 0; a[n] != NULL; n++) 1368s # if (g_strcmp0 (a[n], b[n]) != 0) 1368s # goto out; 1368s # ret = TRUE; 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # static gboolean 1368s # _g_variant_equal0 (GVariant *a, GVariant *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # if (a == NULL && b == NULL) 1368s # { 1368s # ret = TRUE; 1368s # goto out; 1368s # } 1368s # if (a == NULL || b == NULL) 1368s # goto out; 1368s # ret = g_variant_equal (a, b); 1368s # out: 1368s # return ret; 1368s # } 1368s # 1368s # G_GNUC_UNUSED static gboolean 1368s # _g_value_equal (const GValue *a, const GValue *b) 1368s # { 1368s # gboolean ret = FALSE; 1368s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1368s # switch (G_VALUE_TYPE (a)) 1368s # { 1368s # case G_TYPE_BOOLEAN: 1368s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1368s # break; 1368s # case G_TYPE_UCHAR: 1368s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1368s # break; 1368s # case G_TYPE_INT: 1368s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1368s # break; 1368s # case G_TYPE_UINT: 1368s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1368s # break; 1368s # case G_TYPE_INT64: 1368s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1368s # break; 1368s # case G_TYPE_UINT64: 1368s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1368s # break; 1368s # case G_TYPE_DOUBLE: 1368s # { 1368s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1368s # gdouble da = g_value_get_double (a); 1368s # gdouble db = g_value_get_double (b); 1368s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1368s # } 1368s # break; 1368s # case G_TYPE_STRING: 1368s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1368s # break; 1368s # case G_TYPE_VARIANT: 1368s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1368s # break; 1368s # default: 1368s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1368s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1368s # else 1368s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1368s # break; 1368s # } 1368s # return ret; 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ 1368s # * Code for interface org.project.SignalingIface 1368s # * ------------------------------------------------------------------------ 1368s # */ 1368s # 1368s # /** 1368s # * SECTION:OrgProjectSignalingIface 1368s # * @title: OrgProjectSignalingIface 1368s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1368s # * 1368s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1368s # */ 1368s # 1368s # enum 1368s # { 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1368s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1368s # }; 1368s # 1368s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1368s # 1368s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SimpleSignal", 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "simple-signal" 1368s # }; 1368s # 1368s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "arg_i", 1368s # (gchar *) "i", 1368s # NULL 1368s # }, 1368s # FALSE 1368s # }; 1368s # 1368s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "SingleArgSignalI", 1368s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1368s # NULL 1368s # }, 1368s # "single-arg-signal-i" 1368s # }; 1368s # 1368s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1368s # { 1368s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1368s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1368s # NULL 1368s # }; 1368s # 1368s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1368s # { 1368s # { 1368s # -1, 1368s # (gchar *) "org.project.SignalingIface", 1368s # NULL, 1368s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1368s # NULL, 1368s # NULL 1368s # }, 1368s # "org-project-signaling-iface", 1368s # }; 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_interface_info: 1368s # * 1368s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1368s # * 1368s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1368s # */ 1368s # GDBusInterfaceInfo * 1368s # org_project_signaling_iface_interface_info (void) 1368s # { 1368s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_override_properties: 1368s # * @klass: The class structure for a #GObject derived class. 1368s # * @property_id_begin: The property id to assign to the first overridden property. 1368s # * 1368s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1368s # * The properties are overridden in the order they are defined. 1368s # * 1368s # * Returns: The last property id. 1368s # */ 1368s # guint 1368s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1368s # { 1368s # return property_id_begin - 1; 1368s # } 1368s # 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_simple_signal ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__VOID (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # inline static void 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1368s # GClosure *closure, 1368s # GValue *return_value, 1368s # unsigned int n_param_values, 1368s # const GValue *param_values, 1368s # void *invocation_hint, 1368s # void *marshal_data) 1368s # { 1368s # g_cclosure_marshal_VOID__INT (closure, 1368s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1368s # } 1368s # 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface: 1368s # * 1368s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceIface: 1368s # * @parent_iface: The parent interface. 1368s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1368s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1368s # * 1368s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1368s # */ 1368s # 1368s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1368s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1368s # 1368s # static void 1368s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1368s # { 1368s # /* GObject signals for received D-Bus signals: */ 1368s # /** 1368s # * OrgProjectSignalingIface::simple-signal: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1368s # g_signal_new ("simple-signal", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_simple_signal, 1368s # G_TYPE_NONE, 1368s # 0); 1368s # 1368s # /** 1368s # * OrgProjectSignalingIface::single-arg-signal-i: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_arg_i: Argument. 1368s # * 1368s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1368s # * 1368s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1368s # */ 1368s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1368s # g_signal_new ("single-arg-signal-i", 1368s # G_TYPE_FROM_INTERFACE (iface), 1368s # G_SIGNAL_RUN_LAST, 1368s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1368s # NULL, 1368s # NULL, 1368s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1368s # G_TYPE_NONE, 1368s # 1, G_TYPE_INT); 1368s # 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_simple_signal: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * 1368s # * Emits the "SimpleSignal" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_simple_signal ( 1368s # OrgProjectSignalingIface *object) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_emit_single_arg_signal_i: 1368s # * @object: A #OrgProjectSignalingIface. 1368s # * @arg_arg_i: Argument to pass with the signal. 1368s # * 1368s # * Emits the "SingleArgSignalI" D-Bus signal. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_emit_single_arg_signal_i ( 1368s # OrgProjectSignalingIface *object, 1368s # gint arg_arg_i) 1368s # { 1368s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1368s # } 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxy: 1368s # * 1368s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceProxyClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceProxy. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceProxyPrivate 1368s # { 1368s # GData *qdata; 1368s # }; 1368s # 1368s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #else 1368s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1368s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1368s # 1368s # #endif 1368s # static void 1368s # org_project_signaling_iface_proxy_finalize (GObject *object) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1368s # g_datalist_clear (&proxy->priv->qdata); 1368s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1368s # guint prop_id G_GNUC_UNUSED, 1368s # const GValue *value G_GNUC_UNUSED, 1368s # GParamSpec *pspec G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1368s # const gchar *sender_name G_GNUC_UNUSED, 1368s # const gchar *signal_name, 1368s # GVariant *parameters) 1368s # { 1368s # _ExtendedGDBusSignalInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # gsize n; 1368s # guint signal_id; 1368s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1368s # if (info == NULL) 1368s # return; 1368s # num_params = g_variant_n_children (parameters); 1368s # paramv = g_new0 (GValue, num_params + 1); 1368s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[0], proxy); 1368s # g_variant_iter_init (&iter, parameters); 1368s # n = 1; 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_signal_emitv (paramv, signal_id, 0, NULL); 1368s # for (n = 0; n < num_params + 1; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1368s # GVariant *changed_properties, 1368s # const gchar *const *invalidated_properties) 1368s # { 1368s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1368s # guint n; 1368s # const gchar *key; 1368s # GVariantIter *iter; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # g_variant_get (changed_properties, "a{sv}", &iter); 1368s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1368s # g_datalist_remove_data (&proxy->priv->qdata, key); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # g_variant_iter_free (iter); 1368s # for (n = 0; invalidated_properties[n] != NULL; n++) 1368s # { 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1368s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1368s # if (info != NULL) 1368s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1368s # } 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1368s # { 1368s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1368s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1368s # #else 1368s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1368s # #endif 1368s # 1368s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1368s # { 1368s # GObjectClass *gobject_class; 1368s # GDBusProxyClass *proxy_class; 1368s # 1368s # gobject_class = G_OBJECT_CLASS (klass); 1368s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1368s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1368s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1368s # 1368s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1368s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1368s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1368s # 1368s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1368s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1368s # #endif 1368s # } 1368s # 1368s # static void 1368s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1368s # { 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_sync: 1368s # * @connection: A #GDBusConnection. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_sync ( 1368s # GDBusConnection *connection, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1368s # * @user_data: User data to pass to @callback. 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1368s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1368s # */ 1368s # void 1368s # org_project_signaling_iface_proxy_new_for_bus ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GAsyncReadyCallback callback, 1368s # gpointer user_data) 1368s # { 1368s # 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); 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1368s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1368s # GAsyncResult *res, 1368s # GError **error) 1368s # { 1368s # GObject *ret; 1368s # GObject *source_object; 1368s # source_object = g_async_result_get_source_object (res); 1368s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1368s # g_object_unref (source_object); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # /** 1368s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1368s # * @bus_type: A #GBusType. 1368s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1368s # * @name: A bus name (well-known or unique). 1368s # * @object_path: An object path. 1368s # * @cancellable: (nullable): A #GCancellable or %NULL. 1368s # * @error: Return location for error or %NULL 1368s # * 1368s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1368s # * 1368s # * The calling thread is blocked until a reply is received. 1368s # * 1368s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1368s # * 1368s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1368s # */ 1368s # OrgProjectSignalingIface * 1368s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1368s # GBusType bus_type, 1368s # GDBusProxyFlags flags, 1368s # const gchar *name, 1368s # const gchar *object_path, 1368s # GCancellable *cancellable, 1368s # GError **error) 1368s # { 1368s # GInitable *ret; 1368s # 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); 1368s # if (ret != NULL) 1368s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1368s # else 1368s # return NULL; 1368s # } 1368s # 1368s # 1368s # /* ------------------------------------------------------------------------ */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeleton: 1368s # * 1368s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1368s # */ 1368s # 1368s # /** 1368s # * OrgProjectSignalingIfaceSkeletonClass: 1368s # * @parent_class: The parent class. 1368s # * 1368s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1368s # */ 1368s # 1368s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1368s # { 1368s # GValue *properties; 1368s # GList *changed_properties; 1368s # GSource *changed_properties_idle_source; 1368s # GMainContext *context; 1368s # GMutex lock; 1368s # }; 1368s # 1368s # static void 1368s # _org_project_signaling_iface_skeleton_handle_method_call ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name, 1368s # const gchar *method_name, 1368s # GVariant *parameters, 1368s # GDBusMethodInvocation *invocation, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # _ExtendedGDBusMethodInfo *info; 1368s # GVariantIter iter; 1368s # GVariant *child; 1368s # GValue *paramv; 1368s # gsize num_params; 1368s # guint num_extra; 1368s # gsize n; 1368s # guint signal_id; 1368s # GValue return_value = G_VALUE_INIT; 1368s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1368s # g_assert (info != NULL); 1368s # num_params = g_variant_n_children (parameters); 1368s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1368s # n = 0; 1368s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_set_object (¶mv[n++], skeleton); 1368s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1368s # g_value_set_object (¶mv[n++], invocation); 1368s # if (info->pass_fdlist) 1368s # { 1368s # #ifdef G_OS_UNIX 1368s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1368s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1368s # #else 1368s # g_assert_not_reached (); 1368s # #endif 1368s # } 1368s # g_variant_iter_init (&iter, parameters); 1368s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1368s # { 1368s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1368s # if (arg_info->use_gvariant) 1368s # { 1368s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1368s # g_value_set_variant (¶mv[n], child); 1368s # n++; 1368s # } 1368s # else 1368s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1368s # g_variant_unref (child); 1368s # } 1368s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1368s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1368s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1368s # if (!g_value_get_boolean (&return_value)) 1368s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1368s # g_value_unset (&return_value); 1368s # for (n = 0; n < num_params + num_extra; n++) 1368s # g_value_unset (¶mv[n]); 1368s # g_free (paramv); 1368s # } 1368s # 1368s # static GVariant * 1368s # _org_project_signaling_iface_skeleton_handle_get_property ( 1368s # GDBusConnection *connection G_GNUC_UNUSED, 1368s # const gchar *sender G_GNUC_UNUSED, 1368s # const gchar *object_path G_GNUC_UNUSED, 1368s # const gchar *interface_name G_GNUC_UNUSED, 1368s # const gchar *property_name, 1368s # GError **error, 1368s # gpointer user_data) 1368s # { 1368s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1368s # GValue value = G_VALUE_INIT; 1368s # GParamSpec *pspec; 1368s # _ExtendedGDBusPropertyInfo *info; 1368s # GVariant *ret; 1368s # ret = NULL; 1368s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1368s # g_assert (info != NULL); 1368s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1368s # if (pspec == NULL) 1368s # { 1368s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1368s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1369s # OrgProjectSignalingIface *object, 1369s # gint arg_arg_i) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1369s # arg_arg_i)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # Error: 1369s # 1369s # /tmp/tmphasscs2x/tmpw7qina31.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphasscs2x/tmpw7qina31.xml', '--output', '-', '--body'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_u", 1369s # (gchar *) "u", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalU", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-u" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__UINT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-u: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_u: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1369s # g_signal_new ("single-arg-signal-u", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_UINT); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_u: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_u: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalU" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_u ( 1369s # OrgProjectSignalingIface *object, 1369s # guint arg_arg_u) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1369s # OrgProjectSignalingIface *object, 1369s # guint arg_arg_u) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1369s # arg_arg_u)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # Error: 1369s # 1369s # /tmp/tmphasscs2x/tmpfa1xivc0.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphasscs2x/tmpfa1xivc0.xml', '--output', '-', '--body'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static void 1369s # _g_dbus_codegen_marshal_VOID__INT64 ( 1369s # GClosure *closure, 1369s # GValue *return_value G_GNUC_UNUSED, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint G_GNUC_UNUSED, 1369s # void *marshal_data) 1369s # { 1369s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1369s # (void *data1, 1369s # gint64 arg_arg_x, 1369s # void *data2); 1369s # _GDbusCodegenMarshalVoid_Int64Func callback; 1369s # GCClosure *cc = (GCClosure*) closure; 1369s # void *data1, *data2; 1369s # 1369s # g_return_if_fail (n_param_values == 2); 1369s # 1369s # if (G_CCLOSURE_SWAP_DATA (closure)) 1369s # { 1369s # data1 = closure->data; 1369s # data2 = g_value_peek_pointer (param_values + 0); 1369s # } 1369s # else 1369s # { 1369s # data1 = g_value_peek_pointer (param_values + 0); 1369s # data2 = closure->data; 1369s # } 1369s # 1369s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1369s # (marshal_data ? marshal_data : cc->callback); 1369s # 1369s # callback (data1, 1369s # g_marshal_value_peek_int64 (param_values + 1), 1369s # data2); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_x", 1369s # (gchar *) "x", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalX", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-x" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-x: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_x: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1369s # g_signal_new ("single-arg-signal-x", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_INT64); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_x: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_x: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalX" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_x ( 1369s # OrgProjectSignalingIface *object, 1369s # gint64 arg_arg_x) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1369s # OrgProjectSignalingIface *object, 1369s # gint64 arg_arg_x) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1369s # arg_arg_x)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # Error: 1369s # 1369s # /tmp/tmphasscs2x/tmpfz8vxicl.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphasscs2x/tmpfz8vxicl.xml', '--output', '-', '--body'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static void 1369s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1369s # GClosure *closure, 1369s # GValue *return_value G_GNUC_UNUSED, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint G_GNUC_UNUSED, 1369s # void *marshal_data) 1369s # { 1369s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1369s # (void *data1, 1369s # guint64 arg_arg_t, 1369s # void *data2); 1369s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1369s # GCClosure *cc = (GCClosure*) closure; 1369s # void *data1, *data2; 1369s # 1369s # g_return_if_fail (n_param_values == 2); 1369s # 1369s # if (G_CCLOSURE_SWAP_DATA (closure)) 1369s # { 1369s # data1 = closure->data; 1369s # data2 = g_value_peek_pointer (param_values + 0); 1369s # } 1369s # else 1369s # { 1369s # data1 = g_value_peek_pointer (param_values + 0); 1369s # data2 = closure->data; 1369s # } 1369s # 1369s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1369s # (marshal_data ? marshal_data : cc->callback); 1369s # 1369s # callback (data1, 1369s # g_marshal_value_peek_uint64 (param_values + 1), 1369s # data2); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_t", 1369s # (gchar *) "t", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalT", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-t" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-t: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_t: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1369s # g_signal_new ("single-arg-signal-t", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_UINT64); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_t: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_t: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalT" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_t ( 1369s # OrgProjectSignalingIface *object, 1369s # guint64 arg_arg_t) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1369s # OrgProjectSignalingIface *object, 1369s # guint64 arg_arg_t) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1369s # arg_arg_t)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # Error: 1369s # 1369s # /tmp/tmphasscs2x/tmp6d3q7q17.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphasscs2x/tmp6d3q7q17.xml', '--output', '-', '--body'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_d", 1369s # (gchar *) "d", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalD", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-d" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__DOUBLE (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-d: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_d: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1369s # g_signal_new ("single-arg-signal-d", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_DOUBLE); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_d: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_d: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalD" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_d ( 1369s # OrgProjectSignalingIface *object, 1369s # gdouble arg_arg_d) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1369s # OrgProjectSignalingIface *object, 1369s # gdouble arg_arg_d) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1369s # arg_arg_d)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # Error: 1369s # 1369s # /tmp/tmphasscs2x/tmpkatg8sqk.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphasscs2x/tmpkatg8sqk.xml', '--output', '-', '--body'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_s", 1369s # (gchar *) "s", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalS", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-s" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__STRING (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-s: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_s: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1369s # g_signal_new ("single-arg-signal-s", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_STRING); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_s: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_s: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalS" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_s ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *arg_arg_s) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *arg_arg_s) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1369s # arg_arg_s)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # Error: 1369s # 1369s # /tmp/tmphasscs2x/tmph5a267oe.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphasscs2x/tmph5a267oe.xml', '--output', '-', '--body'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_o", 1369s # (gchar *) "o", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalO", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-o" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__STRING (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-o: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_o: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1369s # g_signal_new ("single-arg-signal-o", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_STRING); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_o: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_o: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalO" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_o ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *arg_arg_o) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *arg_arg_o) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1369s # arg_arg_o)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # Error: 1369s # 1369s # /tmp/tmphasscs2x/tmpu7h33i3b.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphasscs2x/tmpu7h33i3b.xml', '--output', '-', '--body'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_g", 1369s # (gchar *) "g", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalG", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-g" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__STRING (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-g: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_g: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1369s # g_signal_new ("single-arg-signal-g", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_STRING); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_g: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_g: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalG" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_g ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *arg_arg_g) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *arg_arg_g) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1369s # arg_arg_g)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # Error: 1369s # 1369s # /tmp/tmphasscs2x/tmp8iovj9w9.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphasscs2x/tmp8iovj9w9.xml', '--output', '-', '--body'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_h", 1369s # (gchar *) "h", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalH", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-h" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VARIANT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-h: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_h: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1369s # g_signal_new ("single-arg-signal-h", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_VARIANT); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_h: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_h: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalH" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_h ( 1369s # OrgProjectSignalingIface *object, 1369s # GVariant *arg_arg_h) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1369s # OrgProjectSignalingIface *object, 1369s # GVariant *arg_arg_h) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1369s # arg_arg_h)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # Error: 1369s # 1369s # /tmp/tmphasscs2x/tmpkecaap_r.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphasscs2x/tmpkecaap_r.xml', '--output', '-', '--body'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_ay", 1369s # (gchar *) "ay", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalAy", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-ay" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__STRING (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-ay: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_ay: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1369s # g_signal_new ("single-arg-signal-ay", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_STRING); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_ay: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalAy" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *arg_arg_ay) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *arg_arg_ay) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1369s # arg_arg_ay)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # Error: 1369s # 1369s # /tmp/tmphasscs2x/tmp42hicav6.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphasscs2x/tmp42hicav6.xml', '--output', '-', '--body'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_as", 1369s # (gchar *) "as", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalAs", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-as" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__BOXED (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-as: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_as: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1369s # g_signal_new ("single-arg-signal-as", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_STRV); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_as: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_as: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalAs" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_as ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *const *arg_arg_as) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *const *arg_arg_as) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1369s # arg_arg_as)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # Error: 1369s # 1369s # /tmp/tmphasscs2x/tmps3hekrmq.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphasscs2x/tmps3hekrmq.xml', '--output', '-', '--body'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_ao", 1369s # (gchar *) "ao", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalAo", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-ao" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__BOXED (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-ao: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_ao: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1369s # g_signal_new ("single-arg-signal-ao", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_STRV); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_ao: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalAo" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *const *arg_arg_ao) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *const *arg_arg_ao) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1369s # arg_arg_ao)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # Error: 1369s # 1369s # /tmp/tmphasscs2x/tmppi_apy19.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphasscs2x/tmppi_apy19.xml', '--output', '-', '--body'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_aay", 1369s # (gchar *) "aay", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalAay", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-aay" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__BOXED (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-aay: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_aay: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1369s # g_signal_new ("single-arg-signal-aay", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_STRV); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_aay: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalAay" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *const *arg_arg_aay) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1369s # OrgProjectSignalingIface *object, 1369s # const gchar *const *arg_arg_aay) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1369s # arg_arg_aay)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # Error: 1369s # 1369s # /tmp/tmphasscs2x/tmp8sm_dolv.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphasscs2x/tmp8sm_dolv.xml', '--output', '-', '--body'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "arg_asv", 1369s # (gchar *) "a{sv}", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SingleArgSignalAsv", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "single-arg-signal-asv" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VARIANT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::single-arg-signal-asv: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_asv: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1369s # g_signal_new ("single-arg-signal-asv", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1369s # G_TYPE_NONE, 1369s # 1, G_TYPE_VARIANT); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_arg_asv: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1369s # OrgProjectSignalingIface *object, 1369s # GVariant *arg_arg_asv) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1369s # OrgProjectSignalingIface *object, 1369s # GVariant *arg_arg_asv) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1369s # arg_arg_asv)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # Error: 1369s ok 30 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1369s # gdbus-codegen: /usr/bin/gdbus-codegen 1369s # tmpdir: /tmp/tmpyj3dituk 1369s # /tmp/tmpyj3dituk/tmp457uldsz.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj3dituk/tmp457uldsz.xml', '--output', '-', '--body'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static void 1369s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1369s # GClosure *closure, 1369s # GValue *return_value G_GNUC_UNUSED, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint G_GNUC_UNUSED, 1369s # void *marshal_data) 1369s # { 1369s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1369s # (void *data1, 1369s # gboolean arg_an_b, 1369s # guchar arg_an_y, 1369s # gint16 arg_an_n, 1369s # guint16 arg_an_q, 1369s # gint arg_an_i, 1369s # guint arg_an_u, 1369s # gint64 arg_an_x, 1369s # guint64 arg_an_t, 1369s # gdouble arg_an_d, 1369s # const gchar *arg_an_s, 1369s # const gchar *arg_an_o, 1369s # const gchar *arg_an_g, 1369s # GVariant *arg_an_h, 1369s # const gchar *arg_an_ay, 1369s # const gchar *const *arg_an_as, 1369s # const gchar *const *arg_an_ao, 1369s # const gchar *const *arg_an_aay, 1369s # GVariant *arg_an_asv, 1369s # void *data2); 1369s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1369s # GCClosure *cc = (GCClosure*) closure; 1369s # void *data1, *data2; 1369s # 1369s # g_return_if_fail (n_param_values == 19); 1369s # 1369s # if (G_CCLOSURE_SWAP_DATA (closure)) 1369s # { 1369s # data1 = closure->data; 1369s # data2 = g_value_peek_pointer (param_values + 0); 1369s # } 1369s # else 1369s # { 1369s # data1 = g_value_peek_pointer (param_values + 0); 1369s # data2 = closure->data; 1369s # } 1369s # 1369s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1369s # (marshal_data ? marshal_data : cc->callback); 1369s # 1369s # callback (data1, 1369s # g_marshal_value_peek_boolean (param_values + 1), 1369s # g_marshal_value_peek_uchar (param_values + 2), 1369s # g_marshal_value_peek_int (param_values + 3), 1369s # g_marshal_value_peek_uint (param_values + 4), 1369s # g_marshal_value_peek_int (param_values + 5), 1369s # g_marshal_value_peek_uint (param_values + 6), 1369s # g_marshal_value_peek_int64 (param_values + 7), 1369s # g_marshal_value_peek_uint64 (param_values + 8), 1369s # g_marshal_value_peek_double (param_values + 9), 1369s # g_marshal_value_peek_string (param_values + 10), 1369s # g_marshal_value_peek_string (param_values + 11), 1369s # g_marshal_value_peek_string (param_values + 12), 1369s # g_marshal_value_peek_variant (param_values + 13), 1369s # g_marshal_value_peek_string (param_values + 14), 1369s # g_marshal_value_peek_boxed (param_values + 15), 1369s # g_marshal_value_peek_boxed (param_values + 16), 1369s # g_marshal_value_peek_boxed (param_values + 17), 1369s # g_marshal_value_peek_variant (param_values + 18), 1369s # data2); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.SignalingIface 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectSignalingIface 1369s # * @title: OrgProjectSignalingIface 1369s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1369s # }; 1369s # 1369s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1369s # 1369s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SimpleSignal", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "simple-signal" 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_b", 1369s # (gchar *) "b", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_y", 1369s # (gchar *) "y", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_n", 1369s # (gchar *) "n", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_q", 1369s # (gchar *) "q", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_i", 1369s # (gchar *) "i", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_u", 1369s # (gchar *) "u", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_x", 1369s # (gchar *) "x", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_t", 1369s # (gchar *) "t", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_d", 1369s # (gchar *) "d", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_s", 1369s # (gchar *) "s", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_o", 1369s # (gchar *) "o", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_g", 1369s # (gchar *) "g", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_h", 1369s # (gchar *) "h", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_ay", 1369s # (gchar *) "ay", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_as", 1369s # (gchar *) "as", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_ao", 1369s # (gchar *) "ao", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_aay", 1369s # (gchar *) "aay", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "an_asv", 1369s # (gchar *) "a{sv}", 1369s # NULL 1369s # }, 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "SignalWithManyArgs", 1369s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1369s # NULL 1369s # }, 1369s # "signal-with-many-args" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1369s # { 1369s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1369s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.SignalingIface", 1369s # NULL, 1369s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-signaling-iface", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_signaling_iface_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_simple_signal ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceIface: 1369s # * @parent_iface: The parent interface. 1369s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1369s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1369s # */ 1369s # 1369s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * OrgProjectSignalingIface::simple-signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1369s # g_signal_new ("simple-signal", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_simple_signal, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /** 1369s # * OrgProjectSignalingIface::signal-with-many-args: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_an_b: Argument. 1369s # * @arg_an_y: Argument. 1369s # * @arg_an_n: Argument. 1369s # * @arg_an_q: Argument. 1369s # * @arg_an_i: Argument. 1369s # * @arg_an_u: Argument. 1369s # * @arg_an_x: Argument. 1369s # * @arg_an_t: Argument. 1369s # * @arg_an_d: Argument. 1369s # * @arg_an_s: Argument. 1369s # * @arg_an_o: Argument. 1369s # * @arg_an_g: Argument. 1369s # * @arg_an_h: Argument. 1369s # * @arg_an_ay: Argument. 1369s # * @arg_an_as: Argument. 1369s # * @arg_an_ao: Argument. 1369s # * @arg_an_aay: Argument. 1369s # * @arg_an_asv: Argument. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1369s # g_signal_new ("signal-with-many-args", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1369s # NULL, 1369s # NULL, 1369s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1369s # G_TYPE_NONE, 1369s # 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); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_simple_signal: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * 1369s # * Emits the "SimpleSignal" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_emit_signal_with_many_args: 1369s # * @object: A #OrgProjectSignalingIface. 1369s # * @arg_an_b: Argument to pass with the signal. 1369s # * @arg_an_y: Argument to pass with the signal. 1369s # * @arg_an_n: Argument to pass with the signal. 1369s # * @arg_an_q: Argument to pass with the signal. 1369s # * @arg_an_i: Argument to pass with the signal. 1369s # * @arg_an_u: Argument to pass with the signal. 1369s # * @arg_an_x: Argument to pass with the signal. 1369s # * @arg_an_t: Argument to pass with the signal. 1369s # * @arg_an_d: Argument to pass with the signal. 1369s # * @arg_an_s: Argument to pass with the signal. 1369s # * @arg_an_o: Argument to pass with the signal. 1369s # * @arg_an_g: Argument to pass with the signal. 1369s # * @arg_an_h: Argument to pass with the signal. 1369s # * @arg_an_ay: Argument to pass with the signal. 1369s # * @arg_an_as: Argument to pass with the signal. 1369s # * @arg_an_ao: Argument to pass with the signal. 1369s # * @arg_an_aay: Argument to pass with the signal. 1369s # * @arg_an_asv: Argument to pass with the signal. 1369s # * 1369s # * Emits the "SignalWithManyArgs" D-Bus signal. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_emit_signal_with_many_args ( 1369s # OrgProjectSignalingIface *object, 1369s # gboolean arg_an_b, 1369s # guchar arg_an_y, 1369s # gint16 arg_an_n, 1369s # guint16 arg_an_q, 1369s # gint arg_an_i, 1369s # guint arg_an_u, 1369s # gint64 arg_an_x, 1369s # guint64 arg_an_t, 1369s # gdouble arg_an_d, 1369s # const gchar *arg_an_s, 1369s # const gchar *arg_an_o, 1369s # const gchar *arg_an_g, 1369s # GVariant *arg_an_h, 1369s # const gchar *arg_an_ay, 1369s # const gchar *const *arg_an_as, 1369s # const gchar *const *arg_an_ao, 1369s # const gchar *const *arg_an_aay, 1369s # GVariant *arg_an_asv) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxy: 1369s # * 1369s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1369s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1369s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_signaling_iface_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeleton: 1369s # * 1369s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectSignalingIfaceSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_signaling_iface_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_signaling_iface_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_signaling_iface_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1369s # { 1369s # _org_project_signaling_iface_skeleton_handle_method_call, 1369s # _org_project_signaling_iface_skeleton_handle_get_property, 1369s # _org_project_signaling_iface_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_signaling_iface_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_simple_signal ( 1369s # OrgProjectSignalingIface *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void 1369s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1369s # OrgProjectSignalingIface *object, 1369s # gboolean arg_an_b, 1369s # guchar arg_an_y, 1369s # gint16 arg_an_n, 1369s # guint16 arg_an_q, 1369s # gint arg_an_i, 1369s # guint arg_an_u, 1369s # gint64 arg_an_x, 1369s # guint64 arg_an_t, 1369s # gdouble arg_an_d, 1369s # const gchar *arg_an_s, 1369s # const gchar *arg_an_o, 1369s # const gchar *arg_an_g, 1369s # GVariant *arg_an_h, 1369s # const gchar *arg_an_ay, 1369s # const gchar *const *arg_an_as, 1369s # const gchar *const *arg_an_ao, 1369s # const gchar *const *arg_an_aay, 1369s # GVariant *arg_an_asv) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1369s # arg_an_b, 1369s # arg_an_y, 1369s # arg_an_n, 1369s # arg_an_q, 1369s # arg_an_i, 1369s # arg_an_u, 1369s # arg_an_x, 1369s # arg_an_t, 1369s # arg_an_d, 1369s # arg_an_s, 1369s # arg_an_o, 1369s # arg_an_g, 1369s # arg_an_h, 1369s # arg_an_ay, 1369s # arg_an_as, 1369s # arg_an_ao, 1369s # arg_an_aay, 1369s # arg_an_asv)); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1369s # { 1369s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1369s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1369s # } 1369s # 1369s # /** 1369s # * org_project_signaling_iface_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectSignalingIface * 1369s # org_project_signaling_iface_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1369s # } 1369s # Error: 1369s ok 31 __main__.TestCodegen.test_generate_valid_docbook 1369s # gdbus-codegen: /usr/bin/gdbus-codegen 1369s # tmpdir: /tmp/tmp8yj86_fh 1369s # /tmp/tmp8yj86_fh/tmpgipxqxos.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8yj86_fh/tmpgipxqxos.xml', '--generate-docbook', 'test'] 1369s # Return code: 0 1369s # Output: 1369s # 1369s # Error: 1369s ok 32 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1369s # gdbus-codegen: /usr/bin/gdbus-codegen 1369s # tmpdir: /tmp/tmpj7y0zm0n 1369s # /tmp/tmpj7y0zm0n/tmp2_bml7fx.xml: 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj7y0zm0n/tmp2_bml7fx.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1369s # Return code: 1 1369s # Output: 1369s # 1369s # Error: 1369s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 1369s ok 33 __main__.TestCodegen.test_glib_max_allowed_major_only 1369s # gdbus-codegen: /usr/bin/gdbus-codegen 1369s # tmpdir: /tmp/tmp1y9xp2t0 1369s # /tmp/tmp1y9xp2t0/tmp3xoo5nx7.xml: 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1y9xp2t0/tmp3xoo5nx7.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifndef __STDOUT__ 1369s # #define __STDOUT__ 1369s # 1369s # #include 1369s # 1369s # G_BEGIN_DECLS 1369s # 1369s # 1369s # G_END_DECLS 1369s # 1369s # #endif /* __STDOUT__ */ 1369s # Error: 1369s ok 34 __main__.TestCodegen.test_glib_max_allowed_too_low 1369s # gdbus-codegen: /usr/bin/gdbus-codegen 1369s # tmpdir: /tmp/tmpaz79ku5w 1369s # /tmp/tmpaz79ku5w/tmpqk96rvoi.xml: 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaz79ku5w/tmpqk96rvoi.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1369s # Return code: 1 1369s # Output: 1369s # 1369s # Error: 1369s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 1369s ok 35 __main__.TestCodegen.test_glib_max_allowed_unstable 1369s # gdbus-codegen: /usr/bin/gdbus-codegen 1369s # tmpdir: /tmp/tmpeb7nw6vt 1369s # /tmp/tmpeb7nw6vt/tmp5narz1sd.xml: 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeb7nw6vt/tmp5narz1sd.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifndef __STDOUT__ 1369s # #define __STDOUT__ 1369s # 1369s # #include 1369s # 1369s # G_BEGIN_DECLS 1369s # 1369s # 1369s # G_END_DECLS 1369s # 1369s # #endif /* __STDOUT__ */ 1369s # Error: 1369s ok 36 __main__.TestCodegen.test_glib_max_allowed_with_micro 1369s # gdbus-codegen: /usr/bin/gdbus-codegen 1369s # tmpdir: /tmp/tmp_fhylyuu 1369s # /tmp/tmp_fhylyuu/tmpe_fgqhzj.xml: 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_fhylyuu/tmpe_fgqhzj.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifndef __STDOUT__ 1369s # #define __STDOUT__ 1369s # 1369s # #include 1369s # 1369s # G_BEGIN_DECLS 1369s # 1369s # 1369s # G_END_DECLS 1369s # 1369s # #endif /* __STDOUT__ */ 1369s # Error: 1369s ok 37 __main__.TestCodegen.test_glib_min_required_invalid 1369s # gdbus-codegen: /usr/bin/gdbus-codegen 1369s # tmpdir: /tmp/tmpwppz47zz 1369s # /tmp/tmpwppz47zz/tmph7q4gqtv.xml: 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwppz47zz/tmph7q4gqtv.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1369s # Return code: 1 1369s # Output: 1369s # 1369s # Error: 1369s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 1369s ok 38 __main__.TestCodegen.test_glib_min_required_major_only 1369s # gdbus-codegen: /usr/bin/gdbus-codegen 1369s # tmpdir: /tmp/tmp2exgs4cp 1369s # /tmp/tmp2exgs4cp/tmpgvix58si.xml: 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2exgs4cp/tmpgvix58si.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifndef __STDOUT__ 1369s # #define __STDOUT__ 1369s # 1369s # #include 1369s # 1369s # G_BEGIN_DECLS 1369s # 1369s # 1369s # G_END_DECLS 1369s # 1369s # #endif /* __STDOUT__ */ 1369s # Error: 1369s ok 39 __main__.TestCodegen.test_glib_min_required_too_low 1369s # gdbus-codegen: /usr/bin/gdbus-codegen 1369s # tmpdir: /tmp/tmp9_2ht5fp 1369s # /tmp/tmp9_2ht5fp/tmppj4aknch.xml: 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9_2ht5fp/tmppj4aknch.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1369s # Return code: 1 1369s # Output: 1369s # 1369s # Error: 1369s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 1369s ok 40 __main__.TestCodegen.test_glib_min_required_with_micro 1369s # gdbus-codegen: /usr/bin/gdbus-codegen 1369s # tmpdir: /tmp/tmpeaclvg3i 1369s # /tmp/tmpeaclvg3i/tmpxazly7ha.xml: 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeaclvg3i/tmpxazly7ha.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifndef __STDOUT__ 1369s # #define __STDOUT__ 1369s # 1369s # #include 1369s # 1369s # G_BEGIN_DECLS 1369s # 1369s # 1369s # G_END_DECLS 1369s # 1369s # #endif /* __STDOUT__ */ 1369s # Error: 1369s ok 41 __main__.TestCodegen.test_help 1369s # gdbus-codegen: /usr/bin/gdbus-codegen 1369s # tmpdir: /tmp/tmpkjyo1eag 1369s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1369s # Return code: 0 1369s # Output: 1369s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1369s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1369s # [--c-generate-autocleanup {none,objects,all}] 1369s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1369s # [--generate-rst OUTFILES] [--pragma-once] 1369s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1369s # [--glib-min-required VERSION] 1369s # [--glib-max-allowed VERSION] 1369s # [--symbol-decorator SYMBOL_DECORATOR] 1369s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1369s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1369s # [--extension-path EXTENSION_PATH] 1369s # [--generate-c-code OUTFILES | --header | --body | 1369s # --interface-info-header | --interface-info-body] 1369s # [--output FILE | --output-directory OUTDIR] 1369s # FILE [FILE ...] 1369s # 1369s # D-Bus code and documentation generator 1369s # 1369s # positional arguments: 1369s # FILE D-Bus introspection XML file 1369s # 1369s # options: 1369s # -h, --help show this help message and exit 1369s # --interface-prefix PREFIX 1369s # String to strip from D-Bus interface names for code 1369s # and docs 1369s # --c-namespace NAMESPACE 1369s # The namespace to use for generated C code 1369s # --c-generate-object-manager 1369s # Generate a GDBusObjectManagerClient subclass when 1369s # generating C code 1369s # --c-generate-autocleanup {none,objects,all} 1369s # Generate autocleanup support 1369s # --generate-docbook OUTFILES 1369s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1369s # --generate-md OUTFILES 1369s # Generate Markdown in OUTFILES-org.Project.IFace.md 1369s # --generate-rst OUTFILES 1369s # Generate reStructuredText in OUTFILES- 1369s # org.Project.IFace.rst 1369s # --pragma-once Use "pragma once" as the inclusion guard 1369s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1369s # Add annotation (may be used several times) 1369s # --glib-min-required VERSION 1369s # Minimum version of GLib to be supported by the 1369s # outputted code (default: 2.30) 1369s # --glib-max-allowed VERSION 1369s # Maximum version of GLib to be used by the outputted 1369s # code (default: current GLib version) 1369s # --symbol-decorator SYMBOL_DECORATOR 1369s # Macro used to decorate a symbol in the outputted 1369s # header, possibly to export symbols 1369s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1369s # Additional header required for decorator specified by 1369s # --symbol-decorator 1369s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1369s # Additional define required for decorator specified by 1369s # --symbol-decorator 1369s # --extension-path EXTENSION_PATH 1369s # Path to a gdbus-codegen Python extension file 1369s # (unstable API) 1369s # --generate-c-code OUTFILES 1369s # Generate C code in OUTFILES.[ch] 1369s # --header Generate C headers 1369s # --body Generate C code 1369s # --interface-info-header 1369s # Generate GDBusInterfaceInfo C header 1369s # --interface-info-body 1369s # Generate GDBusInterfaceInfo C code 1369s # --output FILE Write output into the specified file 1369s # --output-directory OUTDIR 1369s # Location to output generated files 1369s # Error: 1369s ok 42 __main__.TestCodegen.test_indentation_preservation_in_comments 1369s # gdbus-codegen: /usr/bin/gdbus-codegen 1369s # tmpdir: /tmp/tmpitkowd8x 1369s # /tmp/tmpitkowd8x/tmpbbs7ok4e.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpitkowd8x/tmpbbs7ok4e.xml', '--generate-rst', 'test'] 1369s # Return code: 0 1369s # Output: 1369s # 1369s # Error: 1369s # 1369s # /tmp/tmpitkowd8x/tmp9cf82st1.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpitkowd8x/tmp9cf82st1.xml', '--generate-md', 'test'] 1369s # Return code: 0 1369s # Output: 1369s # 1369s # Error: 1369s # 1369s # /tmp/tmpitkowd8x/tmpvz3zhx93.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpitkowd8x/tmpvz3zhx93.xml', '--generate-docbook', 'test'] 1369s # Return code: 0 1369s # Output: 1369s # 1369s # Error: 1369s ok 43 __main__.TestCodegen.test_no_args 1369s # gdbus-codegen: /usr/bin/gdbus-codegen 1369s # tmpdir: /tmp/tmph9e0tpc2 1369s # Running: ['/usr/bin/gdbus-codegen'] 1369s # Return code: 2 1369s # Output: 1369s # 1369s # Error: 1369s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1369s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1369s # [--c-generate-autocleanup {none,objects,all}] 1369s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1369s # [--generate-rst OUTFILES] [--pragma-once] 1369s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1369s # [--glib-min-required VERSION] 1369s # [--glib-max-allowed VERSION] 1369s # [--symbol-decorator SYMBOL_DECORATOR] 1369s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1369s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1369s # [--extension-path EXTENSION_PATH] 1369s # [--generate-c-code OUTFILES | --header | --body | 1369s # --interface-info-header | --interface-info-body] 1369s # [--output FILE | --output-directory OUTDIR] 1369s # FILE [FILE ...] 1369s # gdbus-codegen: error: the following arguments are required: FILE 1369s ok 44 __main__.TestCodegen.test_reproducible 1369s # gdbus-codegen: /usr/bin/gdbus-codegen 1369s # tmpdir: /tmp/tmpo433y82j 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo433y82j/tmpsoc7hx551.xml', '/tmp/tmpo433y82j/tmpy2kvzb6p2.xml', '--output', '-', '--header'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifndef __STDOUT__ 1369s # #define __STDOUT__ 1369s # 1369s # #include 1369s # 1369s # G_BEGIN_DECLS 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # /* Declarations for com.acme.Coyote */ 1369s # 1369s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1369s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1369s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1369s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1369s # 1369s # struct _ComAcmeCoyote; 1369s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1369s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1369s # 1369s # struct _ComAcmeCoyoteIface 1369s # { 1369s # GTypeInterface parent_iface; 1369s # 1369s # 1369s # 1369s # gboolean (*handle_attack) ( 1369s # ComAcmeCoyote *object, 1369s # GDBusMethodInvocation *invocation); 1369s # 1369s # gboolean (*handle_run) ( 1369s # ComAcmeCoyote *object, 1369s # GDBusMethodInvocation *invocation); 1369s # 1369s # gboolean (*handle_sleep) ( 1369s # ComAcmeCoyote *object, 1369s # GDBusMethodInvocation *invocation); 1369s # 1369s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1369s # 1369s # void (*surprised) ( 1369s # ComAcmeCoyote *object); 1369s # 1369s # }; 1369s # 1369s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1369s # 1369s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1369s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1369s # 1369s # 1369s # /* D-Bus method call completion functions: */ 1369s # void com_acme_coyote_complete_run ( 1369s # ComAcmeCoyote *object, 1369s # GDBusMethodInvocation *invocation); 1369s # 1369s # void com_acme_coyote_complete_sleep ( 1369s # ComAcmeCoyote *object, 1369s # GDBusMethodInvocation *invocation); 1369s # 1369s # void com_acme_coyote_complete_attack ( 1369s # ComAcmeCoyote *object, 1369s # GDBusMethodInvocation *invocation); 1369s # 1369s # 1369s # 1369s # /* D-Bus signal emissions functions: */ 1369s # void com_acme_coyote_emit_surprised ( 1369s # ComAcmeCoyote *object); 1369s # 1369s # 1369s # 1369s # /* D-Bus method calls: */ 1369s # void com_acme_coyote_call_run ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # 1369s # gboolean com_acme_coyote_call_run_finish ( 1369s # ComAcmeCoyote *proxy, 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # 1369s # gboolean com_acme_coyote_call_run_sync ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # void com_acme_coyote_call_sleep ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # 1369s # gboolean com_acme_coyote_call_sleep_finish ( 1369s # ComAcmeCoyote *proxy, 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # 1369s # gboolean com_acme_coyote_call_sleep_sync ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # void com_acme_coyote_call_attack ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # 1369s # gboolean com_acme_coyote_call_attack_finish ( 1369s # ComAcmeCoyote *proxy, 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # 1369s # gboolean com_acme_coyote_call_attack_sync ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # 1369s # 1369s # /* D-Bus property accessors: */ 1369s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1369s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1369s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1369s # 1369s # 1369s # /* ---- */ 1369s # 1369s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1369s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1369s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1369s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1369s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1369s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1369s # 1369s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1369s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1369s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1369s # 1369s # struct _ComAcmeCoyoteProxy 1369s # { 1369s # /*< private >*/ 1369s # GDBusProxy parent_instance; 1369s # ComAcmeCoyoteProxyPrivate *priv; 1369s # }; 1369s # 1369s # struct _ComAcmeCoyoteProxyClass 1369s # { 1369s # GDBusProxyClass parent_class; 1369s # }; 1369s # 1369s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1369s # 1369s # #if GLIB_CHECK_VERSION(2, 44, 0) 1369s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1369s # #endif 1369s # 1369s # void com_acme_coyote_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # void com_acme_coyote_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # 1369s # /* ---- */ 1369s # 1369s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1369s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1369s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1369s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1369s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1369s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1369s # 1369s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1369s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1369s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1369s # 1369s # struct _ComAcmeCoyoteSkeleton 1369s # { 1369s # /*< private >*/ 1369s # GDBusInterfaceSkeleton parent_instance; 1369s # ComAcmeCoyoteSkeletonPrivate *priv; 1369s # }; 1369s # 1369s # struct _ComAcmeCoyoteSkeletonClass 1369s # { 1369s # GDBusInterfaceSkeletonClass parent_class; 1369s # }; 1369s # 1369s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1369s # 1369s # #if GLIB_CHECK_VERSION(2, 44, 0) 1369s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1369s # #endif 1369s # 1369s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # /* Declarations for org.project.Bar.Frobnicator */ 1369s # 1369s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1369s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1369s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1369s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1369s # 1369s # struct _OrgProjectBarFrobnicator; 1369s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1369s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1369s # 1369s # struct _OrgProjectBarFrobnicatorIface 1369s # { 1369s # GTypeInterface parent_iface; 1369s # 1369s # gboolean (*handle_random_method) ( 1369s # OrgProjectBarFrobnicator *object, 1369s # GDBusMethodInvocation *invocation); 1369s # 1369s # }; 1369s # 1369s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1369s # 1369s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1369s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1369s # 1369s # 1369s # /* D-Bus method call completion functions: */ 1369s # void org_project_bar_frobnicator_complete_random_method ( 1369s # OrgProjectBarFrobnicator *object, 1369s # GDBusMethodInvocation *invocation); 1369s # 1369s # 1369s # 1369s # /* D-Bus method calls: */ 1369s # void org_project_bar_frobnicator_call_random_method ( 1369s # OrgProjectBarFrobnicator *proxy, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # 1369s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1369s # OrgProjectBarFrobnicator *proxy, 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # 1369s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1369s # OrgProjectBarFrobnicator *proxy, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # 1369s # 1369s # /* ---- */ 1369s # 1369s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1369s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1369s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1369s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1369s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1369s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1369s # 1369s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1369s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1369s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1369s # 1369s # struct _OrgProjectBarFrobnicatorProxy 1369s # { 1369s # /*< private >*/ 1369s # GDBusProxy parent_instance; 1369s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1369s # }; 1369s # 1369s # struct _OrgProjectBarFrobnicatorProxyClass 1369s # { 1369s # GDBusProxyClass parent_class; 1369s # }; 1369s # 1369s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1369s # 1369s # #if GLIB_CHECK_VERSION(2, 44, 0) 1369s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1369s # #endif 1369s # 1369s # void org_project_bar_frobnicator_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # 1369s # /* ---- */ 1369s # 1369s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1369s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1369s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1369s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1369s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1369s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1369s # 1369s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1369s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1369s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1369s # 1369s # struct _OrgProjectBarFrobnicatorSkeleton 1369s # { 1369s # /*< private >*/ 1369s # GDBusInterfaceSkeleton parent_instance; 1369s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1369s # }; 1369s # 1369s # struct _OrgProjectBarFrobnicatorSkeletonClass 1369s # { 1369s # GDBusInterfaceSkeletonClass parent_class; 1369s # }; 1369s # 1369s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1369s # 1369s # #if GLIB_CHECK_VERSION(2, 44, 0) 1369s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1369s # #endif 1369s # 1369s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1369s # 1369s # 1369s # G_END_DECLS 1369s # 1369s # #endif /* __STDOUT__ */ 1369s # Error: 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo433y82j/tmpy2kvzb6p2.xml', '/tmp/tmpo433y82j/tmpsoc7hx551.xml', '--output', '-', '--header'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifndef __STDOUT__ 1369s # #define __STDOUT__ 1369s # 1369s # #include 1369s # 1369s # G_BEGIN_DECLS 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # /* Declarations for com.acme.Coyote */ 1369s # 1369s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1369s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1369s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1369s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1369s # 1369s # struct _ComAcmeCoyote; 1369s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1369s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1369s # 1369s # struct _ComAcmeCoyoteIface 1369s # { 1369s # GTypeInterface parent_iface; 1369s # 1369s # 1369s # 1369s # gboolean (*handle_attack) ( 1369s # ComAcmeCoyote *object, 1369s # GDBusMethodInvocation *invocation); 1369s # 1369s # gboolean (*handle_run) ( 1369s # ComAcmeCoyote *object, 1369s # GDBusMethodInvocation *invocation); 1369s # 1369s # gboolean (*handle_sleep) ( 1369s # ComAcmeCoyote *object, 1369s # GDBusMethodInvocation *invocation); 1369s # 1369s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1369s # 1369s # void (*surprised) ( 1369s # ComAcmeCoyote *object); 1369s # 1369s # }; 1369s # 1369s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1369s # 1369s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1369s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1369s # 1369s # 1369s # /* D-Bus method call completion functions: */ 1369s # void com_acme_coyote_complete_run ( 1369s # ComAcmeCoyote *object, 1369s # GDBusMethodInvocation *invocation); 1369s # 1369s # void com_acme_coyote_complete_sleep ( 1369s # ComAcmeCoyote *object, 1369s # GDBusMethodInvocation *invocation); 1369s # 1369s # void com_acme_coyote_complete_attack ( 1369s # ComAcmeCoyote *object, 1369s # GDBusMethodInvocation *invocation); 1369s # 1369s # 1369s # 1369s # /* D-Bus signal emissions functions: */ 1369s # void com_acme_coyote_emit_surprised ( 1369s # ComAcmeCoyote *object); 1369s # 1369s # 1369s # 1369s # /* D-Bus method calls: */ 1369s # void com_acme_coyote_call_run ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # 1369s # gboolean com_acme_coyote_call_run_finish ( 1369s # ComAcmeCoyote *proxy, 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # 1369s # gboolean com_acme_coyote_call_run_sync ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # void com_acme_coyote_call_sleep ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # 1369s # gboolean com_acme_coyote_call_sleep_finish ( 1369s # ComAcmeCoyote *proxy, 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # 1369s # gboolean com_acme_coyote_call_sleep_sync ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # void com_acme_coyote_call_attack ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # 1369s # gboolean com_acme_coyote_call_attack_finish ( 1369s # ComAcmeCoyote *proxy, 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # 1369s # gboolean com_acme_coyote_call_attack_sync ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # 1369s # 1369s # /* D-Bus property accessors: */ 1369s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1369s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1369s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1369s # 1369s # 1369s # /* ---- */ 1369s # 1369s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1369s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1369s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1369s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1369s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1369s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1369s # 1369s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1369s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1369s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1369s # 1369s # struct _ComAcmeCoyoteProxy 1369s # { 1369s # /*< private >*/ 1369s # GDBusProxy parent_instance; 1369s # ComAcmeCoyoteProxyPrivate *priv; 1369s # }; 1369s # 1369s # struct _ComAcmeCoyoteProxyClass 1369s # { 1369s # GDBusProxyClass parent_class; 1369s # }; 1369s # 1369s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1369s # 1369s # #if GLIB_CHECK_VERSION(2, 44, 0) 1369s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1369s # #endif 1369s # 1369s # void com_acme_coyote_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # void com_acme_coyote_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # 1369s # /* ---- */ 1369s # 1369s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1369s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1369s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1369s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1369s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1369s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1369s # 1369s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1369s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1369s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1369s # 1369s # struct _ComAcmeCoyoteSkeleton 1369s # { 1369s # /*< private >*/ 1369s # GDBusInterfaceSkeleton parent_instance; 1369s # ComAcmeCoyoteSkeletonPrivate *priv; 1369s # }; 1369s # 1369s # struct _ComAcmeCoyoteSkeletonClass 1369s # { 1369s # GDBusInterfaceSkeletonClass parent_class; 1369s # }; 1369s # 1369s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1369s # 1369s # #if GLIB_CHECK_VERSION(2, 44, 0) 1369s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1369s # #endif 1369s # 1369s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # /* Declarations for org.project.Bar.Frobnicator */ 1369s # 1369s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1369s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1369s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1369s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1369s # 1369s # struct _OrgProjectBarFrobnicator; 1369s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1369s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1369s # 1369s # struct _OrgProjectBarFrobnicatorIface 1369s # { 1369s # GTypeInterface parent_iface; 1369s # 1369s # gboolean (*handle_random_method) ( 1369s # OrgProjectBarFrobnicator *object, 1369s # GDBusMethodInvocation *invocation); 1369s # 1369s # }; 1369s # 1369s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1369s # 1369s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1369s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1369s # 1369s # 1369s # /* D-Bus method call completion functions: */ 1369s # void org_project_bar_frobnicator_complete_random_method ( 1369s # OrgProjectBarFrobnicator *object, 1369s # GDBusMethodInvocation *invocation); 1369s # 1369s # 1369s # 1369s # /* D-Bus method calls: */ 1369s # void org_project_bar_frobnicator_call_random_method ( 1369s # OrgProjectBarFrobnicator *proxy, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # 1369s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1369s # OrgProjectBarFrobnicator *proxy, 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # 1369s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1369s # OrgProjectBarFrobnicator *proxy, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # 1369s # 1369s # /* ---- */ 1369s # 1369s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1369s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1369s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1369s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1369s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1369s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1369s # 1369s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1369s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1369s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1369s # 1369s # struct _OrgProjectBarFrobnicatorProxy 1369s # { 1369s # /*< private >*/ 1369s # GDBusProxy parent_instance; 1369s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1369s # }; 1369s # 1369s # struct _OrgProjectBarFrobnicatorProxyClass 1369s # { 1369s # GDBusProxyClass parent_class; 1369s # }; 1369s # 1369s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1369s # 1369s # #if GLIB_CHECK_VERSION(2, 44, 0) 1369s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1369s # #endif 1369s # 1369s # void org_project_bar_frobnicator_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # 1369s # /* ---- */ 1369s # 1369s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1369s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1369s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1369s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1369s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1369s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1369s # 1369s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1369s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1369s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1369s # 1369s # struct _OrgProjectBarFrobnicatorSkeleton 1369s # { 1369s # /*< private >*/ 1369s # GDBusInterfaceSkeleton parent_instance; 1369s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1369s # }; 1369s # 1369s # struct _OrgProjectBarFrobnicatorSkeletonClass 1369s # { 1369s # GDBusInterfaceSkeletonClass parent_class; 1369s # }; 1369s # 1369s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1369s # 1369s # #if GLIB_CHECK_VERSION(2, 44, 0) 1369s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1369s # #endif 1369s # 1369s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1369s # 1369s # 1369s # G_END_DECLS 1369s # 1369s # #endif /* __STDOUT__ */ 1369s # Error: 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo433y82j/tmpsoc7hx551.xml', '/tmp/tmpo433y82j/tmpy2kvzb6p2.xml', '--output', '-', '--body'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static void 1369s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint G_GNUC_UNUSED, 1369s # void *marshal_data) 1369s # { 1369s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1369s # (void *data1, 1369s # GDBusMethodInvocation *arg_method_invocation, 1369s # void *data2); 1369s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1369s # GCClosure *cc = (GCClosure*) closure; 1369s # void *data1, *data2; 1369s # gboolean v_return; 1369s # 1369s # g_return_if_fail (return_value != NULL); 1369s # g_return_if_fail (n_param_values == 2); 1369s # 1369s # if (G_CCLOSURE_SWAP_DATA (closure)) 1369s # { 1369s # data1 = closure->data; 1369s # data2 = g_value_peek_pointer (param_values + 0); 1369s # } 1369s # else 1369s # { 1369s # data1 = g_value_peek_pointer (param_values + 0); 1369s # data2 = closure->data; 1369s # } 1369s # 1369s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1369s # (marshal_data ? marshal_data : cc->callback); 1369s # 1369s # v_return = 1369s # callback (data1, 1369s # g_marshal_value_peek_object (param_values + 1), 1369s # data2); 1369s # 1369s # g_value_set_boolean (return_value, v_return); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface com.acme.Coyote 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:ComAcmeCoyote 1369s # * @title: ComAcmeCoyote 1369s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1369s # * 1369s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _COM_ACME_COYOTE_SURPRISED, 1369s # }; 1369s # 1369s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1369s # 1369s # /* ---- Introspection data for com.acme.Coyote ---- */ 1369s # 1369s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "Run", 1369s # NULL, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "handle-run", 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "Sleep", 1369s # NULL, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "handle-sleep", 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "Attack", 1369s # NULL, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "handle-attack", 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1369s # { 1369s # &_com_acme_coyote_method_info_run.parent_struct, 1369s # &_com_acme_coyote_method_info_sleep.parent_struct, 1369s # &_com_acme_coyote_method_info_attack.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "Surprised", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "surprised" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1369s # { 1369s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "Mood", 1369s # (gchar *) "s", 1369s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1369s # NULL 1369s # }, 1369s # "mood", 1369s # FALSE, 1369s # TRUE 1369s # }; 1369s # 1369s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1369s # { 1369s # &_com_acme_coyote_property_info_mood.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "com.acme.Coyote", 1369s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1369s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1369s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1369s # NULL 1369s # }, 1369s # "com-acme-coyote", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * com_acme_coyote_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # com_acme_coyote_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1369s # { 1369s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # com_acme_coyote_signal_marshal_surprised ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # com_acme_coyote_method_marshal_run ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # com_acme_coyote_method_marshal_sleep ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # com_acme_coyote_method_marshal_attack ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * ComAcmeCoyote: 1369s # * 1369s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1369s # */ 1369s # 1369s # /** 1369s # * ComAcmeCoyoteIface: 1369s # * @parent_iface: The parent interface. 1369s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1369s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1369s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1369s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1369s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1369s # * 1369s # * Virtual table for the D-Bus interface com.acme.Coyote. 1369s # */ 1369s # 1369s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1369s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1369s # { 1369s # /* GObject signals for incoming D-Bus method calls: */ 1369s # /** 1369s # * ComAcmeCoyote::handle-run: 1369s # * @object: A #ComAcmeCoyote. 1369s # * @invocation: A #GDBusMethodInvocation. 1369s # * 1369s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1369s # * 1369s # * 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. 1369s # * 1369s # * 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. 1369s # */ 1369s # g_signal_new ("handle-run", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1369s # g_signal_accumulator_true_handled, 1369s # NULL, 1369s # com_acme_coyote_method_marshal_run, 1369s # G_TYPE_BOOLEAN, 1369s # 1, 1369s # G_TYPE_DBUS_METHOD_INVOCATION); 1369s # 1369s # /** 1369s # * ComAcmeCoyote::handle-sleep: 1369s # * @object: A #ComAcmeCoyote. 1369s # * @invocation: A #GDBusMethodInvocation. 1369s # * 1369s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1369s # * 1369s # * 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. 1369s # * 1369s # * 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. 1369s # */ 1369s # g_signal_new ("handle-sleep", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1369s # g_signal_accumulator_true_handled, 1369s # NULL, 1369s # com_acme_coyote_method_marshal_sleep, 1369s # G_TYPE_BOOLEAN, 1369s # 1, 1369s # G_TYPE_DBUS_METHOD_INVOCATION); 1369s # 1369s # /** 1369s # * ComAcmeCoyote::handle-attack: 1369s # * @object: A #ComAcmeCoyote. 1369s # * @invocation: A #GDBusMethodInvocation. 1369s # * 1369s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1369s # * 1369s # * 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. 1369s # * 1369s # * 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. 1369s # */ 1369s # g_signal_new ("handle-attack", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1369s # g_signal_accumulator_true_handled, 1369s # NULL, 1369s # com_acme_coyote_method_marshal_attack, 1369s # G_TYPE_BOOLEAN, 1369s # 1, 1369s # G_TYPE_DBUS_METHOD_INVOCATION); 1369s # 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * ComAcmeCoyote::surprised: 1369s # * @object: A #ComAcmeCoyote. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1369s # g_signal_new ("surprised", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1369s # NULL, 1369s # NULL, 1369s # com_acme_coyote_signal_marshal_surprised, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /* GObject properties for D-Bus properties: */ 1369s # /** 1369s # * ComAcmeCoyote:mood: 1369s # * 1369s # * Represents the D-Bus property "Mood". 1369s # * 1369s # * 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. 1369s # */ 1369s # g_object_interface_install_property (iface, 1369s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_get_mood: (skip) 1369s # * @object: A #ComAcmeCoyote. 1369s # * 1369s # * Gets the value of the "Mood" D-Bus property. 1369s # * 1369s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1369s # * 1369s # * 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. 1369s # * 1369s # * 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. 1369s # */ 1369s # const gchar * 1369s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1369s # { 1369s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1369s # 1369s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_dup_mood: (skip) 1369s # * @object: A #ComAcmeCoyote. 1369s # * 1369s # * Gets a copy of the "Mood" D-Bus property. 1369s # * 1369s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1369s # * 1369s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1369s # */ 1369s # gchar * 1369s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1369s # { 1369s # gchar *value; 1369s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1369s # return value; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_set_mood: (skip) 1369s # * @object: A #ComAcmeCoyote. 1369s # * @value: The value to set. 1369s # * 1369s # * Sets the "Mood" D-Bus property to @value. 1369s # * 1369s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1369s # */ 1369s # void 1369s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1369s # { 1369s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_emit_surprised: 1369s # * @object: A #ComAcmeCoyote. 1369s # * 1369s # * Emits the "Surprised" D-Bus signal. 1369s # */ 1369s # void 1369s # com_acme_coyote_emit_surprised ( 1369s # ComAcmeCoyote *object) 1369s # { 1369s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_call_run: 1369s # * @proxy: A #ComAcmeCoyoteProxy. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1369s # * 1369s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1369s # */ 1369s # void 1369s # com_acme_coyote_call_run ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1369s # "Run", 1369s # g_variant_new ("()"), 1369s # G_DBUS_CALL_FLAGS_NONE, 1369s # -1, 1369s # cancellable, 1369s # callback, 1369s # user_data); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_call_run_finish: 1369s # * @proxy: A #ComAcmeCoyoteProxy. 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1369s # * @error: Return location for error or %NULL. 1369s # * 1369s # * Finishes an operation started with com_acme_coyote_call_run(). 1369s # * 1369s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1369s # */ 1369s # gboolean 1369s # com_acme_coyote_call_run_finish ( 1369s # ComAcmeCoyote *proxy, 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GVariant *_ret; 1369s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1369s # if (_ret == NULL) 1369s # goto _out; 1369s # g_variant_get (_ret, 1369s # "()"); 1369s # g_variant_unref (_ret); 1369s # _out: 1369s # return _ret != NULL; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_call_run_sync: 1369s # * @proxy: A #ComAcmeCoyoteProxy. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL. 1369s # * 1369s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1369s # * 1369s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1369s # * 1369s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1369s # */ 1369s # gboolean 1369s # com_acme_coyote_call_run_sync ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GVariant *_ret; 1369s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1369s # "Run", 1369s # g_variant_new ("()"), 1369s # G_DBUS_CALL_FLAGS_NONE, 1369s # -1, 1369s # cancellable, 1369s # error); 1369s # if (_ret == NULL) 1369s # goto _out; 1369s # g_variant_get (_ret, 1369s # "()"); 1369s # g_variant_unref (_ret); 1369s # _out: 1369s # return _ret != NULL; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_call_sleep: 1369s # * @proxy: A #ComAcmeCoyoteProxy. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1369s # * 1369s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1369s # */ 1369s # void 1369s # com_acme_coyote_call_sleep ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1369s # "Sleep", 1369s # g_variant_new ("()"), 1369s # G_DBUS_CALL_FLAGS_NONE, 1369s # -1, 1369s # cancellable, 1369s # callback, 1369s # user_data); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_call_sleep_finish: 1369s # * @proxy: A #ComAcmeCoyoteProxy. 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1369s # * @error: Return location for error or %NULL. 1369s # * 1369s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1369s # * 1369s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1369s # */ 1369s # gboolean 1369s # com_acme_coyote_call_sleep_finish ( 1369s # ComAcmeCoyote *proxy, 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GVariant *_ret; 1369s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1369s # if (_ret == NULL) 1369s # goto _out; 1369s # g_variant_get (_ret, 1369s # "()"); 1369s # g_variant_unref (_ret); 1369s # _out: 1369s # return _ret != NULL; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_call_sleep_sync: 1369s # * @proxy: A #ComAcmeCoyoteProxy. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL. 1369s # * 1369s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1369s # * 1369s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1369s # * 1369s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1369s # */ 1369s # gboolean 1369s # com_acme_coyote_call_sleep_sync ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GVariant *_ret; 1369s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1369s # "Sleep", 1369s # g_variant_new ("()"), 1369s # G_DBUS_CALL_FLAGS_NONE, 1369s # -1, 1369s # cancellable, 1369s # error); 1369s # if (_ret == NULL) 1369s # goto _out; 1369s # g_variant_get (_ret, 1369s # "()"); 1369s # g_variant_unref (_ret); 1369s # _out: 1369s # return _ret != NULL; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_call_attack: 1369s # * @proxy: A #ComAcmeCoyoteProxy. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1369s # * 1369s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1369s # */ 1369s # void 1369s # com_acme_coyote_call_attack ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1369s # "Attack", 1369s # g_variant_new ("()"), 1369s # G_DBUS_CALL_FLAGS_NONE, 1369s # -1, 1369s # cancellable, 1369s # callback, 1369s # user_data); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_call_attack_finish: 1369s # * @proxy: A #ComAcmeCoyoteProxy. 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1369s # * @error: Return location for error or %NULL. 1369s # * 1369s # * Finishes an operation started with com_acme_coyote_call_attack(). 1369s # * 1369s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1369s # */ 1369s # gboolean 1369s # com_acme_coyote_call_attack_finish ( 1369s # ComAcmeCoyote *proxy, 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GVariant *_ret; 1369s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1369s # if (_ret == NULL) 1369s # goto _out; 1369s # g_variant_get (_ret, 1369s # "()"); 1369s # g_variant_unref (_ret); 1369s # _out: 1369s # return _ret != NULL; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_call_attack_sync: 1369s # * @proxy: A #ComAcmeCoyoteProxy. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL. 1369s # * 1369s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1369s # * 1369s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1369s # * 1369s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1369s # */ 1369s # gboolean 1369s # com_acme_coyote_call_attack_sync ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GVariant *_ret; 1369s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1369s # "Attack", 1369s # g_variant_new ("()"), 1369s # G_DBUS_CALL_FLAGS_NONE, 1369s # -1, 1369s # cancellable, 1369s # error); 1369s # if (_ret == NULL) 1369s # goto _out; 1369s # g_variant_get (_ret, 1369s # "()"); 1369s # g_variant_unref (_ret); 1369s # _out: 1369s # return _ret != NULL; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_complete_run: 1369s # * @object: A #ComAcmeCoyote. 1369s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1369s # * 1369s # * 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. 1369s # * 1369s # * This method will free @invocation, you cannot use it afterwards. 1369s # */ 1369s # void 1369s # com_acme_coyote_complete_run ( 1369s # ComAcmeCoyote *object G_GNUC_UNUSED, 1369s # GDBusMethodInvocation *invocation) 1369s # { 1369s # g_dbus_method_invocation_return_value (invocation, 1369s # g_variant_new ("()")); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_complete_sleep: 1369s # * @object: A #ComAcmeCoyote. 1369s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1369s # * 1369s # * 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. 1369s # * 1369s # * This method will free @invocation, you cannot use it afterwards. 1369s # */ 1369s # void 1369s # com_acme_coyote_complete_sleep ( 1369s # ComAcmeCoyote *object G_GNUC_UNUSED, 1369s # GDBusMethodInvocation *invocation) 1369s # { 1369s # g_dbus_method_invocation_return_value (invocation, 1369s # g_variant_new ("()")); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_complete_attack: 1369s # * @object: A #ComAcmeCoyote. 1369s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1369s # * 1369s # * 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. 1369s # * 1369s # * This method will free @invocation, you cannot use it afterwards. 1369s # */ 1369s # void 1369s # com_acme_coyote_complete_attack ( 1369s # ComAcmeCoyote *object G_GNUC_UNUSED, 1369s # GDBusMethodInvocation *invocation) 1369s # { 1369s # g_dbus_method_invocation_return_value (invocation, 1369s # g_variant_new ("()")); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * ComAcmeCoyoteProxy: 1369s # * 1369s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * ComAcmeCoyoteProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #ComAcmeCoyoteProxy. 1369s # */ 1369s # 1369s # struct _ComAcmeCoyoteProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # com_acme_coyote_proxy_finalize (GObject *object) 1369s # { 1369s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_proxy_get_property (GObject *object, 1369s # guint prop_id, 1369s # GValue *value, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *variant; 1369s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1369s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1369s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1369s # if (info->use_gvariant) 1369s # { 1369s # g_value_set_variant (value, variant); 1369s # } 1369s # else 1369s # { 1369s # if (variant != NULL) 1369s # g_dbus_gvariant_to_gvalue (variant, value); 1369s # } 1369s # if (variant != NULL) 1369s # g_variant_unref (variant); 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1369s # GAsyncResult *res, 1369s # gpointer user_data) 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info = user_data; 1369s # GError *error; 1369s # GVariant *_ret; 1369s # error = NULL; 1369s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1369s # if (!_ret) 1369s # { 1369s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1369s # info->parent_struct.name, 1369s # error->message, g_quark_to_string (error->domain), error->code); 1369s # g_error_free (error); 1369s # } 1369s # else 1369s # { 1369s # g_variant_unref (_ret); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_proxy_set_property (GObject *object, 1369s # guint prop_id, 1369s # const GValue *value, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *variant; 1369s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1369s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1369s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1369s # "org.freedesktop.DBus.Properties.Set", 1369s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1369s # G_DBUS_CALL_FLAGS_NONE, 1369s # -1, 1369s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1369s # g_variant_unref (variant); 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static const gchar * 1369s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1369s # { 1369s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1369s # GVariant *variant; 1369s # const gchar *value = NULL; 1369s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1369s # if (variant != NULL) 1369s # { 1369s # value = g_variant_get_string (variant, NULL); 1369s # g_variant_unref (variant); 1369s # } 1369s # return value; 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1369s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1369s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1369s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1369s # 1369s # com_acme_coyote_override_properties (gobject_class, 1); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1369s # { 1369s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # com_acme_coyote_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # ComAcmeCoyote * 1369s # com_acme_coyote_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return COM_ACME_COYOTE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # ComAcmeCoyote * 1369s # com_acme_coyote_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return COM_ACME_COYOTE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * com_acme_coyote_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # com_acme_coyote_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # ComAcmeCoyote * 1369s # com_acme_coyote_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return COM_ACME_COYOTE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # ComAcmeCoyote * 1369s # com_acme_coyote_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return COM_ACME_COYOTE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * ComAcmeCoyoteSkeleton: 1369s # * 1369s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * ComAcmeCoyoteSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #ComAcmeCoyoteSkeleton. 1369s # */ 1369s # 1369s # struct _ComAcmeCoyoteSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _com_acme_coyote_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _com_acme_coyote_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _com_acme_coyote_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1369s # { 1369s # _com_acme_coyote_skeleton_handle_method_call, 1369s # _com_acme_coyote_skeleton_handle_get_property, 1369s # _com_acme_coyote_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return com_acme_coyote_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1369s # 1369s # static void 1369s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1369s # gboolean emit_changed = FALSE; 1369s # 1369s # g_mutex_lock (&skeleton->priv->lock); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # { 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # emit_changed = TRUE; 1369s # } 1369s # g_mutex_unlock (&skeleton->priv->lock); 1369s # 1369s # if (emit_changed) 1369s # _com_acme_coyote_emit_changed (skeleton); 1369s # } 1369s # 1369s # static void 1369s # _com_acme_coyote_on_signal_surprised ( 1369s # ComAcmeCoyote *object) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # com_acme_coyote_skeleton_finalize (GObject *object) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1369s # guint n; 1369s # for (n = 0; n < 1; n++) 1369s # g_value_unset (&skeleton->priv->properties[n]); 1369s # g_free (skeleton->priv->properties); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_skeleton_get_property (GObject *object, 1369s # guint prop_id, 1369s # GValue *value, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1369s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1369s # g_mutex_lock (&skeleton->priv->lock); 1369s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1369s # g_mutex_unlock (&skeleton->priv->lock); 1369s # } 1369s # 1369s # static gboolean 1369s # _com_acme_coyote_emit_changed (gpointer user_data) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1369s # GList *l; 1369s # GVariantBuilder builder; 1369s # GVariantBuilder invalidated_builder; 1369s # guint num_changes; 1369s # 1369s # g_mutex_lock (&skeleton->priv->lock); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1369s # #else 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1369s # #endif 1369s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1369s # { 1369s # ChangedProperty *cp = l->data; 1369s # GVariant *variant; 1369s # const GValue *cur_value; 1369s # 1369s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1369s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1369s # { 1369s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1369s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1369s # g_variant_unref (variant); 1369s # num_changes++; 1369s # } 1369s # } 1369s # if (num_changes > 0) 1369s # { 1369s # GList *connections, *ll; 1369s # GVariant *signal_variant; 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1369s # &builder, &invalidated_builder)); 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # for (ll = connections; ll != NULL; ll = ll->next) 1369s # { 1369s # GDBusConnection *connection = ll->data; 1369s # 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1369s # "org.freedesktop.DBus.Properties", 1369s # "PropertiesChanged", 1369s # signal_variant, 1369s # NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # else 1369s # { 1369s # g_variant_builder_clear (&builder); 1369s # g_variant_builder_clear (&invalidated_builder); 1369s # } 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # skeleton->priv->changed_properties = NULL; 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # g_mutex_unlock (&skeleton->priv->lock); 1369s # return FALSE; 1369s # } 1369s # 1369s # static void 1369s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1369s # { 1369s # ChangedProperty *cp; 1369s # GList *l; 1369s # cp = NULL; 1369s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1369s # { 1369s # ChangedProperty *i_cp = l->data; 1369s # if (i_cp->info == info) 1369s # { 1369s # cp = i_cp; 1369s # break; 1369s # } 1369s # } 1369s # if (cp == NULL) 1369s # { 1369s # cp = g_new0 (ChangedProperty, 1); 1369s # cp->prop_id = prop_id; 1369s # cp->info = info; 1369s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1369s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1369s # g_value_copy (orig_value, &cp->orig_value); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_skeleton_notify (GObject *object, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1369s # g_mutex_lock (&skeleton->priv->lock); 1369s # if (skeleton->priv->changed_properties != NULL && 1369s # skeleton->priv->changed_properties_idle_source == NULL) 1369s # { 1369s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1369s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1369s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1369s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1369s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1369s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1369s # } 1369s # g_mutex_unlock (&skeleton->priv->lock); 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_skeleton_set_property (GObject *object, 1369s # guint prop_id, 1369s # const GValue *value, 1369s # GParamSpec *pspec) 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1369s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1369s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1369s # g_mutex_lock (&skeleton->priv->lock); 1369s # g_object_freeze_notify (object); 1369s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1369s # { 1369s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1369s # info->emits_changed_signal) 1369s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1369s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1369s # g_object_notify_by_pspec (object, pspec); 1369s # } 1369s # g_mutex_unlock (&skeleton->priv->lock); 1369s # g_object_thaw_notify (object); 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # skeleton->priv->properties = g_new0 (GValue, 1); 1369s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1369s # } 1369s # 1369s # static const gchar * 1369s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1369s # const gchar *value; 1369s # g_mutex_lock (&skeleton->priv->lock); 1369s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1369s # g_mutex_unlock (&skeleton->priv->lock); 1369s # return value; 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1369s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1369s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1369s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1369s # 1369s # 1369s # com_acme_coyote_override_properties (gobject_class, 1); 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1369s # { 1369s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1369s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1369s # * 1369s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1369s # */ 1369s # ComAcmeCoyote * 1369s # com_acme_coyote_skeleton_new (void) 1369s # { 1369s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.Bar.Frobnicator 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectBarFrobnicator 1369s # * @title: OrgProjectBarFrobnicator 1369s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1369s # */ 1369s # 1369s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1369s # 1369s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "RandomMethod", 1369s # NULL, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "handle-random-method", 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1369s # { 1369s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.Bar.Frobnicator", 1369s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1369s # NULL, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-bar-frobnicator", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_bar_frobnicator_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_bar_frobnicator_method_marshal_random_method ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectBarFrobnicator: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectBarFrobnicatorIface: 1369s # * @parent_iface: The parent interface. 1369s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1369s # */ 1369s # 1369s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1369s # { 1369s # /* GObject signals for incoming D-Bus method calls: */ 1369s # /** 1369s # * OrgProjectBarFrobnicator::handle-random-method: 1369s # * @object: A #OrgProjectBarFrobnicator. 1369s # * @invocation: A #GDBusMethodInvocation. 1369s # * 1369s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1369s # * 1369s # * 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. 1369s # * 1369s # * 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. 1369s # */ 1369s # g_signal_new ("handle-random-method", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1369s # g_signal_accumulator_true_handled, 1369s # NULL, 1369s # org_project_bar_frobnicator_method_marshal_random_method, 1369s # G_TYPE_BOOLEAN, 1369s # 1, 1369s # G_TYPE_DBUS_METHOD_INVOCATION); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_call_random_method: 1369s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1369s # */ 1369s # void 1369s # org_project_bar_frobnicator_call_random_method ( 1369s # OrgProjectBarFrobnicator *proxy, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1369s # "RandomMethod", 1369s # g_variant_new ("()"), 1369s # G_DBUS_CALL_FLAGS_NONE, 1369s # -1, 1369s # cancellable, 1369s # callback, 1369s # user_data); 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_call_random_method_finish: 1369s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1369s # * @error: Return location for error or %NULL. 1369s # * 1369s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1369s # * 1369s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1369s # */ 1369s # gboolean 1369s # org_project_bar_frobnicator_call_random_method_finish ( 1369s # OrgProjectBarFrobnicator *proxy, 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GVariant *_ret; 1369s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1369s # if (_ret == NULL) 1369s # goto _out; 1369s # g_variant_get (_ret, 1369s # "()"); 1369s # g_variant_unref (_ret); 1369s # _out: 1369s # return _ret != NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_call_random_method_sync: 1369s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL. 1369s # * 1369s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1369s # * 1369s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1369s # */ 1369s # gboolean 1369s # org_project_bar_frobnicator_call_random_method_sync ( 1369s # OrgProjectBarFrobnicator *proxy, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GVariant *_ret; 1369s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1369s # "RandomMethod", 1369s # g_variant_new ("()"), 1369s # G_DBUS_CALL_FLAGS_NONE, 1369s # -1, 1369s # cancellable, 1369s # error); 1369s # if (_ret == NULL) 1369s # goto _out; 1369s # g_variant_get (_ret, 1369s # "()"); 1369s # g_variant_unref (_ret); 1369s # _out: 1369s # return _ret != NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_complete_random_method: 1369s # * @object: A #OrgProjectBarFrobnicator. 1369s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1369s # * 1369s # * 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. 1369s # * 1369s # * This method will free @invocation, you cannot use it afterwards. 1369s # */ 1369s # void 1369s # org_project_bar_frobnicator_complete_random_method ( 1369s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1369s # GDBusMethodInvocation *invocation) 1369s # { 1369s # g_dbus_method_invocation_return_value (invocation, 1369s # g_variant_new ("()")); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectBarFrobnicatorProxy: 1369s # * 1369s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectBarFrobnicatorProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectBarFrobnicatorProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1369s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1369s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_bar_frobnicator_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectBarFrobnicator * 1369s # org_project_bar_frobnicator_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectBarFrobnicator * 1369s # org_project_bar_frobnicator_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_bar_frobnicator_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectBarFrobnicator * 1369s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectBarFrobnicator * 1369s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectBarFrobnicatorSkeleton: 1369s # * 1369s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectBarFrobnicatorSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1369s # { 1369s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1369s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1369s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_bar_frobnicator_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectBarFrobnicator * 1369s # org_project_bar_frobnicator_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1369s # } 1369s # Error: 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo433y82j/tmpy2kvzb6p2.xml', '/tmp/tmpo433y82j/tmpsoc7hx551.xml', '--output', '-', '--body'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifdef HAVE_CONFIG_H 1369s # # include "config.h" 1369s # #endif 1369s # 1369s # #include 1369s # #ifdef G_OS_UNIX 1369s # # include 1369s # #endif 1369s # 1369s # #ifdef G_ENABLE_DEBUG 1369s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1369s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1369s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1369s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1369s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1369s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1369s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1369s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1369s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1369s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1369s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1369s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1369s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1369s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1369s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1369s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1369s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1369s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1369s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1369s # #else /* !G_ENABLE_DEBUG */ 1369s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1369s # * Do not access GValues directly in your code. Instead, use the 1369s # * g_value_get_*() functions 1369s # */ 1369s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1369s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1369s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1369s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1369s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1369s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1369s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1369s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1369s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1369s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1369s # #endif /* !G_ENABLE_DEBUG */ 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusArgInfo parent_struct; 1369s # gboolean use_gvariant; 1369s # } _ExtendedGDBusArgInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusMethodInfo parent_struct; 1369s # const gchar *signal_name; 1369s # gboolean pass_fdlist; 1369s # } _ExtendedGDBusMethodInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusSignalInfo parent_struct; 1369s # const gchar *signal_name; 1369s # } _ExtendedGDBusSignalInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusPropertyInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # guint use_gvariant : 1; 1369s # guint emits_changed_signal : 1; 1369s # } _ExtendedGDBusPropertyInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # GDBusInterfaceInfo parent_struct; 1369s # const gchar *hyphen_name; 1369s # } _ExtendedGDBusInterfaceInfo; 1369s # 1369s # typedef struct 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # guint prop_id; 1369s # GValue orig_value; /* the value before the change */ 1369s # } ChangedProperty; 1369s # 1369s # static void 1369s # _changed_property_free (ChangedProperty *data) 1369s # { 1369s # g_value_unset (&data->orig_value); 1369s # g_free (data); 1369s # } 1369s # 1369s # static gboolean 1369s # _g_strv_equal0 (gchar **a, gchar **b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # guint n; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # if (g_strv_length (a) != g_strv_length (b)) 1369s # goto out; 1369s # for (n = 0; a[n] != NULL; n++) 1369s # if (g_strcmp0 (a[n], b[n]) != 0) 1369s # goto out; 1369s # ret = TRUE; 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _g_variant_equal0 (GVariant *a, GVariant *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # if (a == NULL && b == NULL) 1369s # { 1369s # ret = TRUE; 1369s # goto out; 1369s # } 1369s # if (a == NULL || b == NULL) 1369s # goto out; 1369s # ret = g_variant_equal (a, b); 1369s # out: 1369s # return ret; 1369s # } 1369s # 1369s # G_GNUC_UNUSED static gboolean 1369s # _g_value_equal (const GValue *a, const GValue *b) 1369s # { 1369s # gboolean ret = FALSE; 1369s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1369s # switch (G_VALUE_TYPE (a)) 1369s # { 1369s # case G_TYPE_BOOLEAN: 1369s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1369s # break; 1369s # case G_TYPE_UCHAR: 1369s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1369s # break; 1369s # case G_TYPE_INT: 1369s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1369s # break; 1369s # case G_TYPE_UINT: 1369s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1369s # break; 1369s # case G_TYPE_INT64: 1369s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1369s # break; 1369s # case G_TYPE_UINT64: 1369s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1369s # break; 1369s # case G_TYPE_DOUBLE: 1369s # { 1369s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1369s # gdouble da = g_value_get_double (a); 1369s # gdouble db = g_value_get_double (b); 1369s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1369s # } 1369s # break; 1369s # case G_TYPE_STRING: 1369s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1369s # break; 1369s # case G_TYPE_VARIANT: 1369s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1369s # break; 1369s # default: 1369s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1369s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1369s # else 1369s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1369s # break; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static void 1369s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint G_GNUC_UNUSED, 1369s # void *marshal_data) 1369s # { 1369s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1369s # (void *data1, 1369s # GDBusMethodInvocation *arg_method_invocation, 1369s # void *data2); 1369s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1369s # GCClosure *cc = (GCClosure*) closure; 1369s # void *data1, *data2; 1369s # gboolean v_return; 1369s # 1369s # g_return_if_fail (return_value != NULL); 1369s # g_return_if_fail (n_param_values == 2); 1369s # 1369s # if (G_CCLOSURE_SWAP_DATA (closure)) 1369s # { 1369s # data1 = closure->data; 1369s # data2 = g_value_peek_pointer (param_values + 0); 1369s # } 1369s # else 1369s # { 1369s # data1 = g_value_peek_pointer (param_values + 0); 1369s # data2 = closure->data; 1369s # } 1369s # 1369s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1369s # (marshal_data ? marshal_data : cc->callback); 1369s # 1369s # v_return = 1369s # callback (data1, 1369s # g_marshal_value_peek_object (param_values + 1), 1369s # data2); 1369s # 1369s # g_value_set_boolean (return_value, v_return); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface com.acme.Coyote 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:ComAcmeCoyote 1369s # * @title: ComAcmeCoyote 1369s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1369s # * 1369s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1369s # */ 1369s # 1369s # enum 1369s # { 1369s # _COM_ACME_COYOTE_SURPRISED, 1369s # }; 1369s # 1369s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1369s # 1369s # /* ---- Introspection data for com.acme.Coyote ---- */ 1369s # 1369s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "Run", 1369s # NULL, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "handle-run", 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "Sleep", 1369s # NULL, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "handle-sleep", 1369s # FALSE 1369s # }; 1369s # 1369s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "Attack", 1369s # NULL, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "handle-attack", 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1369s # { 1369s # &_com_acme_coyote_method_info_run.parent_struct, 1369s # &_com_acme_coyote_method_info_sleep.parent_struct, 1369s # &_com_acme_coyote_method_info_attack.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "Surprised", 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "surprised" 1369s # }; 1369s # 1369s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1369s # { 1369s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "Mood", 1369s # (gchar *) "s", 1369s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1369s # NULL 1369s # }, 1369s # "mood", 1369s # FALSE, 1369s # TRUE 1369s # }; 1369s # 1369s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1369s # { 1369s # &_com_acme_coyote_property_info_mood.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "com.acme.Coyote", 1369s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1369s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1369s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1369s # NULL 1369s # }, 1369s # "com-acme-coyote", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * com_acme_coyote_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # com_acme_coyote_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1369s # { 1369s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # com_acme_coyote_signal_marshal_surprised ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # g_cclosure_marshal_VOID__VOID (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # com_acme_coyote_method_marshal_run ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # com_acme_coyote_method_marshal_sleep ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # inline static void 1369s # com_acme_coyote_method_marshal_attack ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * ComAcmeCoyote: 1369s # * 1369s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1369s # */ 1369s # 1369s # /** 1369s # * ComAcmeCoyoteIface: 1369s # * @parent_iface: The parent interface. 1369s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1369s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1369s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1369s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1369s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1369s # * 1369s # * Virtual table for the D-Bus interface com.acme.Coyote. 1369s # */ 1369s # 1369s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1369s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1369s # { 1369s # /* GObject signals for incoming D-Bus method calls: */ 1369s # /** 1369s # * ComAcmeCoyote::handle-run: 1369s # * @object: A #ComAcmeCoyote. 1369s # * @invocation: A #GDBusMethodInvocation. 1369s # * 1369s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1369s # * 1369s # * 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. 1369s # * 1369s # * 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. 1369s # */ 1369s # g_signal_new ("handle-run", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1369s # g_signal_accumulator_true_handled, 1369s # NULL, 1369s # com_acme_coyote_method_marshal_run, 1369s # G_TYPE_BOOLEAN, 1369s # 1, 1369s # G_TYPE_DBUS_METHOD_INVOCATION); 1369s # 1369s # /** 1369s # * ComAcmeCoyote::handle-sleep: 1369s # * @object: A #ComAcmeCoyote. 1369s # * @invocation: A #GDBusMethodInvocation. 1369s # * 1369s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1369s # * 1369s # * 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. 1369s # * 1369s # * 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. 1369s # */ 1369s # g_signal_new ("handle-sleep", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1369s # g_signal_accumulator_true_handled, 1369s # NULL, 1369s # com_acme_coyote_method_marshal_sleep, 1369s # G_TYPE_BOOLEAN, 1369s # 1, 1369s # G_TYPE_DBUS_METHOD_INVOCATION); 1369s # 1369s # /** 1369s # * ComAcmeCoyote::handle-attack: 1369s # * @object: A #ComAcmeCoyote. 1369s # * @invocation: A #GDBusMethodInvocation. 1369s # * 1369s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1369s # * 1369s # * 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. 1369s # * 1369s # * 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. 1369s # */ 1369s # g_signal_new ("handle-attack", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1369s # g_signal_accumulator_true_handled, 1369s # NULL, 1369s # com_acme_coyote_method_marshal_attack, 1369s # G_TYPE_BOOLEAN, 1369s # 1, 1369s # G_TYPE_DBUS_METHOD_INVOCATION); 1369s # 1369s # /* GObject signals for received D-Bus signals: */ 1369s # /** 1369s # * ComAcmeCoyote::surprised: 1369s # * @object: A #ComAcmeCoyote. 1369s # * 1369s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1369s # * 1369s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1369s # */ 1369s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1369s # g_signal_new ("surprised", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1369s # NULL, 1369s # NULL, 1369s # com_acme_coyote_signal_marshal_surprised, 1369s # G_TYPE_NONE, 1369s # 0); 1369s # 1369s # /* GObject properties for D-Bus properties: */ 1369s # /** 1369s # * ComAcmeCoyote:mood: 1369s # * 1369s # * Represents the D-Bus property "Mood". 1369s # * 1369s # * 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. 1369s # */ 1369s # g_object_interface_install_property (iface, 1369s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_get_mood: (skip) 1369s # * @object: A #ComAcmeCoyote. 1369s # * 1369s # * Gets the value of the "Mood" D-Bus property. 1369s # * 1369s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1369s # * 1369s # * 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. 1369s # * 1369s # * 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. 1369s # */ 1369s # const gchar * 1369s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1369s # { 1369s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1369s # 1369s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_dup_mood: (skip) 1369s # * @object: A #ComAcmeCoyote. 1369s # * 1369s # * Gets a copy of the "Mood" D-Bus property. 1369s # * 1369s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1369s # * 1369s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1369s # */ 1369s # gchar * 1369s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1369s # { 1369s # gchar *value; 1369s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1369s # return value; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_set_mood: (skip) 1369s # * @object: A #ComAcmeCoyote. 1369s # * @value: The value to set. 1369s # * 1369s # * Sets the "Mood" D-Bus property to @value. 1369s # * 1369s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1369s # */ 1369s # void 1369s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1369s # { 1369s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_emit_surprised: 1369s # * @object: A #ComAcmeCoyote. 1369s # * 1369s # * Emits the "Surprised" D-Bus signal. 1369s # */ 1369s # void 1369s # com_acme_coyote_emit_surprised ( 1369s # ComAcmeCoyote *object) 1369s # { 1369s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_call_run: 1369s # * @proxy: A #ComAcmeCoyoteProxy. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1369s # * 1369s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1369s # */ 1369s # void 1369s # com_acme_coyote_call_run ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1369s # "Run", 1369s # g_variant_new ("()"), 1369s # G_DBUS_CALL_FLAGS_NONE, 1369s # -1, 1369s # cancellable, 1369s # callback, 1369s # user_data); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_call_run_finish: 1369s # * @proxy: A #ComAcmeCoyoteProxy. 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1369s # * @error: Return location for error or %NULL. 1369s # * 1369s # * Finishes an operation started with com_acme_coyote_call_run(). 1369s # * 1369s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1369s # */ 1369s # gboolean 1369s # com_acme_coyote_call_run_finish ( 1369s # ComAcmeCoyote *proxy, 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GVariant *_ret; 1369s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1369s # if (_ret == NULL) 1369s # goto _out; 1369s # g_variant_get (_ret, 1369s # "()"); 1369s # g_variant_unref (_ret); 1369s # _out: 1369s # return _ret != NULL; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_call_run_sync: 1369s # * @proxy: A #ComAcmeCoyoteProxy. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL. 1369s # * 1369s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1369s # * 1369s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1369s # * 1369s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1369s # */ 1369s # gboolean 1369s # com_acme_coyote_call_run_sync ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GVariant *_ret; 1369s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1369s # "Run", 1369s # g_variant_new ("()"), 1369s # G_DBUS_CALL_FLAGS_NONE, 1369s # -1, 1369s # cancellable, 1369s # error); 1369s # if (_ret == NULL) 1369s # goto _out; 1369s # g_variant_get (_ret, 1369s # "()"); 1369s # g_variant_unref (_ret); 1369s # _out: 1369s # return _ret != NULL; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_call_sleep: 1369s # * @proxy: A #ComAcmeCoyoteProxy. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1369s # * 1369s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1369s # */ 1369s # void 1369s # com_acme_coyote_call_sleep ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1369s # "Sleep", 1369s # g_variant_new ("()"), 1369s # G_DBUS_CALL_FLAGS_NONE, 1369s # -1, 1369s # cancellable, 1369s # callback, 1369s # user_data); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_call_sleep_finish: 1369s # * @proxy: A #ComAcmeCoyoteProxy. 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1369s # * @error: Return location for error or %NULL. 1369s # * 1369s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1369s # * 1369s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1369s # */ 1369s # gboolean 1369s # com_acme_coyote_call_sleep_finish ( 1369s # ComAcmeCoyote *proxy, 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GVariant *_ret; 1369s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1369s # if (_ret == NULL) 1369s # goto _out; 1369s # g_variant_get (_ret, 1369s # "()"); 1369s # g_variant_unref (_ret); 1369s # _out: 1369s # return _ret != NULL; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_call_sleep_sync: 1369s # * @proxy: A #ComAcmeCoyoteProxy. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL. 1369s # * 1369s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1369s # * 1369s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1369s # * 1369s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1369s # */ 1369s # gboolean 1369s # com_acme_coyote_call_sleep_sync ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GVariant *_ret; 1369s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1369s # "Sleep", 1369s # g_variant_new ("()"), 1369s # G_DBUS_CALL_FLAGS_NONE, 1369s # -1, 1369s # cancellable, 1369s # error); 1369s # if (_ret == NULL) 1369s # goto _out; 1369s # g_variant_get (_ret, 1369s # "()"); 1369s # g_variant_unref (_ret); 1369s # _out: 1369s # return _ret != NULL; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_call_attack: 1369s # * @proxy: A #ComAcmeCoyoteProxy. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1369s # * 1369s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1369s # */ 1369s # void 1369s # com_acme_coyote_call_attack ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1369s # "Attack", 1369s # g_variant_new ("()"), 1369s # G_DBUS_CALL_FLAGS_NONE, 1369s # -1, 1369s # cancellable, 1369s # callback, 1369s # user_data); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_call_attack_finish: 1369s # * @proxy: A #ComAcmeCoyoteProxy. 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1369s # * @error: Return location for error or %NULL. 1369s # * 1369s # * Finishes an operation started with com_acme_coyote_call_attack(). 1369s # * 1369s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1369s # */ 1369s # gboolean 1369s # com_acme_coyote_call_attack_finish ( 1369s # ComAcmeCoyote *proxy, 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GVariant *_ret; 1369s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1369s # if (_ret == NULL) 1369s # goto _out; 1369s # g_variant_get (_ret, 1369s # "()"); 1369s # g_variant_unref (_ret); 1369s # _out: 1369s # return _ret != NULL; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_call_attack_sync: 1369s # * @proxy: A #ComAcmeCoyoteProxy. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL. 1369s # * 1369s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1369s # * 1369s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1369s # * 1369s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1369s # */ 1369s # gboolean 1369s # com_acme_coyote_call_attack_sync ( 1369s # ComAcmeCoyote *proxy, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GVariant *_ret; 1369s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1369s # "Attack", 1369s # g_variant_new ("()"), 1369s # G_DBUS_CALL_FLAGS_NONE, 1369s # -1, 1369s # cancellable, 1369s # error); 1369s # if (_ret == NULL) 1369s # goto _out; 1369s # g_variant_get (_ret, 1369s # "()"); 1369s # g_variant_unref (_ret); 1369s # _out: 1369s # return _ret != NULL; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_complete_run: 1369s # * @object: A #ComAcmeCoyote. 1369s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1369s # * 1369s # * 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. 1369s # * 1369s # * This method will free @invocation, you cannot use it afterwards. 1369s # */ 1369s # void 1369s # com_acme_coyote_complete_run ( 1369s # ComAcmeCoyote *object G_GNUC_UNUSED, 1369s # GDBusMethodInvocation *invocation) 1369s # { 1369s # g_dbus_method_invocation_return_value (invocation, 1369s # g_variant_new ("()")); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_complete_sleep: 1369s # * @object: A #ComAcmeCoyote. 1369s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1369s # * 1369s # * 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. 1369s # * 1369s # * This method will free @invocation, you cannot use it afterwards. 1369s # */ 1369s # void 1369s # com_acme_coyote_complete_sleep ( 1369s # ComAcmeCoyote *object G_GNUC_UNUSED, 1369s # GDBusMethodInvocation *invocation) 1369s # { 1369s # g_dbus_method_invocation_return_value (invocation, 1369s # g_variant_new ("()")); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_complete_attack: 1369s # * @object: A #ComAcmeCoyote. 1369s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1369s # * 1369s # * 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. 1369s # * 1369s # * This method will free @invocation, you cannot use it afterwards. 1369s # */ 1369s # void 1369s # com_acme_coyote_complete_attack ( 1369s # ComAcmeCoyote *object G_GNUC_UNUSED, 1369s # GDBusMethodInvocation *invocation) 1369s # { 1369s # g_dbus_method_invocation_return_value (invocation, 1369s # g_variant_new ("()")); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * ComAcmeCoyoteProxy: 1369s # * 1369s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * ComAcmeCoyoteProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #ComAcmeCoyoteProxy. 1369s # */ 1369s # 1369s # struct _ComAcmeCoyoteProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # com_acme_coyote_proxy_finalize (GObject *object) 1369s # { 1369s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_proxy_get_property (GObject *object, 1369s # guint prop_id, 1369s # GValue *value, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *variant; 1369s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1369s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1369s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1369s # if (info->use_gvariant) 1369s # { 1369s # g_value_set_variant (value, variant); 1369s # } 1369s # else 1369s # { 1369s # if (variant != NULL) 1369s # g_dbus_gvariant_to_gvalue (variant, value); 1369s # } 1369s # if (variant != NULL) 1369s # g_variant_unref (variant); 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1369s # GAsyncResult *res, 1369s # gpointer user_data) 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info = user_data; 1369s # GError *error; 1369s # GVariant *_ret; 1369s # error = NULL; 1369s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1369s # if (!_ret) 1369s # { 1369s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1369s # info->parent_struct.name, 1369s # error->message, g_quark_to_string (error->domain), error->code); 1369s # g_error_free (error); 1369s # } 1369s # else 1369s # { 1369s # g_variant_unref (_ret); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_proxy_set_property (GObject *object, 1369s # guint prop_id, 1369s # const GValue *value, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *variant; 1369s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1369s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1369s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1369s # "org.freedesktop.DBus.Properties.Set", 1369s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1369s # G_DBUS_CALL_FLAGS_NONE, 1369s # -1, 1369s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1369s # g_variant_unref (variant); 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static const gchar * 1369s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1369s # { 1369s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1369s # GVariant *variant; 1369s # const gchar *value = NULL; 1369s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1369s # if (variant != NULL) 1369s # { 1369s # value = g_variant_get_string (variant, NULL); 1369s # g_variant_unref (variant); 1369s # } 1369s # return value; 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1369s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1369s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1369s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1369s # 1369s # com_acme_coyote_override_properties (gobject_class, 1); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1369s # { 1369s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # com_acme_coyote_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # ComAcmeCoyote * 1369s # com_acme_coyote_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return COM_ACME_COYOTE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # ComAcmeCoyote * 1369s # com_acme_coyote_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return COM_ACME_COYOTE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * com_acme_coyote_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # com_acme_coyote_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # ComAcmeCoyote * 1369s # com_acme_coyote_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return COM_ACME_COYOTE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # ComAcmeCoyote * 1369s # com_acme_coyote_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return COM_ACME_COYOTE (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * ComAcmeCoyoteSkeleton: 1369s # * 1369s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * ComAcmeCoyoteSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #ComAcmeCoyoteSkeleton. 1369s # */ 1369s # 1369s # struct _ComAcmeCoyoteSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _com_acme_coyote_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _com_acme_coyote_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _com_acme_coyote_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1369s # { 1369s # _com_acme_coyote_skeleton_handle_method_call, 1369s # _com_acme_coyote_skeleton_handle_get_property, 1369s # _com_acme_coyote_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return com_acme_coyote_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1369s # 1369s # static void 1369s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1369s # gboolean emit_changed = FALSE; 1369s # 1369s # g_mutex_lock (&skeleton->priv->lock); 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # { 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # emit_changed = TRUE; 1369s # } 1369s # g_mutex_unlock (&skeleton->priv->lock); 1369s # 1369s # if (emit_changed) 1369s # _com_acme_coyote_emit_changed (skeleton); 1369s # } 1369s # 1369s # static void 1369s # _com_acme_coyote_on_signal_surprised ( 1369s # ComAcmeCoyote *object) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1369s # 1369s # GList *connections, *l; 1369s # GVariant *signal_variant; 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1369s # for (l = connections; l != NULL; l = l->next) 1369s # { 1369s # GDBusConnection *connection = l->data; 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1369s # signal_variant, NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # 1369s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # com_acme_coyote_skeleton_finalize (GObject *object) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1369s # guint n; 1369s # for (n = 0; n < 1; n++) 1369s # g_value_unset (&skeleton->priv->properties[n]); 1369s # g_free (skeleton->priv->properties); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_skeleton_get_property (GObject *object, 1369s # guint prop_id, 1369s # GValue *value, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1369s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1369s # g_mutex_lock (&skeleton->priv->lock); 1369s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1369s # g_mutex_unlock (&skeleton->priv->lock); 1369s # } 1369s # 1369s # static gboolean 1369s # _com_acme_coyote_emit_changed (gpointer user_data) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1369s # GList *l; 1369s # GVariantBuilder builder; 1369s # GVariantBuilder invalidated_builder; 1369s # guint num_changes; 1369s # 1369s # g_mutex_lock (&skeleton->priv->lock); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1369s # #else 1369s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1369s # #endif 1369s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1369s # { 1369s # ChangedProperty *cp = l->data; 1369s # GVariant *variant; 1369s # const GValue *cur_value; 1369s # 1369s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1369s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1369s # { 1369s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1369s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1369s # g_variant_unref (variant); 1369s # num_changes++; 1369s # } 1369s # } 1369s # if (num_changes > 0) 1369s # { 1369s # GList *connections, *ll; 1369s # GVariant *signal_variant; 1369s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1369s # &builder, &invalidated_builder)); 1369s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1369s # for (ll = connections; ll != NULL; ll = ll->next) 1369s # { 1369s # GDBusConnection *connection = ll->data; 1369s # 1369s # g_dbus_connection_emit_signal (connection, 1369s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1369s # "org.freedesktop.DBus.Properties", 1369s # "PropertiesChanged", 1369s # signal_variant, 1369s # NULL); 1369s # } 1369s # g_variant_unref (signal_variant); 1369s # g_list_free_full (connections, g_object_unref); 1369s # } 1369s # else 1369s # { 1369s # g_variant_builder_clear (&builder); 1369s # g_variant_builder_clear (&invalidated_builder); 1369s # } 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # skeleton->priv->changed_properties = NULL; 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # g_mutex_unlock (&skeleton->priv->lock); 1369s # return FALSE; 1369s # } 1369s # 1369s # static void 1369s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1369s # { 1369s # ChangedProperty *cp; 1369s # GList *l; 1369s # cp = NULL; 1369s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1369s # { 1369s # ChangedProperty *i_cp = l->data; 1369s # if (i_cp->info == info) 1369s # { 1369s # cp = i_cp; 1369s # break; 1369s # } 1369s # } 1369s # if (cp == NULL) 1369s # { 1369s # cp = g_new0 (ChangedProperty, 1); 1369s # cp->prop_id = prop_id; 1369s # cp->info = info; 1369s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1369s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1369s # g_value_copy (orig_value, &cp->orig_value); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_skeleton_notify (GObject *object, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1369s # g_mutex_lock (&skeleton->priv->lock); 1369s # if (skeleton->priv->changed_properties != NULL && 1369s # skeleton->priv->changed_properties_idle_source == NULL) 1369s # { 1369s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1369s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1369s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1369s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1369s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1369s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1369s # } 1369s # g_mutex_unlock (&skeleton->priv->lock); 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_skeleton_set_property (GObject *object, 1369s # guint prop_id, 1369s # const GValue *value, 1369s # GParamSpec *pspec) 1369s # { 1369s # const _ExtendedGDBusPropertyInfo *info; 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1369s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1369s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1369s # g_mutex_lock (&skeleton->priv->lock); 1369s # g_object_freeze_notify (object); 1369s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1369s # { 1369s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1369s # info->emits_changed_signal) 1369s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1369s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1369s # g_object_notify_by_pspec (object, pspec); 1369s # } 1369s # g_mutex_unlock (&skeleton->priv->lock); 1369s # g_object_thaw_notify (object); 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # skeleton->priv->properties = g_new0 (GValue, 1); 1369s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1369s # } 1369s # 1369s # static const gchar * 1369s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1369s # { 1369s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1369s # const gchar *value; 1369s # g_mutex_lock (&skeleton->priv->lock); 1369s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1369s # g_mutex_unlock (&skeleton->priv->lock); 1369s # return value; 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1369s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1369s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1369s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1369s # 1369s # 1369s # com_acme_coyote_override_properties (gobject_class, 1); 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1369s # { 1369s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1369s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1369s # } 1369s # 1369s # /** 1369s # * com_acme_coyote_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1369s # * 1369s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1369s # */ 1369s # ComAcmeCoyote * 1369s # com_acme_coyote_skeleton_new (void) 1369s # { 1369s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ 1369s # * Code for interface org.project.Bar.Frobnicator 1369s # * ------------------------------------------------------------------------ 1369s # */ 1369s # 1369s # /** 1369s # * SECTION:OrgProjectBarFrobnicator 1369s # * @title: OrgProjectBarFrobnicator 1369s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1369s # * 1369s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1369s # */ 1369s # 1369s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1369s # 1369s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "RandomMethod", 1369s # NULL, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "handle-random-method", 1369s # FALSE 1369s # }; 1369s # 1369s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1369s # { 1369s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1369s # NULL 1369s # }; 1369s # 1369s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1369s # { 1369s # { 1369s # -1, 1369s # (gchar *) "org.project.Bar.Frobnicator", 1369s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1369s # NULL, 1369s # NULL, 1369s # NULL 1369s # }, 1369s # "org-project-bar-frobnicator", 1369s # }; 1369s # 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_interface_info: 1369s # * 1369s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1369s # * 1369s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1369s # */ 1369s # GDBusInterfaceInfo * 1369s # org_project_bar_frobnicator_interface_info (void) 1369s # { 1369s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_override_properties: 1369s # * @klass: The class structure for a #GObject derived class. 1369s # * @property_id_begin: The property id to assign to the first overridden property. 1369s # * 1369s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1369s # * The properties are overridden in the order they are defined. 1369s # * 1369s # * Returns: The last property id. 1369s # */ 1369s # guint 1369s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1369s # { 1369s # return property_id_begin - 1; 1369s # } 1369s # 1369s # 1369s # inline static void 1369s # org_project_bar_frobnicator_method_marshal_random_method ( 1369s # GClosure *closure, 1369s # GValue *return_value, 1369s # unsigned int n_param_values, 1369s # const GValue *param_values, 1369s # void *invocation_hint, 1369s # void *marshal_data) 1369s # { 1369s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1369s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1369s # } 1369s # 1369s # 1369s # /** 1369s # * OrgProjectBarFrobnicator: 1369s # * 1369s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectBarFrobnicatorIface: 1369s # * @parent_iface: The parent interface. 1369s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1369s # * 1369s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1369s # */ 1369s # 1369s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1369s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1369s # { 1369s # /* GObject signals for incoming D-Bus method calls: */ 1369s # /** 1369s # * OrgProjectBarFrobnicator::handle-random-method: 1369s # * @object: A #OrgProjectBarFrobnicator. 1369s # * @invocation: A #GDBusMethodInvocation. 1369s # * 1369s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1369s # * 1369s # * 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. 1369s # * 1369s # * 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. 1369s # */ 1369s # g_signal_new ("handle-random-method", 1369s # G_TYPE_FROM_INTERFACE (iface), 1369s # G_SIGNAL_RUN_LAST, 1369s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1369s # g_signal_accumulator_true_handled, 1369s # NULL, 1369s # org_project_bar_frobnicator_method_marshal_random_method, 1369s # G_TYPE_BOOLEAN, 1369s # 1, 1369s # G_TYPE_DBUS_METHOD_INVOCATION); 1369s # 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_call_random_method: 1369s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1369s # */ 1369s # void 1369s # org_project_bar_frobnicator_call_random_method ( 1369s # OrgProjectBarFrobnicator *proxy, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1369s # "RandomMethod", 1369s # g_variant_new ("()"), 1369s # G_DBUS_CALL_FLAGS_NONE, 1369s # -1, 1369s # cancellable, 1369s # callback, 1369s # user_data); 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_call_random_method_finish: 1369s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1369s # * @error: Return location for error or %NULL. 1369s # * 1369s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1369s # * 1369s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1369s # */ 1369s # gboolean 1369s # org_project_bar_frobnicator_call_random_method_finish ( 1369s # OrgProjectBarFrobnicator *proxy, 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GVariant *_ret; 1369s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1369s # if (_ret == NULL) 1369s # goto _out; 1369s # g_variant_get (_ret, 1369s # "()"); 1369s # g_variant_unref (_ret); 1369s # _out: 1369s # return _ret != NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_call_random_method_sync: 1369s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL. 1369s # * 1369s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1369s # * 1369s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1369s # */ 1369s # gboolean 1369s # org_project_bar_frobnicator_call_random_method_sync ( 1369s # OrgProjectBarFrobnicator *proxy, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GVariant *_ret; 1369s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1369s # "RandomMethod", 1369s # g_variant_new ("()"), 1369s # G_DBUS_CALL_FLAGS_NONE, 1369s # -1, 1369s # cancellable, 1369s # error); 1369s # if (_ret == NULL) 1369s # goto _out; 1369s # g_variant_get (_ret, 1369s # "()"); 1369s # g_variant_unref (_ret); 1369s # _out: 1369s # return _ret != NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_complete_random_method: 1369s # * @object: A #OrgProjectBarFrobnicator. 1369s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1369s # * 1369s # * 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. 1369s # * 1369s # * This method will free @invocation, you cannot use it afterwards. 1369s # */ 1369s # void 1369s # org_project_bar_frobnicator_complete_random_method ( 1369s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1369s # GDBusMethodInvocation *invocation) 1369s # { 1369s # g_dbus_method_invocation_return_value (invocation, 1369s # g_variant_new ("()")); 1369s # } 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectBarFrobnicatorProxy: 1369s # * 1369s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectBarFrobnicatorProxyClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1369s # */ 1369s # 1369s # struct _OrgProjectBarFrobnicatorProxyPrivate 1369s # { 1369s # GData *qdata; 1369s # }; 1369s # 1369s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1369s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1369s # { 1369s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1369s # g_datalist_clear (&proxy->priv->qdata); 1369s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1369s # guint prop_id G_GNUC_UNUSED, 1369s # const GValue *value G_GNUC_UNUSED, 1369s # GParamSpec *pspec G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1369s # const gchar *sender_name G_GNUC_UNUSED, 1369s # const gchar *signal_name, 1369s # GVariant *parameters) 1369s # { 1369s # _ExtendedGDBusSignalInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # gsize n; 1369s # guint signal_id; 1369s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1369s # if (info == NULL) 1369s # return; 1369s # num_params = g_variant_n_children (parameters); 1369s # paramv = g_new0 (GValue, num_params + 1); 1369s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1369s # g_value_set_object (¶mv[0], proxy); 1369s # g_variant_iter_init (&iter, parameters); 1369s # n = 1; 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1369s # g_signal_emitv (paramv, signal_id, 0, NULL); 1369s # for (n = 0; n < num_params + 1; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1369s # GVariant *changed_properties, 1369s # const gchar *const *invalidated_properties) 1369s # { 1369s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1369s # guint n; 1369s # const gchar *key; 1369s # GVariantIter *iter; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # g_variant_get (changed_properties, "a{sv}", &iter); 1369s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1369s # g_datalist_remove_data (&proxy->priv->qdata, key); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # g_variant_iter_free (iter); 1369s # for (n = 0; invalidated_properties[n] != NULL; n++) 1369s # { 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1369s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1369s # if (info != NULL) 1369s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1369s # } 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1369s # #else 1369s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1369s # #endif 1369s # 1369s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusProxyClass *proxy_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1369s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1369s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1369s # 1369s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1369s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1369s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_proxy_new: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_bar_frobnicator_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_proxy_new_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectBarFrobnicator * 1369s # org_project_bar_frobnicator_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_proxy_new_sync: 1369s # * @connection: A #GDBusConnection. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectBarFrobnicator * 1369s # org_project_bar_frobnicator_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_proxy_new_for_bus: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1369s # * @user_data: User data to pass to @callback. 1369s # * 1369s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1369s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1369s # * 1369s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1369s # */ 1369s # void 1369s # org_project_bar_frobnicator_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data) 1369s # { 1369s # 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); 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1369s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectBarFrobnicator * 1369s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error) 1369s # { 1369s # GObject *ret; 1369s # GObject *source_object; 1369s # source_object = g_async_result_get_source_object (res); 1369s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1369s # g_object_unref (source_object); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1369s # * @bus_type: A #GBusType. 1369s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1369s # * @name: A bus name (well-known or unique). 1369s # * @object_path: An object path. 1369s # * @cancellable: (nullable): A #GCancellable or %NULL. 1369s # * @error: Return location for error or %NULL 1369s # * 1369s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1369s # * 1369s # * The calling thread is blocked until a reply is received. 1369s # * 1369s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1369s # */ 1369s # OrgProjectBarFrobnicator * 1369s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error) 1369s # { 1369s # GInitable *ret; 1369s # 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); 1369s # if (ret != NULL) 1369s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1369s # else 1369s # return NULL; 1369s # } 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # 1369s # /** 1369s # * OrgProjectBarFrobnicatorSkeleton: 1369s # * 1369s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1369s # */ 1369s # 1369s # /** 1369s # * OrgProjectBarFrobnicatorSkeletonClass: 1369s # * @parent_class: The parent class. 1369s # * 1369s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1369s # */ 1369s # 1369s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1369s # { 1369s # GValue *properties; 1369s # GList *changed_properties; 1369s # GSource *changed_properties_idle_source; 1369s # GMainContext *context; 1369s # GMutex lock; 1369s # }; 1369s # 1369s # static void 1369s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name, 1369s # const gchar *method_name, 1369s # GVariant *parameters, 1369s # GDBusMethodInvocation *invocation, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1369s # _ExtendedGDBusMethodInfo *info; 1369s # GVariantIter iter; 1369s # GVariant *child; 1369s # GValue *paramv; 1369s # gsize num_params; 1369s # guint num_extra; 1369s # gsize n; 1369s # guint signal_id; 1369s # GValue return_value = G_VALUE_INIT; 1369s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1369s # g_assert (info != NULL); 1369s # num_params = g_variant_n_children (parameters); 1369s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1369s # n = 0; 1369s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1369s # g_value_set_object (¶mv[n++], skeleton); 1369s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1369s # g_value_set_object (¶mv[n++], invocation); 1369s # if (info->pass_fdlist) 1369s # { 1369s # #ifdef G_OS_UNIX 1369s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1369s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1369s # #else 1369s # g_assert_not_reached (); 1369s # #endif 1369s # } 1369s # g_variant_iter_init (&iter, parameters); 1369s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1369s # { 1369s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1369s # if (arg_info->use_gvariant) 1369s # { 1369s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1369s # g_value_set_variant (¶mv[n], child); 1369s # n++; 1369s # } 1369s # else 1369s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1369s # g_variant_unref (child); 1369s # } 1369s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1369s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1369s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1369s # if (!g_value_get_boolean (&return_value)) 1369s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1369s # g_value_unset (&return_value); 1369s # for (n = 0; n < num_params + num_extra; n++) 1369s # g_value_unset (¶mv[n]); 1369s # g_free (paramv); 1369s # } 1369s # 1369s # static GVariant * 1369s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # GVariant *ret; 1369s # ret = NULL; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # g_value_init (&value, pspec->value_type); 1369s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1369s # g_value_unset (&value); 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static gboolean 1369s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1369s # GDBusConnection *connection G_GNUC_UNUSED, 1369s # const gchar *sender G_GNUC_UNUSED, 1369s # const gchar *object_path G_GNUC_UNUSED, 1369s # const gchar *interface_name G_GNUC_UNUSED, 1369s # const gchar *property_name, 1369s # GVariant *variant, 1369s # GError **error, 1369s # gpointer user_data) 1369s # { 1369s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1369s # GValue value = G_VALUE_INIT; 1369s # GParamSpec *pspec; 1369s # _ExtendedGDBusPropertyInfo *info; 1369s # gboolean ret; 1369s # ret = FALSE; 1369s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1369s # g_assert (info != NULL); 1369s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1369s # if (pspec == NULL) 1369s # { 1369s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1369s # } 1369s # else 1369s # { 1369s # if (info->use_gvariant) 1369s # g_value_set_variant (&value, variant); 1369s # else 1369s # g_dbus_gvariant_to_gvalue (variant, &value); 1369s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1369s # g_value_unset (&value); 1369s # ret = TRUE; 1369s # } 1369s # return ret; 1369s # } 1369s # 1369s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1369s # { 1369s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1369s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1369s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1369s # {NULL} 1369s # }; 1369s # 1369s # static GDBusInterfaceInfo * 1369s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return org_project_bar_frobnicator_interface_info (); 1369s # } 1369s # 1369s # static GDBusInterfaceVTable * 1369s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1369s # { 1369s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1369s # } 1369s # 1369s # static GVariant * 1369s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1369s # { 1369s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1369s # 1369s # GVariantBuilder builder; 1369s # guint n; 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1369s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #else 1369s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1369s # #endif 1369s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1369s # goto out; 1369s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1369s # { 1369s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1369s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1369s # { 1369s # GVariant *value; 1369s # 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); 1369s # if (value != NULL) 1369s # { 1369s # g_variant_take_ref (value); 1369s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1369s # g_variant_unref (value); 1369s # } 1369s # } 1369s # } 1369s # out: 1369s # return g_variant_builder_end (&builder); 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1369s # 1369s # #else 1369s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1369s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1369s # 1369s # #endif 1369s # static void 1369s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1369s # { 1369s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1369s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # /* coverity[missing_lock : SUPPRESS] */ 1369s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1369s # #else 1369s # if (skeleton->priv->changed_properties_idle_source != NULL) 1369s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1369s # skeleton->priv->changed_properties_idle_source = NULL; 1369s # #endif 1369s # g_main_context_unref (skeleton->priv->context); 1369s # g_mutex_clear (&skeleton->priv->lock); 1369s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1369s # { 1369s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1369s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1369s # #else 1369s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1369s # #endif 1369s # 1369s # g_mutex_init (&skeleton->priv->lock); 1369s # skeleton->priv->context = g_main_context_ref_thread_default (); 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1369s # { 1369s # GObjectClass *gobject_class; 1369s # GDBusInterfaceSkeletonClass *skeleton_class; 1369s # 1369s # gobject_class = G_OBJECT_CLASS (klass); 1369s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1369s # 1369s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1369s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1369s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1369s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1369s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1369s # 1369s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1369s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1369s # #endif 1369s # } 1369s # 1369s # static void 1369s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1369s # { 1369s # } 1369s # 1369s # /** 1369s # * org_project_bar_frobnicator_skeleton_new: 1369s # * 1369s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1369s # * 1369s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1369s # */ 1369s # OrgProjectBarFrobnicator * 1369s # org_project_bar_frobnicator_skeleton_new (void) 1369s # { 1369s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1369s # } 1369s # Error: 1369s ok 45 __main__.TestCodegen.test_unix_fd_types_and_annotations 1369s # gdbus-codegen: /usr/bin/gdbus-codegen 1369s # tmpdir: /tmp/tmptj9qcz2t 1369s # /tmp/tmptj9qcz2t/tmp1lglwg31.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptj9qcz2t/tmp1lglwg31.xml', '--output', '-', '--header'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifndef __STDOUT__ 1369s # #define __STDOUT__ 1369s # 1369s # #include 1369s # 1369s # G_BEGIN_DECLS 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # /* Declarations for FDPassing */ 1369s # 1369s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1369s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1369s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1369s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1369s # 1369s # struct _FDPassing; 1369s # typedef struct _FDPassing FDPassing; 1369s # typedef struct _FDPassingIface FDPassingIface; 1369s # 1369s # struct _FDPassingIface 1369s # { 1369s # GTypeInterface parent_iface; 1369s # 1369s # gboolean (*handle_hello_fd) ( 1369s # FDPassing *object, 1369s # GDBusMethodInvocation *invocation, 1369s # GUnixFDList *fd_list, 1369s # const gchar *arg_greeting); 1369s # 1369s # gboolean (*handle_no_annotation) ( 1369s # FDPassing *object, 1369s # GDBusMethodInvocation *invocation, 1369s # GVariant *arg_greeting, 1369s # const gchar *arg_greeting_locale); 1369s # 1369s # gboolean (*handle_no_annotation_nested) ( 1369s # FDPassing *object, 1369s # GDBusMethodInvocation *invocation, 1369s # GVariant *arg_files); 1369s # 1369s # }; 1369s # 1369s # GType fdpassing_get_type (void) G_GNUC_CONST; 1369s # 1369s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1369s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1369s # 1369s # 1369s # /* D-Bus method call completion functions: */ 1369s # void fdpassing_complete_hello_fd ( 1369s # FDPassing *object, 1369s # GDBusMethodInvocation *invocation, 1369s # GUnixFDList *fd_list, 1369s # const gchar *response); 1369s # 1369s # void fdpassing_complete_no_annotation ( 1369s # FDPassing *object, 1369s # GDBusMethodInvocation *invocation, 1369s # GVariant *response, 1369s # const gchar *response_locale); 1369s # 1369s # void fdpassing_complete_no_annotation_nested ( 1369s # FDPassing *object, 1369s # GDBusMethodInvocation *invocation); 1369s # 1369s # 1369s # 1369s # /* D-Bus method calls: */ 1369s # void fdpassing_call_hello_fd ( 1369s # FDPassing *proxy, 1369s # const gchar *arg_greeting, 1369s # GUnixFDList *fd_list, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # 1369s # gboolean fdpassing_call_hello_fd_finish ( 1369s # FDPassing *proxy, 1369s # gchar ** out_response, 1369s # GUnixFDList **out_fd_list, 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # 1369s # gboolean fdpassing_call_hello_fd_sync ( 1369s # FDPassing *proxy, 1369s # const gchar *arg_greeting, 1369s # GUnixFDList *fd_list, 1369s # gchar ** out_response, 1369s # GUnixFDList **out_fd_list, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # void fdpassing_call_no_annotation ( 1369s # FDPassing *proxy, 1369s # GVariant *arg_greeting, 1369s # const gchar *arg_greeting_locale, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # 1369s # gboolean fdpassing_call_no_annotation_finish ( 1369s # FDPassing *proxy, 1369s # GVariant ** out_response, 1369s # gchar ** out_response_locale, 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # 1369s # gboolean fdpassing_call_no_annotation_sync ( 1369s # FDPassing *proxy, 1369s # GVariant *arg_greeting, 1369s # const gchar *arg_greeting_locale, 1369s # GVariant ** out_response, 1369s # gchar ** out_response_locale, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # void fdpassing_call_no_annotation_nested ( 1369s # FDPassing *proxy, 1369s # GVariant *arg_files, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # 1369s # gboolean fdpassing_call_no_annotation_nested_finish ( 1369s # FDPassing *proxy, 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # 1369s # gboolean fdpassing_call_no_annotation_nested_sync ( 1369s # FDPassing *proxy, 1369s # GVariant *arg_files, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # 1369s # 1369s # /* ---- */ 1369s # 1369s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1369s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1369s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1369s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1369s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1369s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1369s # 1369s # typedef struct _FDPassingProxy FDPassingProxy; 1369s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1369s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1369s # 1369s # struct _FDPassingProxy 1369s # { 1369s # /*< private >*/ 1369s # GDBusProxy parent_instance; 1369s # FDPassingProxyPrivate *priv; 1369s # }; 1369s # 1369s # struct _FDPassingProxyClass 1369s # { 1369s # GDBusProxyClass parent_class; 1369s # }; 1369s # 1369s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1369s # 1369s # #if GLIB_CHECK_VERSION(2, 44, 0) 1369s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1369s # #endif 1369s # 1369s # void fdpassing_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # FDPassing *fdpassing_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # FDPassing *fdpassing_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # void fdpassing_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # 1369s # /* ---- */ 1369s # 1369s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1369s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1369s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1369s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1369s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1369s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1369s # 1369s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1369s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1369s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1369s # 1369s # struct _FDPassingSkeleton 1369s # { 1369s # /*< private >*/ 1369s # GDBusInterfaceSkeleton parent_instance; 1369s # FDPassingSkeletonPrivate *priv; 1369s # }; 1369s # 1369s # struct _FDPassingSkeletonClass 1369s # { 1369s # GDBusInterfaceSkeletonClass parent_class; 1369s # }; 1369s # 1369s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1369s # 1369s # #if GLIB_CHECK_VERSION(2, 44, 0) 1369s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1369s # #endif 1369s # 1369s # FDPassing *fdpassing_skeleton_new (void); 1369s # 1369s # 1369s # G_END_DECLS 1369s # 1369s # #endif /* __STDOUT__ */ 1369s # Error: 1369s # 1369s # /tmp/tmptj9qcz2t/tmpg99_i79y.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptj9qcz2t/tmpg99_i79y.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifndef __STDOUT__ 1369s # #define __STDOUT__ 1369s # 1369s # #include 1369s # 1369s # G_BEGIN_DECLS 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # /* Declarations for FDPassing */ 1369s # 1369s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1369s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1369s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1369s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1369s # 1369s # struct _FDPassing; 1369s # typedef struct _FDPassing FDPassing; 1369s # typedef struct _FDPassingIface FDPassingIface; 1369s # 1369s # struct _FDPassingIface 1369s # { 1369s # GTypeInterface parent_iface; 1369s # 1369s # gboolean (*handle_hello_fd) ( 1369s # FDPassing *object, 1369s # GDBusMethodInvocation *invocation, 1369s # GUnixFDList *fd_list, 1369s # const gchar *arg_greeting); 1369s # 1369s # gboolean (*handle_no_annotation) ( 1369s # FDPassing *object, 1369s # GDBusMethodInvocation *invocation, 1369s # GVariant *arg_greeting, 1369s # const gchar *arg_greeting_locale); 1369s # 1369s # gboolean (*handle_no_annotation_nested) ( 1369s # FDPassing *object, 1369s # GDBusMethodInvocation *invocation, 1369s # GVariant *arg_files); 1369s # 1369s # }; 1369s # 1369s # GType fdpassing_get_type (void) G_GNUC_CONST; 1369s # 1369s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1369s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1369s # 1369s # 1369s # /* D-Bus method call completion functions: */ 1369s # void fdpassing_complete_hello_fd ( 1369s # FDPassing *object, 1369s # GDBusMethodInvocation *invocation, 1369s # GUnixFDList *fd_list, 1369s # const gchar *response); 1369s # 1369s # void fdpassing_complete_no_annotation ( 1369s # FDPassing *object, 1369s # GDBusMethodInvocation *invocation, 1369s # GVariant *response, 1369s # const gchar *response_locale); 1369s # 1369s # void fdpassing_complete_no_annotation_nested ( 1369s # FDPassing *object, 1369s # GDBusMethodInvocation *invocation); 1369s # 1369s # 1369s # 1369s # /* D-Bus method calls: */ 1369s # void fdpassing_call_hello_fd ( 1369s # FDPassing *proxy, 1369s # const gchar *arg_greeting, 1369s # GUnixFDList *fd_list, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # 1369s # gboolean fdpassing_call_hello_fd_finish ( 1369s # FDPassing *proxy, 1369s # gchar ** out_response, 1369s # GUnixFDList **out_fd_list, 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # 1369s # gboolean fdpassing_call_hello_fd_sync ( 1369s # FDPassing *proxy, 1369s # const gchar *arg_greeting, 1369s # GUnixFDList *fd_list, 1369s # gchar ** out_response, 1369s # GUnixFDList **out_fd_list, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # void fdpassing_call_no_annotation ( 1369s # FDPassing *proxy, 1369s # GVariant *arg_greeting, 1369s # const gchar *arg_greeting_locale, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # 1369s # gboolean fdpassing_call_no_annotation_finish ( 1369s # FDPassing *proxy, 1369s # GVariant ** out_response, 1369s # gchar ** out_response_locale, 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # 1369s # gboolean fdpassing_call_no_annotation_sync ( 1369s # FDPassing *proxy, 1369s # GVariant *arg_greeting, 1369s # const gchar *arg_greeting_locale, 1369s # GVariant ** out_response, 1369s # gchar ** out_response_locale, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # void fdpassing_call_no_annotation_nested ( 1369s # FDPassing *proxy, 1369s # GVariant *arg_files, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # 1369s # gboolean fdpassing_call_no_annotation_nested_finish ( 1369s # FDPassing *proxy, 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # 1369s # gboolean fdpassing_call_no_annotation_nested_sync ( 1369s # FDPassing *proxy, 1369s # GVariant *arg_files, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # 1369s # 1369s # /* ---- */ 1369s # 1369s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1369s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1369s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1369s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1369s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1369s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1369s # 1369s # typedef struct _FDPassingProxy FDPassingProxy; 1369s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1369s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1369s # 1369s # struct _FDPassingProxy 1369s # { 1369s # /*< private >*/ 1369s # GDBusProxy parent_instance; 1369s # FDPassingProxyPrivate *priv; 1369s # }; 1369s # 1369s # struct _FDPassingProxyClass 1369s # { 1369s # GDBusProxyClass parent_class; 1369s # }; 1369s # 1369s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1369s # 1369s # #if GLIB_CHECK_VERSION(2, 44, 0) 1369s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1369s # #endif 1369s # 1369s # void fdpassing_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # FDPassing *fdpassing_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # FDPassing *fdpassing_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # void fdpassing_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # 1369s # /* ---- */ 1369s # 1369s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1369s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1369s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1369s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1369s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1369s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1369s # 1369s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1369s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1369s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1369s # 1369s # struct _FDPassingSkeleton 1369s # { 1369s # /*< private >*/ 1369s # GDBusInterfaceSkeleton parent_instance; 1369s # FDPassingSkeletonPrivate *priv; 1369s # }; 1369s # 1369s # struct _FDPassingSkeletonClass 1369s # { 1369s # GDBusInterfaceSkeletonClass parent_class; 1369s # }; 1369s # 1369s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1369s # 1369s # #if GLIB_CHECK_VERSION(2, 44, 0) 1369s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1369s # #endif 1369s # 1369s # FDPassing *fdpassing_skeleton_new (void); 1369s # 1369s # 1369s # G_END_DECLS 1369s # 1369s # #endif /* __STDOUT__ */ 1369s # Error: 1369s # 1369s # /tmp/tmptj9qcz2t/tmpie7_ha5z.xml: 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # 1369s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptj9qcz2t/tmpie7_ha5z.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1369s # Return code: 0 1369s # Output: 1369s # /* 1369s # * This file is generated by gdbus-codegen, do not modify it. 1369s # * 1369s # * The license of this code is the same as for the D-Bus interface description 1369s # * it was derived from. Note that it links to GLib, so must comply with the 1369s # * LGPL linking clauses. 1369s # */ 1369s # 1369s # #ifndef __STDOUT__ 1369s # #define __STDOUT__ 1369s # 1369s # #include 1369s # 1369s # G_BEGIN_DECLS 1369s # 1369s # 1369s # /* ------------------------------------------------------------------------ */ 1369s # /* Declarations for FDPassing */ 1369s # 1369s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1369s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1369s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1369s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1369s # 1369s # struct _FDPassing; 1369s # typedef struct _FDPassing FDPassing; 1369s # typedef struct _FDPassingIface FDPassingIface; 1369s # 1369s # struct _FDPassingIface 1369s # { 1369s # GTypeInterface parent_iface; 1369s # 1369s # gboolean (*handle_hello_fd) ( 1369s # FDPassing *object, 1369s # GDBusMethodInvocation *invocation, 1369s # GUnixFDList *fd_list, 1369s # const gchar *arg_greeting); 1369s # 1369s # gboolean (*handle_no_annotation) ( 1369s # FDPassing *object, 1369s # GDBusMethodInvocation *invocation, 1369s # GUnixFDList *fd_list, 1369s # GVariant *arg_greeting, 1369s # const gchar *arg_greeting_locale); 1369s # 1369s # gboolean (*handle_no_annotation_nested) ( 1369s # FDPassing *object, 1369s # GDBusMethodInvocation *invocation, 1369s # GUnixFDList *fd_list, 1369s # GVariant *arg_files); 1369s # 1369s # }; 1369s # 1369s # GType fdpassing_get_type (void) G_GNUC_CONST; 1369s # 1369s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1369s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1369s # 1369s # 1369s # /* D-Bus method call completion functions: */ 1369s # void fdpassing_complete_hello_fd ( 1369s # FDPassing *object, 1369s # GDBusMethodInvocation *invocation, 1369s # GUnixFDList *fd_list, 1369s # const gchar *response); 1369s # 1369s # void fdpassing_complete_no_annotation ( 1369s # FDPassing *object, 1369s # GDBusMethodInvocation *invocation, 1369s # GUnixFDList *fd_list, 1369s # GVariant *response, 1369s # const gchar *response_locale); 1369s # 1369s # void fdpassing_complete_no_annotation_nested ( 1369s # FDPassing *object, 1369s # GDBusMethodInvocation *invocation, 1369s # GUnixFDList *fd_list); 1369s # 1369s # 1369s # 1369s # /* D-Bus method calls: */ 1369s # void fdpassing_call_hello_fd ( 1369s # FDPassing *proxy, 1369s # const gchar *arg_greeting, 1369s # GDBusCallFlags call_flags, 1369s # gint timeout_msec, 1369s # GUnixFDList *fd_list, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # 1369s # gboolean fdpassing_call_hello_fd_finish ( 1369s # FDPassing *proxy, 1369s # gchar ** out_response, 1369s # GUnixFDList **out_fd_list, 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # 1369s # gboolean fdpassing_call_hello_fd_sync ( 1369s # FDPassing *proxy, 1369s # const gchar *arg_greeting, 1369s # GDBusCallFlags call_flags, 1369s # gint timeout_msec, 1369s # GUnixFDList *fd_list, 1369s # gchar ** out_response, 1369s # GUnixFDList **out_fd_list, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # void fdpassing_call_no_annotation ( 1369s # FDPassing *proxy, 1369s # GVariant *arg_greeting, 1369s # const gchar *arg_greeting_locale, 1369s # GDBusCallFlags call_flags, 1369s # gint timeout_msec, 1369s # GUnixFDList *fd_list, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # 1369s # gboolean fdpassing_call_no_annotation_finish ( 1369s # FDPassing *proxy, 1369s # GVariant ** out_response, 1369s # gchar ** out_response_locale, 1369s # GUnixFDList **out_fd_list, 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # 1369s # gboolean fdpassing_call_no_annotation_sync ( 1369s # FDPassing *proxy, 1369s # GVariant *arg_greeting, 1369s # const gchar *arg_greeting_locale, 1369s # GDBusCallFlags call_flags, 1369s # gint timeout_msec, 1369s # GUnixFDList *fd_list, 1369s # GVariant ** out_response, 1369s # gchar ** out_response_locale, 1369s # GUnixFDList **out_fd_list, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # void fdpassing_call_no_annotation_nested ( 1369s # FDPassing *proxy, 1369s # GVariant *arg_files, 1369s # GDBusCallFlags call_flags, 1369s # gint timeout_msec, 1369s # GUnixFDList *fd_list, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # 1369s # gboolean fdpassing_call_no_annotation_nested_finish ( 1369s # FDPassing *proxy, 1369s # GUnixFDList **out_fd_list, 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # 1369s # gboolean fdpassing_call_no_annotation_nested_sync ( 1369s # FDPassing *proxy, 1369s # GVariant *arg_files, 1369s # GDBusCallFlags call_flags, 1369s # gint timeout_msec, 1369s # GUnixFDList *fd_list, 1369s # GUnixFDList **out_fd_list, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # 1369s # 1369s # /* ---- */ 1369s # 1369s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1369s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1369s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1369s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1369s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1369s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1369s # 1369s # typedef struct _FDPassingProxy FDPassingProxy; 1369s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1369s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1369s # 1369s # struct _FDPassingProxy 1369s # { 1369s # /*< private >*/ 1369s # GDBusProxy parent_instance; 1369s # FDPassingProxyPrivate *priv; 1369s # }; 1369s # 1369s # struct _FDPassingProxyClass 1369s # { 1369s # GDBusProxyClass parent_class; 1369s # }; 1369s # 1369s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1369s # 1369s # #if GLIB_CHECK_VERSION(2, 44, 0) 1369s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1369s # #endif 1369s # 1369s # void fdpassing_proxy_new ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # FDPassing *fdpassing_proxy_new_finish ( 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # FDPassing *fdpassing_proxy_new_sync ( 1369s # GDBusConnection *connection, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # void fdpassing_proxy_new_for_bus ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GAsyncReadyCallback callback, 1369s # gpointer user_data); 1369s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1369s # GAsyncResult *res, 1369s # GError **error); 1369s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1369s # GBusType bus_type, 1369s # GDBusProxyFlags flags, 1369s # const gchar *name, 1369s # const gchar *object_path, 1369s # GCancellable *cancellable, 1369s # GError **error); 1369s # 1369s # 1369s # /* ---- */ 1369s # 1369s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1369s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1369s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1369s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1369s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1369s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1369s # 1369s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1369s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1369s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1369s # 1369s # struct _FDPassingSkeleton 1369s # { 1369s # /*< private >*/ 1369s # GDBusInterfaceSkeleton parent_instance; 1369s # FDPassingSkeletonPrivate *priv; 1369s # }; 1369s # 1369s # struct _FDPassingSkeletonClass 1369s # { 1369s # GDBusInterfaceSkeletonClass parent_class; 1369s # }; 1369s # 1369s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1369s # 1369s # #if GLIB_CHECK_VERSION(2, 44, 0) 1369s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1369s # #endif 1369s # 1369s # FDPassing *fdpassing_skeleton_new (void); 1369s # 1369s # 1369s # G_END_DECLS 1369s # 1369s # #endif /* __STDOUT__ */ 1369s # Error: 1369s 1..45 1369s TAP version 14 1369s # random seed: R02S18274feef60ff2766a3de321e03c87bd 1369s 1..18 1369s # Start of gdbus tests 1369s # Start of message-serialize tests 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/basic/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/basic/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/basic/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/basic/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/basic/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/basic/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/basic/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/basic/.dirs/runtime 1369s ok 1 /gdbus/message-serialize/basic 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/complex/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/complex/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/complex/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/complex/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/complex/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/complex/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/complex/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/complex/.dirs/runtime 1369s ok 2 /gdbus/message-serialize/complex 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/invalid/.dirs/home 1369s ok - glib/codegen.py.test 1369s # Running test: glib/gdbus-serialization.test 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/invalid/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/invalid/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/invalid/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/invalid/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/invalid/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/invalid/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/invalid/.dirs/runtime 1369s ok 3 /gdbus/message-serialize/invalid 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/.dirs/runtime 1369s ok 4 /gdbus/message-serialize/header-checks 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/double-array/.dirs/home 1369s ok - glib/gdbus-serialization.test 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/double-array/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/double-array/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/double-array/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/double-array/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/double-array/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/double-array/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/double-array/.dirs/runtime 1369s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1369s ok 5 /gdbus/message-serialize/double-array 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/empty-structure/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/empty-structure/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/empty-structure/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/empty-structure/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/empty-structure/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/empty-structure/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/empty-structure/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/empty-structure/.dirs/runtime 1369s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1369s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1369s ok 6 /gdbus/message-serialize/empty-structure 1369s # Start of header-checks tests 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/valid/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/valid/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/valid/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/valid/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/valid/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1369s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1369s ok 7 /gdbus/message-serialize/header-checks/valid 1369s # End of header-checks tests 1369s # End of message-serialize tests 1369s # Start of message-parse tests 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1369s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1369s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/non-signature-header/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/non-signature-header/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/non-signature-header/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/non-signature-header/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/non-signature-header/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/non-signature-header/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/non-signature-header/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/non-signature-header/.dirs/runtime 1369s ok 9 /gdbus/message-parse/non-signature-header 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-signature-header/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-signature-header/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-signature-header/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-signature-header/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-signature-header/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-signature-header/.dirs/runtime 1369s ok 10 /gdbus/message-parse/empty-signature-header 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/multiple-signature-header/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/multiple-signature-header/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/multiple-signature-header/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/multiple-signature-header/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/multiple-signature-header/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1369s ok 11 /gdbus/message-parse/multiple-signature-header 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/over-long-signature-header/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/over-long-signature-header/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/over-long-signature-header/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/over-long-signature-header/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/over-long-signature-header/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1369s ok 12 /gdbus/message-parse/over-long-signature-header 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-header-nesting/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-header-nesting/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-header-nesting/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-header-nesting/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-header-nesting/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1369s ok 13 /gdbus/message-parse/deep-header-nesting 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-body-nesting/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-body-nesting/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-body-nesting/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-body-nesting/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-body-nesting/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1369s ok 14 /gdbus/message-parse/deep-body-nesting 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/truncated/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/truncated/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/truncated/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/truncated/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/truncated/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/truncated/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/truncated/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/truncated/.dirs/runtime 1369s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1369s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1369s ok 15 /gdbus/message-parse/truncated 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-structure/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-structure/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-structure/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-structure/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-structure/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-structure/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-structure/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/empty-structure/.dirs/runtime 1369s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1369s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1369s ok 16 /gdbus/message-parse/empty-structure 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/missing-header/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/missing-header/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/missing-header/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/missing-header/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/missing-header/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/missing-header/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/missing-header/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/missing-header/.dirs/runtime 1369s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1369s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1369s ok 17 /gdbus/message-parse/missing-header 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/invalid-header-type/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/invalid-header-type/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/invalid-header-type/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/invalid-header-type/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/invalid-header-type/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_3B7IK3/gdbus/message-parse/invalid-header-type/.dirs/runtime 1369s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1369s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1369s ok 18 /gdbus/message-parse/invalid-header-type 1369s # End of message-parse tests 1369s # End of gdbus tests 1369s # Running test: glib/network-monitor-race.test 1369s TAP version 14 1369s # random seed: R02Scb07745603f4b68b73bb71dc3b38c824 1369s 1..1 1369s # Start of network-monitor tests 1369s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1372s ok 1 /network-monitor/create-in-thread 1372s # slow test /network-monitor/create-in-thread executed in 2.16 secs 1372s # End of network-monitor tests 1372s ok - glib/network-monitor-race.test 1372s # Running test: glib/tls-bindings.test 1372s TAP version 14 1372s # random seed: R02Sa1c7bfe67e9c354b279804b0678d47da 1372s 1..2 1372s # Start of tls-connection tests 1372s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1372s ok 1 /tls-connection/get-tls-channel-binding 1372s ok - glib/tls-bindings.test 1372s ok 2 /tls-connection/get-dtls-channel-binding 1372s # End of tls-connection tests 1372s # Running test: glib/slice.test 1372s TAP version 14 1372s # random seed: R02S6022722c5bcf44f1e9bef7b1a4758297 1372s 1..3 1372s # Start of slice tests 1372s ok 1 /slice/copy 1372s ok 2 /slice/chain 1372s ok 3 /slice/allocate 1372s # End of slice tests 1372s ok - glib/slice.test 1372s # Running test: glib/environment.test 1372s TAP version 14 1372s # random seed: R02Sbe076b235f258f528044004a1a55743a 1372s 1..7 1372s # Start of environ tests 1372s # /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. 1372s ok 1 /environ/listenv 1372s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1372s ok 2 /environ/getenv 1372s ok 3 /environ/setenv 1372s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1372s ok 4 /environ/array 1372s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1372s ok 5 /environ/null 1372s # /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. 1372s ok 6 /environ/case 1372s # /environ/expansion summary: Test expansion of environment variable references. 1372s ok 7 /environ/expansion # SKIP Environment variable expansion is only supported on Windows 1372s # End of environ tests 1372s ok - glib/environment.test 1372s # Running test: glib/cxx.test 1372s TAP version 14 1372s # random seed: R02S80545245c743dcb5e0704e3ac82ce0ed 1372s 1..2 1372s # Start of gtask tests 1372s # 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. 1372s ok 1 /gtask/name 1372s # Start of name tests 1372s # 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. 1372s ok 2 /gtask/name/macro-wrapper 1372s # End of name tests 1372s # End of gtask tests 1372s ok - glib/cxx.test 1372s # Running test: glib/async-splice-output-stream.test 1372s TAP version 14 1372s # random seed: R02Saef7635d0299be6822051a95289a9614 1372s 1..5 1372s # Start of async-splice tests 1372s ok 1 /async-splice/copy-chunks 1372s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1372s ok 2 /async-splice/copy-chunks-threaded-input 1372s ok 3 /async-splice/copy-chunks-threaded-output 1372s ok 4 /async-splice/copy-chunks-threaded 1372s ok 5 /async-splice/cancelled 1372s # End of async-splice tests 1372s ok - glib/async-splice-output-stream.test 1372s # Running test: glib/utf8-validate.test 1372s TAP version 14 1372s # random seed: R02S71b655e9ddb49d5e8d5723860d3a229f 1372s 1..238 1372s # Start of utf8 tests 1372s # Vector 0 1372s # Vector 1 1372s # Vector 2 1372s # Vector 3 1372s # Vector 4 1372s # Vector 5 1372s # Vector 6 1372s # Vector 7 1372s # Vector 8 1372s # Vector 9 1372s # Vector 10 1372s # Vector 11 1372s # Vector 12 1372s # Vector 13 1372s # Vector 14 1372s # Vector 15 1372s # Vector 16 1372s # Vector 17 1372s # Vector 18 1372s # Vector 19 1372s # Vector 20 1372s # Vector 21 1372s # Vector 22 1372s # Vector 23 1372s # Vector 24 1372s # Vector 25 1372s # Vector 26 1372s # Vector 27 1372s ok 1 /utf8/get-char-validated 1372s # Start of validate tests 1372s ok 2 /utf8/validate/0 1372s ok 3 /utf8/validate/1 1372s ok 4 /utf8/validate/2 1372s ok 5 /utf8/validate/3 1372s ok 6 /utf8/validate/4 1372s ok 7 /utf8/validate/5 1372s ok 8 /utf8/validate/6 1372s ok 9 /utf8/validate/7 1372s ok 10 /utf8/validate/8 1372s ok 11 /utf8/validate/9 1372s ok 12 /utf8/validate/10 1372s ok 13 /utf8/validate/11 1372s ok 14 /utf8/validate/12 1372s ok 15 /utf8/validate/13 1372s ok 16 /utf8/validate/14 1372s ok 17 /utf8/validate/15 1372s ok 18 /utf8/validate/16 1372s ok 19 /utf8/validate/17 1372s ok 20 /utf8/validate/18 1372s ok 21 /utf8/validate/19 1372s ok 22 /utf8/validate/20 1372s ok 23 /utf8/validate/21 1372s ok 24 /utf8/validate/22 1372s ok 25 /utf8/validate/23 1372s ok 26 /utf8/validate/24 1372s ok 27 /utf8/validate/25 1372s ok 28 /utf8/validate/26 1372s ok 29 /utf8/validate/27 1372s ok 30 /utf8/validate/28 1372s ok 31 /utf8/validate/29 1372s ok 32 /utf8/validate/30 1372s ok 33 /utf8/validate/31 1372s ok 34 /utf8/validate/32 1372s ok 35 /utf8/validate/33 1372s ok 36 /utf8/validate/34 1372s ok 37 /utf8/validate/35 1372s ok 38 /utf8/validate/36 1372s ok 39 /utf8/validate/37 1372s ok 40 /utf8/validate/38 1372s ok 41 /utf8/validate/39 1372s ok 42 /utf8/validate/40 1372s ok 43 /utf8/validate/41 1372s ok 44 /utf8/validate/42 1372s ok 45 /utf8/validate/43 1372s ok 46 /utf8/validate/44 1372s ok 47 /utf8/validate/45 1372s ok 48 /utf8/validate/46 1372s ok 49 /utf8/validate/47 1372s ok 50 /utf8/validate/48 1372s ok 51 /utf8/validate/49 1372s ok 52 /utf8/validate/50 1372s ok 53 /utf8/validate/51 1372s ok 54 /utf8/validate/52 1372s ok 55 /utf8/validate/53 1372s ok 56 /utf8/validate/54 1372s ok 57 /utf8/validate/55 1372s ok 58 /utf8/validate/56 1372s ok 59 /utf8/validate/57 1372s ok 60 /utf8/validate/58 1372s ok 61 /utf8/validate/59 1372s ok 62 /utf8/validate/60 1372s ok 63 /utf8/validate/61 1372s ok 64 /utf8/validate/62 1372s ok 65 /utf8/validate/63 1372s ok 66 /utf8/validate/64 1372s ok 67 /utf8/validate/65 1372s ok 68 /utf8/validate/66 1372s ok 69 /utf8/validate/67 1372s ok 70 /utf8/validate/68 1372s ok 71 /utf8/validate/69 1372s ok 72 /utf8/validate/70 1372s ok 73 /utf8/validate/71 1372s ok 74 /utf8/validate/72 1372s ok 75 /utf8/validate/73 1372s ok 76 /utf8/validate/74 1372s ok 77 /utf8/validate/75 1372s ok 78 /utf8/validate/76 1372s ok 79 /utf8/validate/77 1372s ok 80 /utf8/validate/78 1372s ok 81 /utf8/validate/79 1372s ok 82 /utf8/validate/80 1372s ok 83 /utf8/validate/81 1372s ok 84 /utf8/validate/82 1372s ok 85 /utf8/validate/83 1372s ok 86 /utf8/validate/84 1372s ok 87 /utf8/validate/85 1372s ok 88 /utf8/validate/86 1372s ok 89 /utf8/validate/87 1372s ok 90 /utf8/validate/88 1372s ok 91 /utf8/validate/89 1372s ok 92 /utf8/validate/90 1372s ok 93 /utf8/validate/91 1372s ok 94 /utf8/validate/92 1372s ok 95 /utf8/validate/93 1372s ok 96 /utf8/validate/94 1372s ok 97 /utf8/validate/95 1372s ok 98 /utf8/validate/96 1372s ok 99 /utf8/validate/97 1372s ok 100 /utf8/validate/98 1372s ok 101 /utf8/validate/99 1372s ok 102 /utf8/validate/100 1372s ok 103 /utf8/validate/101 1372s ok 104 /utf8/validate/102 1372s ok 105 /utf8/validate/103 1372s ok 106 /utf8/validate/104 1372s ok 107 /utf8/validate/105 1372s ok 108 /utf8/validate/106 1372s ok 109 /utf8/validate/107 1372s ok 110 /utf8/validate/108 1372s ok 111 /utf8/validate/109 1372s ok 112 /utf8/validate/110 1372s ok 113 /utf8/validate/111 1372s ok 114 /utf8/validate/112 1372s ok 115 /utf8/validate/113 1372s ok 116 /utf8/validate/114 1372s ok 117 /utf8/validate/115 1372s ok 118 /utf8/validate/116 1372s ok 119 /utf8/validate/117 1372s ok 120 /utf8/validate/118 1372s ok 121 /utf8/validate/119 1372s ok 122 /utf8/validate/120 1372s ok 123 /utf8/validate/121 1372s ok 124 /utf8/validate/122 1372s ok 125 /utf8/validate/123 1372s ok 126 /utf8/validate/124 1372s ok 127 /utf8/validate/125 1372s ok 128 /utf8/validate/126 1372s ok 129 /utf8/validate/127 1372s ok 130 /utf8/validate/128 1372s ok 131 /utf8/validate/129 1372s ok 132 /utf8/validate/130 1372s ok 133 /utf8/validate/131 1372s ok 134 /utf8/validate/132 1372s ok 135 /utf8/validate/133 1372s ok 136 /utf8/validate/134 1372s ok 137 /utf8/validate/135 1372s ok 138 /utf8/validate/136 1372s ok 139 /utf8/validate/137 1372s ok 140 /utf8/validate/138 1372s ok 141 /utf8/validate/139 1372s ok 142 /utf8/validate/140 1372s ok 143 /utf8/validate/141 1372s ok 144 /utf8/validate/142 1372s ok 145 /utf8/validate/143 1372s ok 146 /utf8/validate/144 1372s ok 147 /utf8/validate/145 1372s ok 148 /utf8/validate/146 1372s ok 149 /utf8/validate/147 1372s ok 150 /utf8/validate/148 1372s ok 151 /utf8/validate/149 1372s ok 152 /utf8/validate/150 1372s ok 153 /utf8/validate/151 1372s ok 154 /utf8/validate/152 1372s ok 155 /utf8/validate/153 1372s ok 156 /utf8/validate/154 1372s ok 157 /utf8/validate/155 1372s ok 158 /utf8/validate/156 1372s ok 159 /utf8/validate/157 1372s ok 160 /utf8/validate/158 1372s ok 161 /utf8/validate/159 1372s ok 162 /utf8/validate/160 1372s ok 163 /utf8/validate/161 1372s ok 164 /utf8/validate/162 1372s ok 165 /utf8/validate/163 1372s ok 166 /utf8/validate/164 1372s ok 167 /utf8/validate/165 1372s ok 168 /utf8/validate/166 1372s ok 169 /utf8/validate/167 1372s ok 170 /utf8/validate/168 1372s ok 171 /utf8/validate/169 1372s ok 172 /utf8/validate/170 1372s ok 173 /utf8/validate/171 1372s ok 174 /utf8/validate/172 1372s ok 175 /utf8/validate/173 1372s ok 176 /utf8/validate/174 1372s ok 177 /utf8/validate/175 1372s ok 178 /utf8/validate/176 1372s ok 179 /utf8/validate/177 1372s ok 180 /utf8/validate/178 1372s ok 181 /utf8/validate/179 1372s ok 182 /utf8/validate/180 1372s ok 183 /utf8/validate/181 1372s ok 184 /utf8/validate/182 1372s ok 185 /utf8/validate/183 1372s ok 186 /utf8/validate/184 1372s ok 187 /utf8/validate/185 1372s ok 188 /utf8/validate/186 1372s ok 189 /utf8/validate/187 1372s ok 190 /utf8/validate/188 1372s ok - glib/utf8-validate.test 1372s # Running test: glib/base64.test 1372s ok - glib/base64.test 1372s # Running test: glib/gdbus-connection-slow.test 1372s ok 191 /utf8/validate/189 1372s ok 192 /utf8/validate/190 1372s ok 193 /utf8/validate/191 1372s ok 194 /utf8/validate/192 1372s ok 195 /utf8/validate/193 1372s ok 196 /utf8/validate/194 1372s ok 197 /utf8/validate/195 1372s ok 198 /utf8/validate/196 1372s ok 199 /utf8/validate/197 1372s ok 200 /utf8/validate/198 1372s ok 201 /utf8/validate/199 1372s ok 202 /utf8/validate/200 1372s ok 203 /utf8/validate/201 1372s ok 204 /utf8/validate/202 1372s ok 205 /utf8/validate/203 1372s ok 206 /utf8/validate/204 1372s ok 207 /utf8/validate/205 1372s ok 208 /utf8/validate/206 1372s ok 209 /utf8/validate/207 1372s ok 210 /utf8/validate/208 1372s ok 211 /utf8/validate/209 1372s ok 212 /utf8/validate/210 1372s ok 213 /utf8/validate/211 1372s ok 214 /utf8/validate/212 1372s ok 215 /utf8/validate/213 1372s ok 216 /utf8/validate/214 1372s ok 217 /utf8/validate/215 1372s ok 218 /utf8/validate/216 1372s ok 219 /utf8/validate/217 1372s ok 220 /utf8/validate/218 1372s ok 221 /utf8/validate/219 1372s ok 222 /utf8/validate/220 1372s ok 223 /utf8/validate/221 1372s ok 224 /utf8/validate/222 1372s ok 225 /utf8/validate/223 1372s ok 226 /utf8/validate/224 1372s ok 227 /utf8/validate/225 1372s ok 228 /utf8/validate/226 1372s ok 229 /utf8/validate/227 1372s ok 230 /utf8/validate/228 1372s ok 231 /utf8/validate/229 1372s ok 232 /utf8/validate/230 1372s ok 233 /utf8/validate/231 1372s ok 234 /utf8/validate/232 1372s ok 235 /utf8/validate/233 1372s ok 236 /utf8/validate/234 1372s ok 237 /utf8/validate/235 1372s ok 238 /utf8/validate/236 1372s # End of validate tests 1372s # End of utf8 tests 1372s TAP version 14 1372s # random seed: R02S0c91b9c1d5f5b7bebaa3d4f30649cb75 1372s 1..28 1372s # Start of base64 tests 1372s ok 1 /base64/encode 1372s ok 2 /base64/decode 1372s ok 3 /base64/decode-inplace 1372s ok 4 /base64/encode-decode 1372s # Start of full tests 1372s ok 5 /base64/full/1 1372s ok 6 /base64/full/2 1372s ok 7 /base64/full/3 1372s ok 8 /base64/full/4 1372s # End of full tests 1372s # Start of encode tests 1372s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1372s ok 9 /base64/encode/empty 1372s # Start of incremental tests 1372s # Start of small-block tests 1372s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1372s ok 10 /base64/encode/incremental/small-block/1 1372s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1372s ok 11 /base64/encode/incremental/small-block/2 1372s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1372s ok 12 /base64/encode/incremental/small-block/3 1372s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1372s ok 13 /base64/encode/incremental/small-block/4 1372s # End of small-block tests 1372s # End of incremental tests 1372s # End of encode tests 1372s # Start of incremental tests 1372s # Start of nobreak tests 1372s ok 14 /base64/incremental/nobreak/1 1372s ok 15 /base64/incremental/nobreak/2 1372s ok 16 /base64/incremental/nobreak/3 1372s ok 17 /base64/incremental/nobreak/4-a 1372s ok 18 /base64/incremental/nobreak/4-b 1372s ok 19 /base64/incremental/nobreak/4-c 1372s # End of nobreak tests 1372s # Start of break tests 1372s ok 20 /base64/incremental/break/1 1372s ok 21 /base64/incremental/break/2 1372s ok 22 /base64/incremental/break/3 1372s # End of break tests 1372s # Start of smallblock tests 1372s ok 23 /base64/incremental/smallblock/1 1372s ok 24 /base64/incremental/smallblock/2 1372s ok 25 /base64/incremental/smallblock/3 1372s ok 26 /base64/incremental/smallblock/4 1372s # End of smallblock tests 1372s # End of incremental tests 1372s # Start of decode tests 1372s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1372s ok 27 /base64/decode/empty 1372s # End of decode tests 1372s # Start of encode-decode tests 1372s # Vector 0: 1372s # Vector 1: f 1372s # Vector 2: fo 1372s # Vector 3: foo 1372s # Vector 4: foob 1372s # Vector 5: fooba 1372s # Vector 6: foobar 1372s ok 28 /base64/encode-decode/rfc4648 1372s # End of encode-decode tests 1372s # End of base64 tests 1372s TAP version 14 1372s # random seed: R02S574bfc275a21adeaa26f46681bbf4375 1372s 1..2 1372s # Start of gdbus tests 1372s # Start of connection tests 1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/flush/.dirs/home 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/flush/.dirs/cache 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/flush/.dirs/system-config2 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/flush/.dirs/config 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/flush/.dirs/system-data2 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/flush/.dirs/data 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/flush/.dirs/state 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/flush/.dirs/runtime 1372s # Executing: glib/gdbus-connection-slow.test 1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1372s ok 1 /gdbus/connection/flush 1372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/large_message/.dirs/home 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/large_message/.dirs/cache 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/large_message/.dirs/system-config2 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/large_message/.dirs/config 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/large_message/.dirs/system-data2 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/large_message/.dirs/data 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/large_message/.dirs/state 1372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_TEH6J3/gdbus/connection/large_message/.dirs/runtime 1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1372s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1372s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1372s ok 2 /gdbus/connection/large_message 1372s # End of connection tests 1372s # End of gdbus tests 1372s TAP version 14 1372s # random seed: R02S90a3fe05a06c04f7e3ef92439cdc40d6 1372s 1..1 1372s # Start of glib tests 1372s ok - glib/gdbus-connection-slow.test 1372s # Running test: glib/relation.test 1372s ok - glib/relation.test 1372s # Running test: glib/dynamictests.test 1372s ok 1 /glib/relation 1372s # End of glib tests 1372s TAP version 14 1372s # random seed: R02Se4de4949b4de3a1d625e58e6282f5bba 1372s 1..2 1372s # Start of GObject tests 1372s ok 1 /GObject/threaded-dynamic-ref-unref-init 1372s ok 2 /GObject/dynamic-interface-properties 1372s # End of GObject tests 1372s ok - glib/dynamictests.test 1372s # Running test: glib/task.test 1372s TAP version 14 1372s # random seed: R02Sb9ded11b9e2f45cb10bbbe5ab50950c8 1372s 1..37 1372s # Start of gtask tests 1372s ok 1 /gtask/basic 1372s ok 2 /gtask/error 1372s ok 3 /gtask/error-literal 1372s ok 4 /gtask/error-literal-from-variable 1372s ok 5 /gtask/return-from-same-iteration 1372s ok 6 /gtask/return-from-toplevel 1372s ok 7 /gtask/return-from-anon-thread 1372s ok 8 /gtask/return-from-wrong-thread 1372s ok 9 /gtask/no-callback 1372s ok 10 /gtask/report-error 1372s ok 11 /gtask/priority 1372s ok 12 /gtask/name 1372s ok 13 /gtask/static-name 1372s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1373s ok 14 /gtask/asynchronous-cancellation 1373s ok 15 /gtask/check-cancellable 1373s ok 16 /gtask/return-if-cancelled 1373s ok 17 /gtask/run-in-thread 1373s ok 18 /gtask/run-in-thread-sync 1373s ok 19 /gtask/run-in-thread-priority 1373s ok 20 /gtask/run-in-thread-nested 1373s ok 21 /gtask/run-in-thread-overflow 1373s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 1373s # GLib-GIO-DEBUG: GTask 0xac3b5a768140 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1373s # GLib-GIO-DEBUG: GTask 0xac3b5a767d50 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1373s ok 22 /gtask/return-on-cancel 1373s # GLib-GIO-DEBUG: GTask 0xac3b5a768200 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1373s ok 23 /gtask/return-on-cancel-sync 1373s # GLib-GIO-DEBUG: GTask 0xac3b5a768900 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1373s ok 24 /gtask/return-on-cancel-atomic 1373s ok 25 /gtask/return-pointer 1373s ok 26 /gtask/return-value 1373s ok 27 /gtask/return-prefixed-error 1373s ok 28 /gtask/object-keepalive 1373s ok 29 /gtask/legacy-error 1373s ok 30 /gtask/finalize-without-return 1373s ok 31 /gtask/thread-pool-stress # SKIP Skipping thread pool stress test in non-thorough mode 1373s # Start of name tests 1373s ok 32 /gtask/name/macro-wrapper 1373s # End of name tests 1373s # Start of return tests 1373s ok - glib/task.test 1373s # Running test: glib/object-info.test 1373s ok 33 /gtask/return/error-first 1373s ok 34 /gtask/return/value-first 1373s # Start of in-idle tests 1373s ok 35 /gtask/return/in-idle/error-first 1373s ok 36 /gtask/return/in-idle/value-first 1373s # End of in-idle tests 1373s # End of return tests 1373s # Start of attach-source tests 1373s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source’s name if unset 1373s ok 37 /gtask/attach-source/set-name 1373s # End of attach-source tests 1373s # End of gtask tests 1373s TAP version 14 1373s # random seed: R02S32cf568a7da2e0337881b08a7c2b2f49 1373s 1..2 1373s # Start of object-info tests 1373s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_105KK3/object-info/find-method-using-interfaces/.dirs/home 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_105KK3/object-info/find-method-using-interfaces/.dirs/cache 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_105KK3/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_105KK3/object-info/find-method-using-interfaces/.dirs/system-config2 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_105KK3/object-info/find-method-using-interfaces/.dirs/config 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_105KK3/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_105KK3/object-info/find-method-using-interfaces/.dirs/system-data2 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_105KK3/object-info/find-method-using-interfaces/.dirs/data 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_105KK3/object-info/find-method-using-interfaces/.dirs/state 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_105KK3/object-info/find-method-using-interfaces/.dirs/runtime 1373s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1373s ok 1 /object-info/find-method-using-interfaces 1373s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_105KK3/object-info/find-vfunc-using-interfaces/.dirs/home 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_105KK3/object-info/find-vfunc-using-interfaces/.dirs/cache 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_105KK3/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_105KK3/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_105KK3/object-info/find-vfunc-using-interfaces/.dirs/config 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_105KK3/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_105KK3/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_105KK3/object-info/find-vfunc-using-interfaces/.dirs/data 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_105KK3/object-info/find-vfunc-using-interfaces/.dirs/state 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_105KK3/object-info/find-vfunc-using-interfaces/.dirs/runtime 1373s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1373s ok 2 /object-info/find-vfunc-using-interfaces 1373s # End of object-info tests 1373s TAP version 14 1373s # random seed: R02Sf9a15e0d12820e4b5264c9eb320e97b8 1373s 1..1 1373s # Start of cache tests 1373s ok 1 /cache/basic 1373s # End of cache tests 1373s ok - glib/object-info.test 1373s # Running test: glib/cache.test 1373s ok - glib/cache.test 1373s # SUMMARY: total=337; passed=336; skipped=1; failed=0; user=180.9s; system=73.6s; maxrss=453356 1374s autopkgtest [16:19:08]: test installed-tests: -----------------------] 1375s installed-tests PASS 1375s autopkgtest [16:19:09]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1375s autopkgtest [16:19:09]: test closure-refcount: preparing testbed 1375s Reading package lists... 1375s Building dependency tree... 1375s Reading state information... 1375s Solving dependencies... 1376s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1377s autopkgtest [16:19:11]: test closure-refcount: [----------------------- 1377s Running test: glib/closure-refcount.test 1377s TAP version 14 1377s # random seed: R02S60bf67fa98cd5a4771b0786cd0b7e872 1377s 1..1 1377s # Start of closure tests 1377s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1377s # End of closure tests 1377s PASS: glib/closure-refcount.test 1377s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3380 1377s autopkgtest [16:19:11]: test closure-refcount: -----------------------] 1378s closure-refcount PASS 1378s autopkgtest [16:19:12]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1378s autopkgtest [16:19:12]: test debugcontroller: preparing testbed 1378s Reading package lists... 1378s Building dependency tree... 1378s Reading state information... 1379s Solving dependencies... 1379s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1380s autopkgtest [16:19:14]: test debugcontroller: [----------------------- 1380s Running test: glib/debugcontroller.test 1380s TAP version 14 1380s # random seed: R02Sc170ebab2ed74ec1cd584a622177c577 1380s 1..3 1380s # Start of debug-controller tests 1380s # Start of dbus tests 1380s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1380s # GLib-GIO-DEBUG: Debug output enabled 1380s # GLib-GIO-DEBUG: Debug output disabled 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s ok 1 /debug-controller/dbus/basic 1380s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s ok 2 /debug-controller/dbus/duplicate 1380s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1380s # GLib-GIO-DEBUG: Debug output enabled 1380s # GLib-GIO-DEBUG: Debug output disabled 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s ok 3 /debug-controller/dbus/properties 1380s # End of dbus tests 1380s # End of debug-controller tests 1380s PASS: glib/debugcontroller.test 1380s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6168 1380s autopkgtest [16:19:14]: test debugcontroller: -----------------------] 1381s debugcontroller PASS 1381s autopkgtest [16:19:15]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1381s autopkgtest [16:19:15]: test gdbus-server-auth: preparing testbed 1381s Reading package lists... 1382s Building dependency tree... 1382s Reading state information... 1382s Solving dependencies... 1382s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1383s autopkgtest [16:19:17]: test gdbus-server-auth: [----------------------- 1383s Running test: glib/gdbus-server-auth.test 1383s TAP version 14 1383s # random seed: R02Sd9d95813a882a2bb6c57e4aecacf16fc 1383s 1..10 1383s # Start of gdbus tests 1383s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/.dirs/home 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/.dirs/cache 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/.dirs/system-config2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/.dirs/config 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/.dirs/system-data2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/.dirs/data 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/.dirs/state 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/.dirs/runtime 1383s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_HFWGK3/gdbus-server-auth-Y9VGK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1383s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_HFWGK3/gdbus-server-auth-Y9VGK3/dbus-hUwFYk1B 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40259 1383s ok 1 /gdbus/server-auth 1383s # Start of server-auth tests 1383s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/abstract/.dirs/home 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/abstract/.dirs/cache 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/abstract/.dirs/system-config2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/abstract/.dirs/config 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/abstract/.dirs/system-data2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/abstract/.dirs/data 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/abstract/.dirs/state 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/abstract/.dirs/runtime 1383s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_HFWGK3/gdbus-server-auth-1AEHK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1383s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_HFWGK3/gdbus-server-auth-1AEHK3/dbus-8w860j4C 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40259 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1383s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40259 1383s ok 2 /gdbus/server-auth/abstract 1383s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/tcp/.dirs/home 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/tcp/.dirs/cache 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/tcp/.dirs/system-config2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/tcp/.dirs/config 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/tcp/.dirs/system-data2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/tcp/.dirs/data 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/tcp/.dirs/state 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/tcp/.dirs/runtime 1383s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1383s # Connectable address: tcp:host=127.0.0.1,port=40999 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1383s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1383s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1383s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1383s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1384s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1384s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1384s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1384s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1384s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1384s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1384s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1384s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1384s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1384s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1384s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1384s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1384s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1384s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1384s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1384s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1384s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1384s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1384s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1384s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1384s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1384s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1384s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1384s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1384s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1384s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1384s ok 3 /gdbus/server-auth/tcp 1384s # slow test /gdbus/server-auth/tcp executed in 0.86 secs 1384s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/.dirs/home 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/.dirs/cache 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/.dirs/system-config2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/.dirs/config 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/.dirs/system-data2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/.dirs/data 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/.dirs/state 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/.dirs/runtime 1384s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_HFWGK3/gdbus-server-auth-YH3BK3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1384s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_HFWGK3/gdbus-server-auth-YH3BK3/dbus-1ckYsquk 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40259 1384s ok 4 /gdbus/server-auth/anonymous 1384s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/.dirs/home 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/.dirs/cache 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/.dirs/system-config2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/.dirs/config 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/.dirs/system-data2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/.dirs/data 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/.dirs/state 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/.dirs/runtime 1384s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_HFWGK3/gdbus-server-auth-O4FCK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1384s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_HFWGK3/gdbus-server-auth-O4FCK3/dbus-AIy6f25k 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1384s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40259 1384s ok 5 /gdbus/server-auth/external 1384s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/.dirs/home 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/.dirs/cache 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/.dirs/system-config2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/.dirs/config 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/.dirs/system-data2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/.dirs/data 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/.dirs/state 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/.dirs/runtime 1384s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_HFWGK3/gdbus-server-auth-Y36DK3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1384s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_HFWGK3/gdbus-server-auth-Y36DK3/dbus-I2GaHoaK 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40259 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1384s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40259 1384s ok 6 /gdbus/server-auth/sha1 1384s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/path-in-use/.dirs/home 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/path-in-use/.dirs/cache 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/path-in-use/.dirs/system-config1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/path-in-use/.dirs/system-config2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/path-in-use/.dirs/config 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/path-in-use/.dirs/system-data1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/path-in-use/.dirs/system-data2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/path-in-use/.dirs/data 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/path-in-use/.dirs/state 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/path-in-use/.dirs/runtime 1384s ok 7 /gdbus/server-auth/path-in-use 1384s # Start of anonymous tests 1384s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/tcp/.dirs/home 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/tcp/.dirs/cache 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/tcp/.dirs/config 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/tcp/.dirs/data 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/tcp/.dirs/state 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1384s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1384s # Connectable address: tcp:host=127.0.0.1,port=43085 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1384s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1384s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1384s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1384s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1384s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1385s ok 8 /gdbus/server-auth/anonymous/tcp 1385s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.83 secs 1385s # End of anonymous tests 1385s # Start of external tests 1385s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/require-same-user/.dirs/home 1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/require-same-user/.dirs/cache 1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/require-same-user/.dirs/config 1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/require-same-user/.dirs/data 1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/require-same-user/.dirs/state 1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/external/require-same-user/.dirs/runtime 1385s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_HFWGK3/gdbus-server-auth-5AABK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1385s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_HFWGK3/gdbus-server-auth-5AABK3/dbus-Ww006Qsi 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40259 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1385s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40259,uid=1000,gid=1000 1385s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40259 1385s ok 9 /gdbus/server-auth/external/require-same-user 1385s # End of external tests 1385s # Start of sha1 tests 1385s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/tcp/.dirs/home 1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/tcp/.dirs/cache 1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/tcp/.dirs/config 1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/tcp/.dirs/data 1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/tcp/.dirs/state 1385s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HFWGK3/gdbus/server-auth/sha1/tcp/.dirs/runtime 1385s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1385s # Connectable address: tcp:host=127.0.0.1,port=37635 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1385s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1385s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1385s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1385s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1385s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1386s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1386s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1386s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1386s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1386s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1386s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1386s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1386s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1386s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1386s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1386s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1386s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1386s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1386s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1386s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1386s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1386s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1386s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1386s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1386s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1386s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1386s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1386s ok 10 /gdbus/server-auth/sha1/tcp 1386s # slow test /gdbus/server-auth/sha1/tcp executed in 0.84 secs 1386s # End of sha1 tests 1386s # End of server-auth tests 1386s # End of gdbus tests 1386s PASS: glib/gdbus-server-auth.test 1386s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=7992 1386s autopkgtest [16:19:20]: test gdbus-server-auth: -----------------------] 1387s autopkgtest [16:19:21]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1387s gdbus-server-auth PASS 1387s autopkgtest [16:19:21]: test gdbus-threading: preparing testbed 1387s Reading package lists... 1387s Building dependency tree... 1387s Reading state information... 1388s Solving dependencies... 1388s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1389s autopkgtest [16:19:23]: test gdbus-threading: [----------------------- 1389s Running test: glib/gdbus-threading.test 1389s TAP version 14 1389s # random seed: R02Sd2a6ec174496652d09738ec331020594 1389s 1..3 1389s # Start of gdbus tests 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_5Y3AK3/gdbus/delivery-in-thread/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_5Y3AK3/gdbus/delivery-in-thread/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_5Y3AK3/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_5Y3AK3/gdbus/delivery-in-thread/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_5Y3AK3/gdbus/delivery-in-thread/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_5Y3AK3/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_5Y3AK3/gdbus/delivery-in-thread/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_5Y3AK3/gdbus/delivery-in-thread/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_5Y3AK3/gdbus/delivery-in-thread/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_5Y3AK3/gdbus/delivery-in-thread/.dirs/runtime 1389s ok 1 /gdbus/delivery-in-thread 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_5Y3AK3/gdbus/method-calls-in-thread/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_5Y3AK3/gdbus/method-calls-in-thread/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_5Y3AK3/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_5Y3AK3/gdbus/method-calls-in-thread/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_5Y3AK3/gdbus/method-calls-in-thread/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_5Y3AK3/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_5Y3AK3/gdbus/method-calls-in-thread/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_5Y3AK3/gdbus/method-calls-in-thread/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_5Y3AK3/gdbus/method-calls-in-thread/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_5Y3AK3/gdbus/method-calls-in-thread/.dirs/runtime 1390s ok 2 /gdbus/method-calls-in-thread 1390s # slow test /gdbus/method-calls-in-thread executed in 0.83 secs 1390s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_5Y3AK3/gdbus/threaded-singleton/.dirs/home 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_5Y3AK3/gdbus/threaded-singleton/.dirs/cache 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_5Y3AK3/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_5Y3AK3/gdbus/threaded-singleton/.dirs/system-config2 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_5Y3AK3/gdbus/threaded-singleton/.dirs/config 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_5Y3AK3/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_5Y3AK3/gdbus/threaded-singleton/.dirs/system-data2 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_5Y3AK3/gdbus/threaded-singleton/.dirs/data 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_5Y3AK3/gdbus/threaded-singleton/.dirs/state 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_5Y3AK3/gdbus/threaded-singleton/.dirs/runtime 1390s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005e50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1390s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005e50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1390s # GLib-GIO-DEBUG: refcount of 0xe5e7e0003030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1390s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1390s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006960 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1390s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006f50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1390s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006f50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1390s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006f50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1390s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1390s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1390s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006fe0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1391s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e00075d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1392s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1393s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e00020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e00020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e00020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e00020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e00020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s Executing: glib/gdbus-threading.test 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e00020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e00020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e00020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e00020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e00020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007150 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007870 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1394s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007840 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007840 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007840 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007840 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e00060c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e00060c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e00060c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e00060c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e00060c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e00060c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e00060c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e00060c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e00060c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e00060c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e00060c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e00060c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e00060c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1395s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e00060c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e00060c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002da0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002da0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002da0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1396s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002da0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002da0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002da0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e0002da0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1397s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e00063c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e00063c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e00063c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e0001260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e0001260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1398s # GLib-GIO-DEBUG: refcount of 0xe5e7e0001260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e0001260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e00078c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e0001260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e00078c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006ed0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e00063b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005b50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s Executing: glib/gdbus-threading.test 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005b50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e00079d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e00079d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1399s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007a30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007a30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007a30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1400s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006270 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006270 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1401s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1402s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e0001260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e0001260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e0001260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e0001260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e0001260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1403s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s Executing: glib/gdbus-threading.test 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1404s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e00031a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1405s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007c10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007c10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1406s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1407s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e00025e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007050 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e0007050 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1408s # GLib-GIO-DEBUG: refcount of 0xe5e7e0001090 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s Executing: glib/gdbus-threading.test 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006110 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006110 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006110 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006110 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006110 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1409s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006110 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006110 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006110 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006110 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006110 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0000ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0000ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0000ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0000ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0000ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0000ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0000ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0000ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1410s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1411s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1411s # GLib-GIO-DEBUG: refcount of 0xe5e7e0006f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1411s # GLib-GIO-DEBUG: refcount of 0xe5e7e0000ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1411s # GLib-GIO-DEBUG: refcount of 0xe5e7e0000ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1411s # GLib-GIO-DEBUG: refcount of 0xe5e7e0000ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1411s # GLib-GIO-DEBUG: refcount of 0xe5e7e0005040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1411s # GLib-GIO-DEBUG: refcount of 0xe5e7e0004d90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1411s # GLib-GIO-DEBUG: refcount of 0xe5e7e0004d90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1411s # GLib-GIO-DEBUG: refcount of 0xe5e7e0004d90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1411s # GLib-GIO-DEBUG: refcount of 0xe5e7e0000ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1411s # GLib-GIO-DEBUG: refcount of 0xe5e7e0004d90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1411s ok 3 /gdbus/threaded-singleton 1411s # slow test /gdbus/threaded-singleton executed in 21.41 secs 1411s # End of gdbus tests 1411s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1411s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1411s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1411s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1411s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1411s PASS: glib/gdbus-threading.test 1411s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.4s; maxrss=5896 1412s autopkgtest [16:19:46]: test gdbus-threading: -----------------------] 1412s autopkgtest [16:19:46]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1412s gdbus-threading PASS 1413s autopkgtest [16:19:47]: test gmenumodel: preparing testbed 1413s Reading package lists... 1413s Building dependency tree... 1413s Reading state information... 1413s Solving dependencies... 1413s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1415s autopkgtest [16:19:49]: test gmenumodel: [----------------------- 1415s Running test: glib/gmenumodel.test 1415s TAP version 14 1415s # random seed: R02Sce235c34b8699f3f661ef90b6976dec9 1415s 1..15 1415s # Start of gmenu tests 1415s ok 1 /gmenu/equality 1416s ok 2 /gmenu/random 1416s # slow test /gmenu/random executed in 0.61 secs 1416s ok 3 /gmenu/attributes 1416s ok 4 /gmenu/links 1416s ok 5 /gmenu/mutable 1416s ok 6 /gmenu/convenience 1416s ok 7 /gmenu/menuitem 1416s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1416s ok 8 /gmenu/input-validation 1416s # Start of dbus tests 1417s ok 9 /gmenu/dbus/roundtrip 1417s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1417s ok 10 /gmenu/dbus/subscriptions 1419s ok 11 /gmenu/dbus/threaded 1419s # slow test /gmenu/dbus/threaded executed in 0.92 secs 1419s # Start of peer tests 1419s ok 12 /gmenu/dbus/peer/roundtrip 1419s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1420s ok 13 /gmenu/dbus/peer/subscriptions 1420s # End of peer tests 1420s # Start of export tests 1420s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1420s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1420s ok 14 /gmenu/dbus/export/error-handling 1420s # End of export tests 1420s # End of dbus tests 1420s # Start of attributes tests 1420s ok 15 /gmenu/attributes/iterate 1420s # End of attributes tests 1420s # End of gmenu tests 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s PASS: glib/gmenumodel.test 1420s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.5s; system=0.3s; maxrss=14496 1420s autopkgtest [16:19:54]: test gmenumodel: -----------------------] 1421s autopkgtest [16:19:55]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1421s gmenumodel PASS 1421s autopkgtest [16:19:55]: test mainloop: preparing testbed 1421s Reading package lists... 1421s Building dependency tree... 1421s Reading state information... 1422s Solving dependencies... 1422s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1423s autopkgtest [16:19:57]: test mainloop: [----------------------- 1423s Running test: glib/mainloop.test 1423s TAP version 14 1423s # random seed: R02S0c7d3b3376043c32c9b9fd4bbe6c3c70 1423s 1..48 1423s # Start of maincontext tests 1423s ok 1 /maincontext/basic 1423s # Add same-priority sources: 18 1423s # Find each source: 4 1423s # Remove in random order: 32 1423s ok 2 /maincontext/nsources_same_priority 1423s # Add different-priority sources: 22 1423s # Find each source: 4 1423s # Remove in random order: 35 1423s ok 3 /maincontext/nsources_different_priority 1423s # Add sources from threads: 80 1423s # Remove sources from threads: 40 1423s ok 4 /maincontext/nsources_threadpool 1423s ok 5 /maincontext/source_finalization 1423s # /maincontext/idle-once summary: Test g_idle_add_once() works 1423s ok 6 /maincontext/idle-once 1423s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1423s ok 7 /maincontext/timeout-once 1423s # /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. 1423s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 1423s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 1423s # Start of source_finalization_from_source tests 1423s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1423s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1423s ok 9 /maincontext/source_finalization_from_source/0 1423s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1423s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1423s ok 10 /maincontext/source_finalization_from_source/1 1423s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1423s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1423s ok 11 /maincontext/source_finalization_from_source/2 1423s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1423s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1423s ok 12 /maincontext/source_finalization_from_source/3 1423s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1423s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1423s ok 13 /maincontext/source_finalization_from_source/4 1423s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1423s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1423s ok 14 /maincontext/source_finalization_from_source/5 1423s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1423s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1423s ok 15 /maincontext/source_finalization_from_source/6 1423s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1423s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1423s ok 16 /maincontext/source_finalization_from_source/7 1423s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1423s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1423s ok 17 /maincontext/source_finalization_from_source/8 1423s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1423s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1423s ok 18 /maincontext/source_finalization_from_source/9 1423s # End of source_finalization_from_source tests 1423s # Start of source_finalization_from_dispatch tests 1423s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1423s ok 19 /maincontext/source_finalization_from_dispatch/0 1423s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1423s ok 20 /maincontext/source_finalization_from_dispatch/1 1423s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1423s ok 21 /maincontext/source_finalization_from_dispatch/2 1423s # End of source_finalization_from_dispatch tests 1423s # End of maincontext tests 1423s # Start of mainloop tests 1423s ok 22 /mainloop/basic 1423s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 1423s ok 24 /mainloop/priorities 1424s ok 25 /mainloop/invoke 1424s # slow test /mainloop/invoke executed in 0.50 secs 1425s ok 26 /mainloop/child_sources 1425s # slow test /mainloop/child_sources executed in 1.19 secs 1427s ok 27 /mainloop/recursive_child_sources 1427s # slow test /mainloop/recursive_child_sources executed in 2.18 secs 1427s ok 28 /mainloop/recursive_loop_child_sources 1427s ok 29 /mainloop/swapping_child_sources 1427s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1427s ok 30 /mainloop/blocked_child_sources 1428s Executing: glib/mainloop.test 1428s ok 31 /mainloop/source_time 1428s # slow test /mainloop/source_time executed in 1.00 secs 1428s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1428s ok 32 /mainloop/overflow 1429s ok 33 /mainloop/ready-time 1429s # slow test /mainloop/ready-time executed in 0.50 secs 1429s ok 34 /mainloop/wakeup 1429s ok 35 /mainloop/remove-invalid 1429s ok 36 /mainloop/unref-while-pending 1429s # Test that the global default main context is used if NULL is passed to various methods 1429s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3818 1429s ok 37 /mainloop/null-default-context 1429s ok 38 /mainloop/unix-fd 1429s # slow test /mainloop/unix-fd executed in 0.58 secs 1429s ok 39 /mainloop/unix-fd-source 1429s ok 40 /mainloop/source-unix-fd-api 1430s ok 41 /mainloop/wait 1430s ok 42 /mainloop/unix-file-poll 1430s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1430s ok 43 /mainloop/unix-fd-priority 1430s ok 44 /mainloop/nfds 1430s ok 45 /mainloop/steal-fd 1431s ok 46 /mainloop/simultaneous-source-context-destruction 1431s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.26 secs 1431s # Start of ownerless-polling tests 1431s ok 47 /mainloop/ownerless-polling/attach-first 1431s ok 48 /mainloop/ownerless-polling/pop-first 1431s # End of ownerless-polling tests 1431s # End of mainloop tests 1431s PASS: glib/mainloop.test 1431s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.7s; system=2.3s; maxrss=16796 1431s autopkgtest [16:20:05]: test mainloop: -----------------------] 1432s mainloop PASS 1432s autopkgtest [16:20:06]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1432s autopkgtest [16:20:06]: test memory-monitor-dbus: preparing testbed 1432s Reading package lists... 1433s Building dependency tree... 1433s Reading state information... 1433s Solving dependencies... 1433s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1434s autopkgtest [16:20:08]: test memory-monitor-dbus: [----------------------- 1434s Running test: glib/memory-monitor-dbus.test 1434s TAP version 13 1434s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1434s # Received memory warning signal, level 0 1434s # Received memory warning signal, level 100 1434s # Received memory warning signal, level 255 1434s 1..1 1434s PASS: glib/memory-monitor-dbus.test 1434s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=30700 1435s autopkgtest [16:20:09]: test memory-monitor-dbus: -----------------------] 1435s autopkgtest [16:20:09]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1435s memory-monitor-dbus PASS 1436s autopkgtest [16:20:10]: test socket: preparing testbed 1436s Reading package lists... 1436s Building dependency tree... 1436s Reading state information... 1436s Solving dependencies... 1437s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1438s autopkgtest [16:20:12]: test socket: [----------------------- 1438s Running test: glib/socket.test 1438s TAP version 14 1438s # random seed: R02Sf9190ce6c3cfe25579016eecb092c00f 1438s 1..30 1438s # Start of socket tests 1439s ok 1 /socket/ipv4_sync 1439s # slow test /socket/ipv4_sync executed in 1.00 secs 1440s ok 2 /socket/ipv4_async 1440s # slow test /socket/ipv4_async executed in 1.00 secs 1440s ok 3 /socket/ipv6_sync 1440s ok 4 /socket/ipv6_async 1440s ok 5 /socket/ipv6_v4mapped 1441s ok 6 /socket/close_graceful 1441s # slow test /socket/close_graceful executed in 1.00 secs 1441s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1441s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1441s ok 8 /socket/fd_reuse 1441s ok 9 /socket/address 1441s ok 10 /socket/unix-from-fd 1441s ok 11 /socket/unix-connection 1441s ok 12 /socket/unix-connection-ancillary-data 1441s ok 13 /socket/source-postmortem 1441s ok 14 /socket/read_write 1441s ok 15 /socket/read_writev 1441s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1441s ok 16 /socket/receive_bytes 1441s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1441s ok 17 /socket/receive_bytes_from 1441s # Start of ipv4_sync tests 1441s ok 18 /socket/ipv4_sync/datagram 1441s # Start of datagram tests 1442s ok 19 /socket/ipv4_sync/datagram/timeouts 1442s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1442s # End of datagram tests 1442s # End of ipv4_sync tests 1442s # Start of ipv6_sync tests 1442s ok 20 /socket/ipv6_sync/datagram 1442s # Start of datagram tests 1443s ok 21 /socket/ipv6_sync/datagram/timeouts 1443s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1443s # End of datagram tests 1443s # End of ipv6_sync tests 1443s # Start of reuse tests 1443s ok 22 /socket/reuse/tcp 1443s ok 23 /socket/reuse/udp 1443s # End of reuse tests 1443s # Start of get_available tests 1443s ok 24 /socket/get_available/datagram 1443s ok 25 /socket/get_available/stream 1443s # End of get_available tests 1443s # Start of credentials tests 1443s # Supported on this OS: GCredentials:linux-ucred:pid=0 1443s ok 26 /socket/credentials/tcp_client 1443s # Supported on this OS: GCredentials:linux-ucred:pid=0 1443s ok 27 /socket/credentials/tcp_server 1443s # Supported on this OS: GCredentials:linux-ucred:pid=66258,uid=1000,gid=1000 1443s ok 28 /socket/credentials/unix_socketpair 1443s # End of credentials tests 1443s # Start of accept tests 1443s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1443s ok 29 /socket/accept/cancelled 1443s # End of accept tests 1443s # Start of connect tests 1443s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1443s ok 30 /socket/connect/cancelled 1443s # End of connect tests 1443s # End of socket tests 1443s PASS: glib/socket.test 1443s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5432 1443s autopkgtest [16:20:17]: test socket: -----------------------] 1444s autopkgtest [16:20:18]: test socket: - - - - - - - - - - results - - - - - - - - - - 1444s socket PASS 1444s autopkgtest [16:20:18]: test testfilemonitor: preparing testbed 1445s Reading package lists... 1445s Building dependency tree... 1445s Reading state information... 1445s Solving dependencies... 1445s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1446s autopkgtest [16:20:20]: test testfilemonitor: [----------------------- 1446s Running test: glib/testfilemonitor.test 1446s TAP version 14 1446s # random seed: R02Se134c22ff4dad643d5eb0499b4a5311b 1446s 1..8 1446s # Start of monitor tests 1446s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1446s # Using temporary directory: /tmp/gio-test-testfilemonitor_G77KK3 1446s # Using GFileMonitor GInotifyFileMonitor 1448s ok 1 /monitor/atomic-replace 1448s # slow test /monitor/atomic-replace executed in 2.00 secs 1448s # Using temporary directory: /tmp/gio-test-testfilemonitor_ZW5KK3 1448s # Using GFileMonitor GInotifyFileMonitor 1451s ok 2 /monitor/file-changes 1451s # slow test /monitor/file-changes executed in 2.50 secs 1451s # Using temporary directory: /tmp/gio-test-testfilemonitor_PM97J3 1451s # Using GFileMonitor GInotifyFileMonitor 1452s Executing: glib/testfilemonitor.test 1454s ok 3 /monitor/dir-monitor 1454s # slow test /monitor/dir-monitor executed in 3.50 secs 1454s # Using temporary directory: /tmp/gio-test-testfilemonitor_IJPLK3 1454s # Using GFileMonitor GInotifyFileMonitor 1457s Executing: glib/testfilemonitor.test 1462s Executing: glib/testfilemonitor.test 1467s Executing: glib/testfilemonitor.test 1472s Executing: glib/testfilemonitor.test 1477s Executing: glib/testfilemonitor.test 1479s ok 4 /monitor/dir-not-existent 1479s # slow test /monitor/dir-not-existent executed in 25.00 secs 1479s # Using temporary directory: /tmp/gio-test-testfilemonitor_XKKLK3 1479s # Using GFileMonitor 0 GInotifyFileMonitor 1479s # Using GFileMonitor 1 GInotifyFileMonitor 1481s ok 5 /monitor/cross-dir-moves 1481s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1481s # Using temporary directory: /tmp/gio-test-testfilemonitor_OJLLK3 1481s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn’t cause a deadlock. 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1481s ok 6 /monitor/finalize-in-callback 1481s # Using temporary directory: /tmp/gio-test-testfilemonitor_USHLK3 1481s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1481s ok 7 /monitor/root 1481s # Start of file tests 1481s # Using temporary directory: /tmp/gio-test-testfilemonitor_NDELK3 1481s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1481s # Running with hard link tests 1481s # Using GFileMonitor GInotifyFileMonitor 1482s Executing: glib/testfilemonitor.test 1485s # Event 0 at expected index 7 skipped because it is marked as optional 1485s # Event 2 at expected index 11 skipped because it is marked as optional 1485s ok 8 /monitor/file/hard-links 1485s # slow test /monitor/file/hard-links executed in 3.50 secs 1485s # End of file tests 1485s # End of monitor tests 1485s PASS: glib/testfilemonitor.test 1485s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5768 1485s autopkgtest [16:20:59]: test testfilemonitor: -----------------------] 1486s autopkgtest [16:21:00]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1486s testfilemonitor PASS 1486s autopkgtest [16:21:00]: test thread-pool-slow: preparing testbed 1486s Reading package lists... 1486s Building dependency tree... 1486s Reading state information... 1487s Solving dependencies... 1487s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1488s autopkgtest [16:21:02]: test thread-pool-slow: [----------------------- 1488s Running test: glib/thread-pool-slow.test 1488s TAP version 14 1488s # random seed: R02S87d73ddc4ea79f1f207c57f62ab05158 1488s 1..7 1488s # Start of threadpool tests 1488s ok 1 /threadpool/functions 1489s ok 2 /threadpool/stop-unused 1489s # slow test /threadpool/stop-unused executed in 0.51 secs 1489s ok 3 /threadpool/pools 1489s # [unsorted] ===> pushed new thread with id:65, number of threads:1, unprocessed:1 1489s # [unsorted] ===> pushed new thread with id:3, number of threads:2, unprocessed:2 1489s # [unsorted] ===> pushed new thread with id:43, number of threads:3, unprocessed:3 1489s # [unsorted] ===> pushed new thread with id:62, number of threads:4, unprocessed:4 1489s # [unsorted] ===> pushed new thread with id:68, number of threads:5, unprocessed:5 1489s # [unsorted] ===> pushed new thread with id:37, number of threads:6, unprocessed:5 1489s # [unsorted] ===> pushed new thread with id:43, number of threads:7, unprocessed:2 1489s # [unsorted] ===> pushed new thread with id:41, number of threads:8, unprocessed:1 1489s # [unsorted] ===> pushed new thread with id:15, number of threads:9, unprocessed:2 1489s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:1 1489s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:1 1489s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:2 1489s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:3 1489s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:4 1489s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:5 1489s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:6 1489s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:7 1489s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:8 1489s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:9 1489s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:10 1489s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:11 1489s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:12 1489s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:13 1489s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:14 1489s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:15 1489s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:16 1489s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:17 1489s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:18 1489s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:19 1489s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:20 1489s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:21 1489s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:22 1489s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:23 1489s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:24 1489s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:25 1489s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:26 1489s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:27 1489s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:28 1489s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:29 1489s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:30 1489s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:31 1489s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:32 1489s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:33 1489s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:34 1489s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:35 1489s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:36 1489s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:37 1489s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:38 1489s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:39 1489s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:40 1489s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:41 1489s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:42 1489s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:43 1489s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:44 1489s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:45 1489s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:46 1489s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:47 1489s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:48 1489s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:49 1489s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:50 1489s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:51 1489s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:52 1489s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:53 1489s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:54 1489s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:55 1489s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:56 1489s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:57 1489s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:58 1489s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:59 1489s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:60 1489s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:61 1489s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:62 1489s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:63 1489s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:64 1489s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:65 1489s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:66 1489s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:67 1489s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:68 1489s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:69 1489s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:70 1489s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:71 1489s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:72 1489s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:73 1489s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:74 1489s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:75 1489s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:76 1489s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:77 1489s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:78 1489s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:79 1489s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:80 1489s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:81 1489s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:82 1489s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:83 1489s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:84 1489s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:85 1489s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:86 1489s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:87 1489s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:88 1489s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:89 1489s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:90 1489s ok 4 /threadpool/no-sort 1489s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:1 1489s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:2 1489s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:3 1489s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:4 1489s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:5 1489s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:6 1489s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:7 1489s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:8 1489s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:9 1489s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:10 1489s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:11 1489s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:12 1489s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:13 1489s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:14 1489s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:15 1489s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:16 1489s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:17 1489s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:18 1489s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:19 1489s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:20 1489s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:21 1489s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:22 1489s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:23 1489s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:24 1489s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:25 1489s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:26 1489s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:27 1489s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:28 1489s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:29 1489s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:30 1489s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:31 1489s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:32 1489s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:33 1489s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:34 1489s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:35 1489s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:36 1489s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:37 1489s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:38 1489s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:39 1489s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:40 1489s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:41 1489s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:42 1489s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:43 1489s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:44 1489s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:45 1489s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:46 1489s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:47 1489s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:48 1489s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:49 1489s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:50 1489s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:51 1489s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:52 1489s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:53 1489s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:54 1489s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:55 1489s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:56 1489s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:57 1489s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:58 1489s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:59 1489s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:60 1489s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:61 1489s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:62 1489s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:63 1489s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:64 1489s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:65 1489s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:66 1489s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:67 1489s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:68 1489s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:69 1489s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:70 1489s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:71 1489s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:72 1489s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:73 1489s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:74 1489s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:75 1489s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:76 1489s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:77 1489s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:78 1489s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:79 1489s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:80 1489s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:81 1489s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:82 1489s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:83 1489s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:84 1489s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:85 1489s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:86 1489s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:87 1489s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:88 1489s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:89 1489s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:90 1489s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:91 1489s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:92 1489s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:93 1489s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:94 1489s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:95 1489s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:96 1489s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:97 1489s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:98 1489s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:99 1489s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:100 1489s # Starting thread pool processing 1489s ok 5 /threadpool/sort 1489s ok 6 /threadpool/stop-unused-multiple 1489s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1489s # Pool idle thread count: 0, unprocessed jobs: 40 1490s # Pool idle thread count: 0, unprocessed jobs: 0 1490s # Pool idle thread count: 0, unprocessed jobs: 0 1490s # Pool idle thread count: 10, unprocessed jobs: 0 1490s # Pool idle thread count: 10, unprocessed jobs: 0 1491s # Pool idle thread count: 10, unprocessed jobs: 0 1491s # Pool idle thread count: 10, unprocessed jobs: 0 1491s # Pool idle thread count: 10, unprocessed jobs: 0 1491s # Pool idle thread count: 10, unprocessed jobs: 0 1492s # Pool idle thread count: 10, unprocessed jobs: 0 1492s # Pool idle thread count: 10, unprocessed jobs: 0 1492s # Pool idle thread count: 10, unprocessed jobs: 0 1492s # Pool idle thread count: 10, unprocessed jobs: 0 1493s # Pool idle thread count: 10, unprocessed jobs: 0 1493s # Pool idle thread count: 10, unprocessed jobs: 0 1493s Executing: glib/thread-pool-slow.test 1493s # Pool idle thread count: 10, unprocessed jobs: 0 1493s # Pool idle thread count: 10, unprocessed jobs: 0 1494s # Pool idle thread count: 10, unprocessed jobs: 0 1494s # Pool idle thread count: 10, unprocessed jobs: 0 1494s # Pool idle thread count: 10, unprocessed jobs: 0 1494s # Pool idle thread count: 10, unprocessed jobs: 0 1495s # Pool idle thread count: 10, unprocessed jobs: 0 1495s # Pool idle thread count: 10, unprocessed jobs: 0 1495s # Pool idle thread count: 10, unprocessed jobs: 0 1495s # Pool idle thread count: 10, unprocessed jobs: 0 1496s # Pool idle thread count: 10, unprocessed jobs: 0 1496s # Pool idle thread count: 10, unprocessed jobs: 0 1496s # Pool idle thread count: 10, unprocessed jobs: 0 1496s # Pool idle thread count: 10, unprocessed jobs: 0 1497s # Pool idle thread count: 10, unprocessed jobs: 0 1497s # Pool idle thread count: 10, unprocessed jobs: 0 1497s # Pool idle thread count: 10, unprocessed jobs: 0 1497s # Pool idle thread count: 10, unprocessed jobs: 0 1498s # Pool idle thread count: 10, unprocessed jobs: 0 1498s # Pool idle thread count: 10, unprocessed jobs: 0 1498s Executing: glib/thread-pool-slow.test 1498s # Pool idle thread count: 10, unprocessed jobs: 2 1498s # Pool idle thread count: 10, unprocessed jobs: 2 1498s # Pool idle thread count: 8, unprocessed jobs: 0 1498s # Pool idle thread count: 8, unprocessed jobs: 0 1499s # Pool idle thread count: 10, unprocessed jobs: 0 1499s # Pool idle thread count: 10, unprocessed jobs: 0 1499s # Pool idle thread count: 10, unprocessed jobs: 0 1499s # Pool idle thread count: 10, unprocessed jobs: 0 1500s # Pool idle thread count: 10, unprocessed jobs: 0 1500s # Pool idle thread count: 10, unprocessed jobs: 0 1500s # Pool idle thread count: 2, unprocessed jobs: 0 1500s # Pool idle thread count: 2, unprocessed jobs: 0 1501s # Pool idle thread count: 2, unprocessed jobs: 0 1501s # Pool idle thread count: 2, unprocessed jobs: 0 1501s # Pool idle thread count: 2, unprocessed jobs: 0 1501s # Pool idle thread count: 2, unprocessed jobs: 0 1502s # Pool idle thread count: 2, unprocessed jobs: 0 1502s # Pool idle thread count: 2, unprocessed jobs: 0 1502s # Pool idle thread count: 2, unprocessed jobs: 0 1502s # Pool idle thread count: 2, unprocessed jobs: 0 1503s # Pool idle thread count: 2, unprocessed jobs: 0 1503s # Pool idle thread count: 2, unprocessed jobs: 0 1503s Executing: glib/thread-pool-slow.test 1503s # Pool idle thread count: 2, unprocessed jobs: 0 1503s # Pool idle thread count: 2, unprocessed jobs: 0 1504s # Pool idle thread count: 2, unprocessed jobs: 0 1504s # Pool idle thread count: 2, unprocessed jobs: 0 1504s # Pool idle thread count: 2, unprocessed jobs: 0 1504s # Pool idle thread count: 2, unprocessed jobs: 0 1505s # Pool idle thread count: 2, unprocessed jobs: 0 1505s # Pool idle thread count: 2, unprocessed jobs: 0 1505s # Pool idle thread count: 2, unprocessed jobs: 0 1505s # Pool idle thread count: 2, unprocessed jobs: 0 1506s # Pool idle thread count: 2, unprocessed jobs: 0 1506s # Pool idle thread count: 2, unprocessed jobs: 0 1506s # Pool idle thread count: 2, unprocessed jobs: 0 1506s # Pool idle thread count: 2, unprocessed jobs: 0 1507s # Pool idle thread count: 2, unprocessed jobs: 0 1507s # Pool idle thread count: 2, unprocessed jobs: 0 1507s # Pool idle thread count: 2, unprocessed jobs: 0 1507s # Pool idle thread count: 2, unprocessed jobs: 0 1508s # Pool idle thread count: 2, unprocessed jobs: 0 1508s # Pool idle thread count: 2, unprocessed jobs: 0 1508s Executing: glib/thread-pool-slow.test 1508s # Pool idle thread count: 2, unprocessed jobs: 0 1508s # Pool idle thread count: 2, unprocessed jobs: 0 1509s ok 7 /threadpool/idle-time 1509s # slow test /threadpool/idle-time executed in 19.52 secs 1509s # End of threadpool tests 1509s PASS: glib/thread-pool-slow.test 1509s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3528 1509s autopkgtest [16:21:23]: test thread-pool-slow: -----------------------] 1509s autopkgtest [16:21:23]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1509s thread-pool-slow PASS 1510s autopkgtest [16:21:24]: test threadtests: preparing testbed 1510s Reading package lists... 1510s Building dependency tree... 1510s Reading state information... 1510s Solving dependencies... 1511s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1512s autopkgtest [16:21:26]: test threadtests: [----------------------- 1512s Running test: glib/threadtests.test 1512s TAP version 14 1512s # random seed: R02S352e348b822407041345c8df7c421043 1512s 1..5 1512s # Start of GObject tests 1512s ok 1 /GObject/threaded-object-init 1513s ok 2 /GObject/threaded-weak-ref 1513s # slow test /GObject/threaded-weak-ref executed in 0.67 secs 1513s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1513s # /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 1513s ok 3 /GObject/threaded-toggle-notify 1513s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1513s # Start of threaded-weak-ref tests 1513s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1513s # /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. 1513s ok 5 /GObject/threaded-weak-ref/on-finalization 1513s # End of threaded-weak-ref tests 1513s # End of GObject tests 1513s PASS: glib/threadtests.test 1513s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.4s; maxrss=3500 1513s autopkgtest [16:21:27]: test threadtests: -----------------------] 1514s autopkgtest [16:21:28]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1514s threadtests PASS 1514s autopkgtest [16:21:28]: test timeout: preparing testbed 1514s Reading package lists... 1514s Building dependency tree... 1514s Reading state information... 1514s Solving dependencies... 1515s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1516s autopkgtest [16:21:30]: test timeout: [----------------------- 1516s Running test: glib/timeout.test 1516s TAP version 14 1516s # random seed: R02Se4b3ea8f550e588adbab979469dd9bf9 1516s 1..5 1516s # Start of timeout tests 1516s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1518s ok 1 /timeout/seconds 1518s # slow test /timeout/seconds executed in 2.10 secs 1520s ok 2 /timeout/seconds-once 1520s # slow test /timeout/seconds-once executed in 2.10 secs 1520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1521s Executing: glib/timeout.test 1522s ok 3 /timeout/weeks-overflow 1522s # slow test /timeout/weeks-overflow executed in 2.10 secs 1522s ok 4 /timeout/far-future-ready-time 1526s Executing: glib/timeout.test 1531s Executing: glib/timeout.test 1532s ok 5 /timeout/rounding 1532s # slow test /timeout/rounding executed in 10.02 secs 1532s # End of timeout tests 1532s PASS: glib/timeout.test 1532s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2884 1533s autopkgtest [16:21:47]: test timeout: -----------------------] 1533s timeout PASS 1533s autopkgtest [16:21:47]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1533s autopkgtest [16:21:47]: test timer: preparing testbed 1533s Reading package lists... 1534s Building dependency tree... 1534s Reading state information... 1534s Solving dependencies... 1534s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1535s autopkgtest [16:21:49]: test timer: [----------------------- 1535s Running test: glib/timer.test 1535s TAP version 14 1535s # random seed: R02Sf4d7d2de66cb999b6f82eff7a6281f9d 1535s 1..10 1535s # Start of timer tests 1535s ok 1 /timer/basic 1535s ok 2 /timer/stop 1535s ok 3 /timer/continue 1535s ok 4 /timer/reset 1535s ok 5 /timer/is_active 1535s # End of timer tests 1535s # Start of timeval tests 1535s ok 6 /timeval/add 1535s ok 7 /timeval/from-iso8601 1535s ok 8 /timeval/to-iso8601 1535s # Start of to-iso8601 tests 1535s ok 9 /timeval/to-iso8601/overflow 1535s # End of to-iso8601 tests 1535s # End of timeval tests 1535s # Start of usleep tests 1535s ok 10 /usleep/with-zero-wait 1535s # End of usleep tests 1535s PASS: glib/timer.test 1535s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2892 1536s autopkgtest [16:21:50]: test timer: -----------------------] 1536s timer PASS 1536s autopkgtest [16:21:50]: test timer: - - - - - - - - - - results - - - - - - - - - - 1537s autopkgtest [16:21:51]: test 1065022-futureproofing: preparing testbed 1559s Creating nova instance adt-resolute-arm64-glib2.0-20260208-155614-juju-7f2275-prod-proposed-migration-environment-2-39506472-2474-4f81-9d6f-a5c90893f86d from image adt/ubuntu-resolute-arm64-server-20260208.img (UUID 6a90f08b-9ae6-4f9a-8b8c-98ef3fa8fe0b)... 1607s autopkgtest [16:23:01]: testbed dpkg architecture: arm64 1607s autopkgtest [16:23:01]: testbed apt version: 3.1.15 1608s autopkgtest [16:23:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1608s autopkgtest [16:23:02]: testbed release detected to be: resolute 1609s autopkgtest [16:23:03]: updating testbed package index (apt update) 1609s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 1609s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1609s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1609s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1609s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1508 kB] 1609s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.9 kB] 1609s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [164 kB] 1609s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [252 kB] 1609s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [6608 B] 1609s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [120 B] 1610s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1445 kB] 1610s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [30.6 kB] 1610s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [21.5 kB] 1610s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [672 B] 1611s Fetched 3582 kB in 1s (4450 kB/s) 1612s Reading package lists... 1613s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 1613s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1613s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1613s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1613s Reading package lists... 1614s Reading package lists... 1614s Building dependency tree... 1614s Reading state information... 1614s Calculating upgrade... 1614s The following packages will be upgraded: 1614s dpkg dpkg-dev ethtool libbsd0 libdpkg-perl libgdbm-compat4t64 libgdbm6t64 1614s libidn2-0 libnetfilter-conntrack3 libusb-1.0-0 libwrap0 shared-mime-info 1615s 12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1615s Need to get 3693 kB of archives. 1615s After this operation, 2532 kB disk space will be freed. 1615s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 dpkg arm64 1.23.5ubuntu1 [1266 kB] 1615s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 libbsd0 arm64 0.12.2-2build2 [41.9 kB] 1615s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 ethtool arm64 1:6.15-3build1 [300 kB] 1615s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 libidn2-0 arm64 2.3.8-4build1 [68.3 kB] 1615s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 shared-mime-info arm64 2.4-5build3 [471 kB] 1615s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libgdbm6t64 arm64 1.26-1build1 [36.1 kB] 1615s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libnetfilter-conntrack3 arm64 1.1.1-1 [47.3 kB] 1615s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 libusb-1.0-0 arm64 2:1.0.29-2build1 [55.2 kB] 1615s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 dpkg-dev all 1.23.5ubuntu1 [1062 kB] 1615s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libdpkg-perl all 1.23.5ubuntu1 [289 kB] 1615s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 libgdbm-compat4t64 arm64 1.26-1build1 [6650 B] 1615s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libwrap0 arm64 7.6.q-36build2 [49.1 kB] 1615s dpkg-preconfigure: unable to re-open stdin: No such file or directory 1615s Fetched 3693 kB in 1s (7247 kB/s) 1616s (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 ... 136667 files and directories currently installed.) 1616s Preparing to unpack .../dpkg_1.23.5ubuntu1_arm64.deb ... 1616s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1616s Setting up dpkg (1.23.5ubuntu1) ... 1616s (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 ... 136668 files and directories currently installed.) 1616s Preparing to unpack .../00-libbsd0_0.12.2-2build2_arm64.deb ... 1616s Unpacking libbsd0:arm64 (0.12.2-2build2) over (0.12.2-2build1) ... 1616s Preparing to unpack .../01-ethtool_1%3a6.15-3build1_arm64.deb ... 1616s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 1616s Preparing to unpack .../02-libidn2-0_2.3.8-4build1_arm64.deb ... 1616s Unpacking libidn2-0:arm64 (2.3.8-4build1) over (2.3.8-4) ... 1617s Preparing to unpack .../03-shared-mime-info_2.4-5build3_arm64.deb ... 1617s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 1617s Preparing to unpack .../04-libgdbm6t64_1.26-1build1_arm64.deb ... 1617s Unpacking libgdbm6t64:arm64 (1.26-1build1) over (1.26-1) ... 1617s Preparing to unpack .../05-libnetfilter-conntrack3_1.1.1-1_arm64.deb ... 1617s Unpacking libnetfilter-conntrack3:arm64 (1.1.1-1) over (1.1.0-1build1) ... 1617s Preparing to unpack .../06-libusb-1.0-0_2%3a1.0.29-2build1_arm64.deb ... 1617s Unpacking libusb-1.0-0:arm64 (2:1.0.29-2build1) over (2:1.0.29-2) ... 1617s Preparing to unpack .../07-dpkg-dev_1.23.5ubuntu1_all.deb ... 1617s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1617s Preparing to unpack .../08-libdpkg-perl_1.23.5ubuntu1_all.deb ... 1617s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1617s Preparing to unpack .../09-libgdbm-compat4t64_1.26-1build1_arm64.deb ... 1617s Unpacking libgdbm-compat4t64:arm64 (1.26-1build1) over (1.26-1) ... 1617s Preparing to unpack .../10-libwrap0_7.6.q-36build2_arm64.deb ... 1617s Unpacking libwrap0:arm64 (7.6.q-36build2) over (7.6.q-36build1) ... 1617s Setting up libgdbm6t64:arm64 (1.26-1build1) ... 1617s Setting up libgdbm-compat4t64:arm64 (1.26-1build1) ... 1617s Setting up libidn2-0:arm64 (2.3.8-4build1) ... 1617s Setting up libwrap0:arm64 (7.6.q-36build2) ... 1617s Setting up shared-mime-info (2.4-5build3) ... 1620s Setting up libdpkg-perl (1.23.5ubuntu1) ... 1620s Setting up libnetfilter-conntrack3:arm64 (1.1.1-1) ... 1620s Setting up libusb-1.0-0:arm64 (2:1.0.29-2build1) ... 1620s Setting up libbsd0:arm64 (0.12.2-2build2) ... 1620s Setting up ethtool (1:6.15-3build1) ... 1620s Setting up dpkg-dev (1.23.5ubuntu1) ... 1620s Processing triggers for man-db (2.13.1-1build1) ... 1621s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1622s autopkgtest [16:23:16]: upgrading testbed (apt dist-upgrade and autopurge) 1622s Reading package lists... 1622s Building dependency tree... 1622s Reading state information... 1622s Calculating upgrade... 1623s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1623s Reading package lists... 1623s Building dependency tree... 1623s Reading state information... 1623s Solving dependencies... 1624s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1624s autopkgtest [16:23:18]: rebooting testbed after setup commands that affected boot 1664s Reading package lists... 1665s Building dependency tree... 1665s Reading state information... 1665s Solving dependencies... 1665s The following NEW packages will be installed: 1665s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1665s libdconf1 1665s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1665s Need to get 140 kB of archives. 1665s After this operation, 703 kB of additional disk space will be used. 1665s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libdconf1 arm64 0.49.0-4 [40.9 kB] 1665s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 dconf-service arm64 0.49.0-4 [27.2 kB] 1665s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 dconf-gsettings-backend arm64 0.49.0-4 [22.0 kB] 1665s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 dpkg-repack all 1.54build1 [11.2 kB] 1665s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 gsettings-desktop-schemas all 50~alpha-1ubuntu1 [38.9 kB] 1665s Fetched 140 kB in 0s (4012 kB/s) 1666s Selecting previously unselected package libdconf1:arm64. 1666s (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 ... 136578 files and directories currently installed.) 1666s Preparing to unpack .../libdconf1_0.49.0-4_arm64.deb ... 1666s Unpacking libdconf1:arm64 (0.49.0-4) ... 1666s Selecting previously unselected package dconf-service. 1666s Preparing to unpack .../dconf-service_0.49.0-4_arm64.deb ... 1666s Unpacking dconf-service (0.49.0-4) ... 1666s Selecting previously unselected package dconf-gsettings-backend:arm64. 1666s Preparing to unpack .../dconf-gsettings-backend_0.49.0-4_arm64.deb ... 1666s Unpacking dconf-gsettings-backend:arm64 (0.49.0-4) ... 1666s Selecting previously unselected package dpkg-repack. 1666s Preparing to unpack .../dpkg-repack_1.54build1_all.deb ... 1666s Unpacking dpkg-repack (1.54build1) ... 1666s Selecting previously unselected package gsettings-desktop-schemas. 1666s Preparing to unpack .../gsettings-desktop-schemas_50~alpha-1ubuntu1_all.deb ... 1666s Unpacking gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 1666s Setting up dpkg-repack (1.54build1) ... 1666s Setting up libdconf1:arm64 (0.49.0-4) ... 1666s Setting up dconf-service (0.49.0-4) ... 1666s Setting up dconf-gsettings-backend:arm64 (0.49.0-4) ... 1666s Setting up gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 1666s Processing triggers for man-db (2.13.1-1build1) ... 1666s Processing triggers for libglib2.0-0t64:arm64 (2.87.2-2) ... 1666s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1673s autopkgtest [16:24:07]: test 1065022-futureproofing: [----------------------- 1673s + export DEBIAN_FRONTEND=noninteractive 1673s + n=0 1673s + failed=0 1673s + binary_package=libglib2.0-0t64 1673s + future_binary_package=libglib2.0-0xyz 1673s + pwd 1673s + srcdir=/tmp/autopkgtest.qtYyEL/build.NtZ/src 1673s + mktemp -d 1673s + tmpdir=/tmp/tmp.3osxk1DvbN 1673s + cd /tmp/tmp.3osxk1DvbN 1673s + exec 1673s + [ -e /tmp/autopkgtest.qtYyEL/build.NtZ/src/debian/tests/manual/local-1065022.sources ] 1673s + dpkg-query -W dpkg-repack 1673s dpkg-repack 1.54build1 1673s + dpkg-query -s libglib2.0-0t64 1673s Package: libglib2.0-0t64 1673s Status: install ok installed 1673s Priority: important 1673s Section: libs 1673s Installed-Size: 4805 1673s Maintainer: Ubuntu Developers 1673s Architecture: arm64 1673s Multi-Arch: same 1673s Source: glib2.0 1673s Version: 2.87.2-2 1673s Replaces: libglib2.0-0 (<< 2.80.0-7~) 1673s Provides: libgio-2.0-0 (= 2.87.2-2), libglib-2.0-0 (= 2.87.2-2), libglib2.0-0 (= 2.87.2-2), libgmodule-2.0-0 (= 2.87.2-2), libgobject-2.0-0 (= 2.87.2-2), libgthread-2.0-0 (= 2.87.2-2) 1673s 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) 1673s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1673s Suggests: low-memory-monitor 1673s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~) 1673s Description: GLib library of C routines 1673s GLib is a library containing many useful C routines for things such 1673s as trees, hashes, lists, and strings. It is a useful general-purpose 1673s C library used by projects such as GTK+, GIMP, and GNOME. 1673s . 1673s This package contains the shared libraries. 1673s Original-Maintainer: Debian GNOME Maintainers 1673s Homepage: https://gitlab.gnome.org/GNOME/glib 1673s + dpkg-query -W -f ${Version} libglib2.0-0t64 1673s + binary_version=2.87.2-2 1673s + dpkg-repack --generate libglib2.0-0t64 1673s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1673s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.hLIdz9 for libglib2.0-0t64 1673s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.hLIdz9 ." 1673s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.hLIdz9/DEBIAN/control 1673s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.hLIdz9/DEBIAN/control 1673s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.hLIdz9/DEBIAN/control 1673s + env binary_package=libglib2.0-0t64 binary_version=2.87.2-2 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.hLIdz9/DEBIAN/control 1673s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.hLIdz9 libglib2.0-0xyz.deb 1673s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1675s + dpkg-deb --info libglib2.0-0xyz.deb 1675s new Debian package, version 2.0. 1675s size 1590654 bytes: control archive=25817 bytes. 1675s 1218 bytes, 24 lines control 1675s 1152 bytes, 14 lines md5sums 1675s 1296 bytes, 44 lines * postinst #!/bin/sh 1675s 2578 bytes, 87 lines * postrm #!/bin/sh 1675s 2408 bytes, 53 lines * preinst #!/bin/sh 1675s 466 bytes, 10 lines shlibs 1675s 172758 bytes, 4531 lines symbols 1675s 172 bytes, 4 lines triggers 1675s Package: libglib2.0-0xyz 1675s Source: glib2.0 1675s Version: 2.87.2-2 1675s Architecture: arm64 1675s Maintainer: Ubuntu Developers 1675s Installed-Size: 4805 1675s 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) 1675s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1675s Suggests: low-memory-monitor 1675s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1675s Replaces: libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1675s Provides: libgio-2.0-0 (= 2.87.2-2), libglib-2.0-0 (= 2.87.2-2), libglib2.0-0 (= 2.87.2-2), libgmodule-2.0-0 (= 2.87.2-2), libgobject-2.0-0 (= 2.87.2-2), libgthread-2.0-0 (= 2.87.2-2), libglib2.0-0t64 (= 2.87.2-2) 1675s Section: libs 1675s Priority: important 1675s Multi-Arch: same 1675s Homepage: https://gitlab.gnome.org/GNOME/glib 1675s Description: GLib library of C routines 1675s GLib is a library containing many useful C routines for things such 1675s as trees, hashes, lists, and strings. It is a useful general-purpose 1675s C library used by projects such as GTK+, GIMP, and GNOME. 1675s . 1675s This package contains the shared libraries. 1675s . 1675s (Repackaged on Sun, 08 Feb 2026 16:24:08 +0000 by dpkg-repack.) 1675s + dpkg-deb --contents libglib2.0-0xyz.deb 1675s drwxr-xr-x root/root 0 2026-02-08 16:24 ./ 1675s drwxr-xr-x root/root 0 2026-02-08 16:24 ./usr/ 1675s drwxr-xr-x root/root 0 2026-02-08 16:24 ./usr/lib/ 1675s drwxr-xr-x root/root 0 2026-02-08 16:24 ./usr/lib/aarch64-linux-gnu/ 1675s drwxr-xr-x root/root 0 2026-02-08 16:24 ./usr/lib/aarch64-linux-gnu/gio/ 1675s drwxr-xr-x root/root 0 2026-02-08 16:24 ./usr/lib/aarch64-linux-gnu/gio/modules/ 1675s drwxr-xr-x root/root 0 2026-02-08 16:24 ./usr/lib/aarch64-linux-gnu/glib-2.0/ 1675s -rwxr-xr-x root/root 67952 2026-01-29 15:05 ./usr/lib/aarch64-linux-gnu/glib-2.0/gio-launch-desktop 1675s -rwxr-xr-x root/root 67952 2026-01-29 15:05 ./usr/lib/aarch64-linux-gnu/glib-2.0/gio-querymodules 1675s -rwxr-xr-x root/root 67992 2026-01-29 15:05 ./usr/lib/aarch64-linux-gnu/glib-2.0/glib-compile-schemas 1675s -rw-r--r-- root/root 2100744 2026-01-29 15:05 ./usr/lib/aarch64-linux-gnu/libgio-2.0.so.0.8702.0 1675s -rw-r--r-- root/root 1445584 2026-01-29 15:05 ./usr/lib/aarch64-linux-gnu/libglib-2.0.so.0.8702.0 1675s -rw-r--r-- root/root 67832 2026-01-29 15:05 ./usr/lib/aarch64-linux-gnu/libgmodule-2.0.so.0.8702.0 1675s -rw-r--r-- root/root 461216 2026-01-29 15:05 ./usr/lib/aarch64-linux-gnu/libgobject-2.0.so.0.8702.0 1675s -rw-r--r-- root/root 67792 2026-01-29 15:05 ./usr/lib/aarch64-linux-gnu/libgthread-2.0.so.0.8702.0 1675s drwxr-xr-x root/root 0 2026-02-08 16:24 ./usr/share/ 1675s drwxr-xr-x root/root 0 2026-02-08 16:24 ./usr/share/doc/ 1675s drwxr-xr-x root/root 0 2026-02-08 16:24 ./usr/share/doc/libglib2.0-0t64/ 1675s -rw-r--r-- root/root 261291 2026-01-19 19:18 ./usr/share/doc/libglib2.0-0t64/NEWS.gz 1675s -rw-r--r-- root/root 1703 2026-01-29 15:05 ./usr/share/doc/libglib2.0-0t64/README.Debian 1675s -rw-r--r-- root/root 3248 2026-01-19 19:18 ./usr/share/doc/libglib2.0-0t64/README.md 1675s -rw-r--r-- root/root 39855 2026-01-29 15:05 ./usr/share/doc/libglib2.0-0t64/changelog.Debian.gz 1675s -rw-r--r-- root/root 54957 2026-01-29 15:05 ./usr/share/doc/libglib2.0-0t64/copyright 1675s drwxr-xr-x root/root 0 2026-02-08 16:24 ./usr/share/glib-2.0/ 1675s drwxr-xr-x root/root 0 2026-02-08 16:24 ./usr/share/glib-2.0/schemas/ 1675s drwxr-xr-x root/root 0 2026-02-08 16:24 ./usr/share/lintian/ 1675s drwxr-xr-x root/root 0 2026-02-08 16:24 ./usr/share/lintian/overrides/ 1675s -rw-r--r-- root/root 520 2026-01-29 15:05 ./usr/share/lintian/overrides/libglib2.0-0t64 1675s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/aarch64-linux-gnu/libgio-2.0.so.0 -> libgio-2.0.so.0.8702.0 1675s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/aarch64-linux-gnu/libglib-2.0.so.0 -> libglib-2.0.so.0.8702.0 1675s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/aarch64-linux-gnu/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.8702.0 1675s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/aarch64-linux-gnu/libgobject-2.0.so.0 -> libgobject-2.0.so.0.8702.0 1675s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/aarch64-linux-gnu/libgthread-2.0.so.0 -> libgthread-2.0.so.0.8702.0 1675s + apt-get -y install ./libglib2.0-0xyz.deb dconf-gsettings-backend gsettings-desktop-schemas 1675s Reading package lists... 1675s Building dependency tree... 1675s Reading state information... 1675s dconf-gsettings-backend is already the newest version (0.49.0-4). 1675s gsettings-desktop-schemas is already the newest version (50~alpha-1ubuntu1). 1675s Solving dependencies... 1676s The following additional packages will be installed: 1676s xdg-user-dirs 1676s Suggested packages: 1676s low-memory-monitor 1676s The following packages will be REMOVED: 1676s libglib2.0-0t64 1676s The following NEW packages will be installed: 1676s libglib2.0-0xyz xdg-user-dirs 1676s 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 1676s Need to get 19.2 kB/1610 kB of archives. 1676s After this operation, 213 kB of additional disk space will be used. 1676s Get:1 /tmp/tmp.3osxk1DvbN/libglib2.0-0xyz.deb libglib2.0-0xyz arm64 2.87.2-2 [1591 kB] 1676s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 xdg-user-dirs arm64 0.19-1 [19.2 kB] 1676s Fetched 19.2 kB in 0s (608 kB/s) 1676s dpkg: libglib2.0-0t64:arm64: dependency problems, but removing anyway as you requested: 1676s udisks2 depends on libglib2.0-0t64 (>= 2.80.0). 1676s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0). 1676s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~). 1676s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0). 1676s netplan.io depends on libglib2.0-0t64 (>= 2.70.0). 1676s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0). 1676s libxmlb2:arm64 depends on libglib2.0-0t64 (>= 2.54.0). 1676s libvolume-key1:arm64 depends on libglib2.0-0t64 (>= 2.18.0). 1676s libudisks2-0:arm64 depends on libglib2.0-0t64 (>= 2.83.0). 1676s libqrtr-glib0:arm64 depends on libglib2.0-0t64 (>= 2.56). 1676s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0). 1676s libqmi-glib5:arm64 depends on libglib2.0-0t64 (>= 2.54.0). 1676s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0t64 (>= 2.38.0). 1676s libpolkit-agent-1-0:arm64 depends on libglib2.0-0t64 (>= 2.38.0). 1676s libnetplan1:arm64 depends on libglib2.0-0t64 (>= 2.76.0). 1676s libmm-glib0:arm64 depends on libglib2.0-0t64 (>= 2.62.0). 1676s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56). 1676s libmbim-glib4:arm64 depends on libglib2.0-0t64 (>= 2.56). 1676s libjson-glib-1.0-0:arm64 depends on libglib2.0-0t64 (>= 2.80.0). 1676s libjcat1:arm64 depends on libglib2.0-0t64 (>= 2.80.0). 1676s libgudev-1.0-0:arm64 depends on libglib2.0-0t64 (>= 2.80.0). 1676s libgirepository-2.0-0:arm64 depends on libglib2.0-0t64 (= 2.87.2-2). 1676s libfwupd3:arm64 depends on libglib2.0-0t64 (>= 2.80.0). 1676s libdconf1:arm64 depends on libglib2.0-0t64 (>= 2.80.0). 1676s libblockdev3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 1676s libblockdev-utils3:arm64 depends on libglib2.0-0t64 (>= 2.76.0). 1676s libblockdev-swap3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 1676s libblockdev-smart3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 1676s libblockdev-part3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 1676s libblockdev-nvme3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 1676s libblockdev-mdraid3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 1676s libblockdev-loop3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 1676s libblockdev-fs3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 1676s libblockdev-crypto3:arm64 depends on libglib2.0-0t64 (>= 2.42.2). 1676s gir1.2-glib-2.0:arm64 depends on libglib2.0-0t64 (= 2.87.2-2). 1676s fwupd depends on libglib2.0-0t64 (>= 2.83.0). 1676s dconf-service depends on libglib2.0-0t64 (>= 2.83.0). 1676s dconf-gsettings-backend:arm64 depends on libglib2.0-0t64 (>= 2.80.0). 1676s bolt depends on libglib2.0-0t64 (>= 2.80.0). 1676s 1676s (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 ... 136645 files and directories currently installed.) 1676s Removing libglib2.0-0t64:arm64 (2.87.2-2) ... 1676s Selecting previously unselected package libglib2.0-0xyz:arm64. 1676s (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 ... 136626 files and directories currently installed.) 1676s Preparing to unpack .../libglib2.0-0xyz.deb ... 1676s Unpacking libglib2.0-0xyz:arm64 (2.87.2-2) ... 1677s Selecting previously unselected package xdg-user-dirs. 1677s Preparing to unpack .../xdg-user-dirs_0.19-1_arm64.deb ... 1677s Unpacking xdg-user-dirs (0.19-1) ... 1677s Setting up xdg-user-dirs (0.19-1) ... 1677s Created symlink '/etc/systemd/user/graphical-session-pre.target.wants/xdg-user-dirs.service' → '/usr/lib/systemd/user/xdg-user-dirs.service'. 1677s Setting up libglib2.0-0xyz:arm64 (2.87.2-2) ... 1677s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1677s Processing triggers for man-db (2.13.1-1build1) ... 1677s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1677s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1677s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1677s + n=1 1677s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1677s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1677s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1677s + n=2 1677s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1677s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1677s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1677s + n=3 1677s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1677s + echo ok 3 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1677s + ok 3 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1677s ok 4 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1677s ok 5 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1677s ok 6 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1677s assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1677s + n=4 1677s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1677s + echo ok 4 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1677s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1677s + n=5 1677s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1677s + echo ok 5 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1677s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1677s + n=6 1677s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1677s + echo ok 6 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1677s + apt-get -y purge libglib2.0-0t64 1677s Reading package lists... 1678s Building dependency tree... 1678s Reading state information... 1678s Solving dependencies... 1678s The following packages will be REMOVED: 1678s libglib2.0-0t64* 1678s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1678s After this operation, 0 B of additional disk space will be used. 1679s (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 ... 136660 files and directories currently installed.) 1679s Purging configuration files for libglib2.0-0t64:arm64 (2.87.2-2) ... 1679s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1679s + n=7 1679s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1679s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1679s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1679s + n=8 1679s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1679s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1679s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1679s + n=9 1679s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1679s + echo ok 9 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1679s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1679s + n=10 1679s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1679s + echo ok 10 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1679s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1679s + n=11 1679s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1679s + echo ok 11 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1679s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1679s + n=12 1679s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1679s + echo ok 12 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1679s + apt-get -y purge libglib2.0-0xyz 1679s Reading package lists... 1679s Building dependency tree...ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1679s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1679s ok 9 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1679s ok 10 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1679s ok 11 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1679s ok 12 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1679s 1679s Reading state information... 1679s Solving dependencies... 1679s The following additional packages will be installed: 1679s libglib2.0-0t64 1679s Suggested packages: 1679s low-memory-monitor 1679s The following packages will be REMOVED: 1679s libglib2.0-0xyz* 1679s The following NEW packages will be installed: 1679s libglib2.0-0t64 1680s 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 1680s Need to get 1591 kB of archives. 1680s After this operation, 0 B of additional disk space will be used. 1680s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-0t64 arm64 2.87.2-2 [1591 kB] 1680s Fetched 1591 kB in 0s (4383 kB/s) 1680s dpkg: libglib2.0-0xyz:arm64: dependency problems, but removing anyway as you requested: 1680s udisks2 depends on libglib2.0-0t64 (>= 2.80.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s netplan.io depends on libglib2.0-0t64 (>= 2.70.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libxmlb2:arm64 depends on libglib2.0-0t64 (>= 2.54.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libvolume-key1:arm64 depends on libglib2.0-0t64 (>= 2.18.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libudisks2-0:arm64 depends on libglib2.0-0t64 (>= 2.83.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libqrtr-glib0:arm64 depends on libglib2.0-0t64 (>= 2.56); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libqmi-glib5:arm64 depends on libglib2.0-0t64 (>= 2.54.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0t64 (>= 2.38.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libpolkit-agent-1-0:arm64 depends on libglib2.0-0t64 (>= 2.38.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libnetplan1:arm64 depends on libglib2.0-0t64 (>= 2.76.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libmm-glib0:arm64 depends on libglib2.0-0t64 (>= 2.62.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libmbim-glib4:arm64 depends on libglib2.0-0t64 (>= 2.56); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libjson-glib-1.0-0:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libjcat1:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libgudev-1.0-0:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libgirepository-2.0-0:arm64 depends on libglib2.0-0t64 (= 2.87.2-2); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libfwupd3:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libdconf1:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libblockdev3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libblockdev-utils3:arm64 depends on libglib2.0-0t64 (>= 2.76.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libblockdev-swap3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libblockdev-smart3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libblockdev-part3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libblockdev-nvme3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libblockdev-mdraid3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libblockdev-loop3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libblockdev-fs3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s libblockdev-crypto3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s gir1.2-glib-2.0:arm64 depends on libglib2.0-0t64 (= 2.87.2-2); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s fwupd depends on libglib2.0-0t64 (>= 2.83.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s dconf-service depends on libglib2.0-0t64 (>= 2.83.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s dconf-gsettings-backend:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s bolt depends on libglib2.0-0t64 (>= 2.80.0); however: 1680s Package libglib2.0-0t64 is not installed. 1680s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed. 1680s 1680s (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 ... 136660 files and directories currently installed.) 1680s Removing libglib2.0-0xyz:arm64 (2.87.2-2) ... 1680s Selecting previously unselected package libglib2.0-0t64:arm64. 1680s (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 ... 136641 files and directories currently installed.) 1680s Preparing to unpack .../libglib2.0-0t64_2.87.2-2_arm64.deb ... 1680s Unpacking libglib2.0-0t64:arm64 (2.87.2-2) ... 1681s Setting up libglib2.0-0t64:arm64 (2.87.2-2) ... 1681s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1681s (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 ... 136660 files and directories currently installed.) 1681s Purging configuration files for libglib2.0-0xyz:arm64 (2.87.2-2) ... 1681s not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1681s not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1681s not ok 15 - should not have succeeded: test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1681s not ok 16 - should not have succeeded: test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1681s 1..16 1681s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1681s + n=13 1681s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1681s + echo not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1681s + failed=1 1681s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1681s + n=14 1681s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1681s + echo not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1681s + failed=1 1681s + assert_not test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1681s + n=15 1681s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1681s + echo not ok 15 - should not have succeeded: test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 1681s + failed=1 1681s + assert_not test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1681s + n=16 1681s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1681s + echo not ok 16 - should not have succeeded: test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 1681s + failed=1 1681s + echo 1..16 1681s + exit 1 1681s autopkgtest [16:24:15]: test 1065022-futureproofing: -----------------------] 1682s autopkgtest [16:24:16]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1682s 1065022-futureproofing FLAKY non-zero exit status 1 1682s autopkgtest [16:24:16]: @@@@@@@@@@@@@@@@@@@@ summary 1682s build PASS (superficial) 1682s build-static PASS (superficial) 1682s girepository-tools PASS (superficial) 1682s libgio-2.0-dev-bin PASS (superficial) 1682s libglib2.0-dev PASS (superficial) 1682s installed-tests PASS 1682s closure-refcount PASS 1682s debugcontroller PASS 1682s gdbus-server-auth PASS 1682s gdbus-threading PASS 1682s gmenumodel PASS 1682s mainloop PASS 1682s memory-monitor-dbus PASS 1682s socket PASS 1682s testfilemonitor PASS 1682s thread-pool-slow PASS 1682s threadtests PASS 1682s timeout PASS 1682s timer PASS 1682s 1065022-futureproofing FLAKY non-zero exit status 1